icosa.gif

[] Home
henry12t.jpg Introduction
[] The Labyrinth
[] Social Media
[] Terms
[] Contact

get in shape
Hits: 81655

random hull

audio
bio
decal4linux
diet
dictionary

electronic
find-target
fixboot
halloween
home
hosting
installation
isoedit
kernel
links
nVidia
oldies
pollution
playcd
playdvd
quines
rpmsign
scite
shortcuts
social media
software
terms
the labyrinth
wine
zotero

TheNerdShow.com

Autio Play DVD with KDE

Here's how to set up xine to automatically play a DVD in KDE:

Prerequisites:

  • If you don't have Fedora Core, go on and install it.
  • Get audio working by playing with system-config-soundcard and kmix.
  • Install an accelerated video driver for your hardware.
  • If you don't have xine, enable the livna repo and get it:

su -c "rpm -ivh http://rpm.livna.org/fedora/6/i386/livna-release-6-1.noarch.rpm"
su -c "yum install xine*"

  1. In KDE Control Center - Periphals - Storage Media, click Add
  2. Click on the red X to change icon
  3. Name it `Play in Xine media player`
  4. In the left panel, click on DVD Video Disk
  5. Click the right arrow to add selection to the right panel under `display service for`
  6. In the command box, type xine --auto-play --auto-scan dvd
  7. (If that doesn't work, try xine dvd:// %u)
  8. If xine stubbornly refuses to work, try removing the ~/.xine directory.
  9. Click OK
  10. In the drop-down box next to Medium Types, select DVD Video Disk
  11. Click on Xine
  12. Hit `toggle as auto action` button

Pop in a DVD and enjoy!

Here's an eject DVD script that kills Xine and ejects the DVD.
Name it ejectdvd.sh and use your window manager to bind it to a hotkey, such as ALT - down arrow. If it doesn't work, you may have to run it with kdesu.

#/bin/bash
eject dvd
pkill xine

This page edited conveniently in Firefox and Ineternet Explorer thanks to my Anchorage Net Community Hosting project.