Amnon82
15th August 2006, 15:35
K. Most people doing stuff with Windows. I'm know on Linux. I choosed Ubuntu 6.06 LTS. This system will be supported for 5 years. So it is a good base to start things in Linux.
The first thing I hated was, that Xine playes only the DVD from the drive where '/dev/dvd' is linked on.
AutoXine is born. Since Gnome uses HAL for autoplaying DVDs it is a good option to place my tool into it. It is realy simple.
AutoXine 0.01.1 for Ubuntu 6.06 by Amnon82
What does AutoXine?
It's simple. As everybody know. Xine uses '/dev/dvd' as default dvd-drive.
AutoXine get rid of that. The Gnome-Desktop supports throuh HAL a autostart feature
for VIDEO-DVDs. Now you can use AutoXine to start Xine in fullscreen with the
DVD you just put in in your drive. It dosn't matter if it is linked with '/dev/dvd'.
How to setup AutoXine?
Save it into a folder where you have write access.
Go to 'System' > 'Preferences' > 'Removable Drives and Media'
Go to the 'Multimedia'-Tab.
Click on 'Browse' at 'Video DVD Discs' and search for AutoXine.
Example: '/home/programs/autoxine/AutoXine'
Click on 'OK'.
On next time when you put in a DVD AutoXine will do the rest.
History:
0.01.1 - 15.08.06
* log-feature added
0.01 - 15.08.06
* inital release for Ubuntu 6.06 386
* scanning for 'cdrom', 'cdrecorder', 'dvdrom' and 'dvdrecorder' in '/media'
(C) 2006 AMSOFT
p.s. 'xine --auto-play=fh dvd://%m' will do the same, but you won't have a nice log ;)
Download link (http://www.megaupload.com/?d=0M8J22S4)
Extratip:
Normaly the drives are locked in Ubuntu, when you mounted a disc. To get the windows-feeling for unmounting them by using the eject button of your drive, you can unlock them. To unlock it on the fly open Terminal and type
sudo sysctl dev.cdrom.lock=0
Now your cd/dvd can be ejected by simply clicking on the eject button but if you restart it will no longer be available, to make it permenant, then type
sudo sh -c 'echo "dev.cdrom.lock=0" >> /etc/sysctl.conf'
If your drive is not cdrom go to '/dev' and take a look what devices you have. Edit the command if needed.
The first thing I hated was, that Xine playes only the DVD from the drive where '/dev/dvd' is linked on.
AutoXine is born. Since Gnome uses HAL for autoplaying DVDs it is a good option to place my tool into it. It is realy simple.
AutoXine 0.01.1 for Ubuntu 6.06 by Amnon82
What does AutoXine?
It's simple. As everybody know. Xine uses '/dev/dvd' as default dvd-drive.
AutoXine get rid of that. The Gnome-Desktop supports throuh HAL a autostart feature
for VIDEO-DVDs. Now you can use AutoXine to start Xine in fullscreen with the
DVD you just put in in your drive. It dosn't matter if it is linked with '/dev/dvd'.
How to setup AutoXine?
Save it into a folder where you have write access.
Go to 'System' > 'Preferences' > 'Removable Drives and Media'
Go to the 'Multimedia'-Tab.
Click on 'Browse' at 'Video DVD Discs' and search for AutoXine.
Example: '/home/programs/autoxine/AutoXine'
Click on 'OK'.
On next time when you put in a DVD AutoXine will do the rest.
History:
0.01.1 - 15.08.06
* log-feature added
0.01 - 15.08.06
* inital release for Ubuntu 6.06 386
* scanning for 'cdrom', 'cdrecorder', 'dvdrom' and 'dvdrecorder' in '/media'
(C) 2006 AMSOFT
p.s. 'xine --auto-play=fh dvd://%m' will do the same, but you won't have a nice log ;)
Download link (http://www.megaupload.com/?d=0M8J22S4)
Extratip:
Normaly the drives are locked in Ubuntu, when you mounted a disc. To get the windows-feeling for unmounting them by using the eject button of your drive, you can unlock them. To unlock it on the fly open Terminal and type
sudo sysctl dev.cdrom.lock=0
Now your cd/dvd can be ejected by simply clicking on the eject button but if you restart it will no longer be available, to make it permenant, then type
sudo sh -c 'echo "dev.cdrom.lock=0" >> /etc/sysctl.conf'
If your drive is not cdrom go to '/dev' and take a look what devices you have. Edit the command if needed.