View Single Post
Posts: 306 | Thanked: 566 times | Joined on Jan 2010 @ Romania
#1
once mounted the cdrom have no eject function
so:

from debian.org site i downloaded eject
for this program credits to
Copyright (C) 1994-2005 Jeff Tranter (tranter@pobox.com)
Copyright (C) 2004, 2005 Frank Lichtenheld (djpig@debian.org)

I've wrote little script for more convenience
and I add a shortcut to this
all files as .zip attachment to this post

eject program go to /usr/bin/
eject.desktop must be placed in /usr/share/applications/hildon/
eject.png must be placed in /opt/usr/share/icons/hicolor/64x64/apps/
eject.sh must be in /home/user/
eject.sudoers in /etc/sudoers.d/


after copy eject.sudoers file a command must be runed for update sudoers
as root run
Code:
update-sudoers
create a folder /media/cdrom
edit the desktop for adding eject icon ( optional )
make eject and eject.sh runnable
and reboot for update seceen's icons

BONUS first run the script will mount the cdrom

hope not forget anything ...
Attached Files
File Type: zip eject.zip (12.0 KB, 80 views)

Last edited by blue_led; 2011-11-11 at 22:45.
 

The Following 4 Users Say Thank You to blue_led For This Useful Post: