Latest LQ Deal: Linux Power User Bundle
Go Back > Blogs > w322
User Name


Rate this Entry

First Blog Post

Posted 02-20-2006 at 08:32 PM by w322

Hi, This is my first blog posting. I plan to post solutions to problems I have run into and found solutions for.

Today's problem is autoplay of DVDs in kubuntu 5.10. On my laptop (IBM Thinkpad T20) when I inserted a DVD, several boxes popped-up: konqueror, kaffine, and some error message boxes. One error message box said something like "/media/cdrom0 is a folder, but a file was expected". Also, kaffine would not play the DVD.
After quite a bit of research I found (1) konqueror is opened by ivman, (2) kaffine is opened by kde and (3) I think the error messages were caused by the location passed to kaffine (it didn't like it).

My main goal was to get the DVD to start automatically, so I didn't want konqueror to open.

To stop ivman from opening konqueror I commented out the "open konqueror" section in /etc/ivman/IvmConfigActions.xml.

Next, to play the DVD, I used xine instead of kaffine. I set it up as follows:

1. select System Settings > Storage Media
2. select medium type DVD Video Disk
3. click Add
4. select medium type DVD Video Disk and click to move under "Display service for"
5. change name to Xine
6. change command to:
xine --auto-play=fh dvd:/ #%u

The --auto-play=fh parameter starts xine fullscreen and hides the controls (press g to make the controls reappear).
You would think xine --auto-play=fh would work but it didn't, neither did xine --auto-play=fh %u or xine --auto-play=fh dvd:/
Apparently xine did not like the location passed to it.

After these changes Xine plays a DVD full screen right after it is inserted. Nothing to click, no buttons to press, it just starts playing!
Posted in Uncategorized
Views 481 Comments 0
« Prev     Main     Next »


All times are GMT -5. The time now is 06:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration