Warning: Undefined array key "action" in /home/bakers/html/entryreply.php on line 5

Warning: Undefined variable $output in /home/bakers/html/entryreply.php on line 50

Warning: Undefined array key "EntrySubject" in /home/bakers/html/entryreply.php on line 51

Warning: Undefined variable $logintext in /home/bakers/html/entryreply.php on line 97

Warning: Undefined variable $reply_name in /home/bakers/html/entryreply.php on line 103

Warning: Undefined variable $reply_email in /home/bakers/html/entryreply.php on line 104
Perturb.org - interesting technology related things from around the internet

Getting KDE to autoplay DVDs

I finally figured out how to get KDE to launch Xine when you pop in a video DVD. Create a new action for DVD Video Disk and call it something like Play DVD. For the launch command (this is the tricky part) use something the following:

xine dvd://1 #%u It seems that KDE passes the mount url to the command regardless. You'll get errors like "KIOExec error, /media/cdrom is a folder, but a file was expected." So you fake it out by putting the url (%u) after the #. So it basically runs the Xine command and then a comment: the URL. Sort of a hack, but it works great.


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 3.227.235.216
To prevent spam please submit by clicking the kitten: