View Single Post
  #4 (permalink)  
Old 26-Nov-2006, 16:14
verxa
Guest
 
Posts: n/a
Default

Yes, it is possible.

In your home directory, you most probably have a folder called bin. In that folder create a small file (with editors xemacs, pico, or some other) called open_tray, the contents of which is the eject command. Then assign executability to the file:

chmod a+x ~/bin/open_tray

Go to home:

cd

Try to see whether the executable file works. Try both:

open_tray

./bin/open_tray

Depending on the configuration of your OS and user settings, one or both shall work.

Then on your desktop, with right button, "Create New" "Link to Application". There, in Application tab, in Command, enter

/home/albesan/bin/open_tray