Re: Disk Eject with gnome drivemount applet



On Thu, Jul 16, 1998 at 10:41:51PM +0200, Bruno Widmann wrote:
> i added a right click entry with calls the "eject" program from the
> drivemount applet.
> (e.g. "eject /dev/scd0" for /cdrom)
> 
> It works fine for me, but please someone check it out and have a look if
> it works for you.
> 
> I'm using debian at the Moment,  hope that this "eject" Program is
> available on redhat, suse, etc...

you could check for eject program in PATH on startup .. if not found then
it would not display the menuitem ...

George

-- 
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
  The following implements RSA in perl and is illegal to export from the US:

          #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
          $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
          lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]