On Monday 30 September 2013 15:06:24 you wrote:
On 09/30/2013 11:51 AM, Dan Youngquist wrote:
I'm trying to make a DVD play in vlc when
inserted. The command
line is set to 'vlc /dev/dvd', which works perfectly in XFCE, but
in trinity it results in an error box with title 'Error - KIOExec'
and contents '/media/cdrom0 is a folder, but a file was expected.'
The problem seems to be that the DVD isn't getting mounted before VLC
tries to play it. When I put in a DVD and the window pops up, if I
first double-click on the DVD's icon on the desktop to mount it and
open it in Konqueror, then go back to the window and select 'Open in
VLC', then VLC opens and plays it without the above error.
So the question becomes, (a) how do I make it (KIOExec?) mount the
DVD before VLC tries to play it? And shouldn't it already do it
right, like XFCE does?
By the way, this is on Debian Wheezy.
I get the same behavior as you do. The window that pops up has choices,
most are related to k3b, do nothing , or ope\n in new window..which
will mount it.
I will need to play around with it, later, but it this 'seems' like it
could be a mine type issue, edit mime types and put the default
behavior for the action you want ?
--
Peace,
Greg