View previous topic :: View next topic |
Author |
Message |
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1579 Location: Adelaide/Australia
|
Posted: Sat Feb 23, 2008 3:21 am Post subject: [Solved] Looking for GUI Eject/Unmount tool |
|
|
I use Fluxbox.
I am looking for a little GUI tool that will allow me to eject USB devices, similar to the Windows little green/grey thingy in the systray.
At this stage, I am using 'gksudo -u root umount /mnt/usb/device' to 'unmount' the devices, but that gives me no feedback as to whether it succeeded or not, or as to how long the actual sync takes.
Is there a tool that does this?
Assistance greatly appreciated. _________________ ...Lyall
Last edited by lyallp on Sun Feb 24, 2008 3:25 am; edited 1 time in total |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1579 Location: Adelaide/Australia
|
Posted: Sat Feb 23, 2008 3:51 am Post subject: |
|
|
Thank you, I will have to emerge them all and give each a whack. _________________ ...Lyall |
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1579 Location: Adelaide/Australia
|
Posted: Sat Feb 23, 2008 5:13 am Post subject: |
|
|
Edit: New notes on mountapp
Could not find any mounting capability that was obvious enough to see in gkrellm
Adesklets, I could not convince the mount desklet to display anything and it seemed to insist on using the curses installer.
mountapp only allows 20 mount points, I have a few more than that, and my usb mount points are past the magic 20 - looks like I will have to fiddle with it some...
And finally, x11-plugins/wmvolman-0.9 (masked by: missing keyword) - ie, who knows what keyword it's expecting, it wont emerge. I tried ~x86.
Thanks for the web link though, I will dig further through those. There must be something out there that approaches the windows usb eject systray thingy for simplicity. _________________ ...Lyall
Last edited by lyallp on Sat Feb 23, 2008 6:26 am; edited 1 time in total |
|
Back to top |
|
|
yabbadabbadont Advocate
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Sat Feb 23, 2008 5:27 am Post subject: |
|
|
If you have entries in your /etc/fstab that include the "user" mount option, then you can configure gkrellm, through the file system builtin, to mount/umount them.
Code: | /dev/sdb1 /mnt/usb vfat user,noauto,utf8,umask=007,gid=users 0 0
/dev/hdb /mnt/cdrom udf,iso9660 user,noauto,ro 0 0
/dev/hdc /mnt/dvd udf,iso9660 user,noauto,ro 0 0
/dev/fd0 /mnt/floppy auto user,noauto 0 0
|
http://omploader.org/vZGEx
http://omploader.org/vZGEy |
|
Back to top |
|
|
NathanZachary Moderator
Joined: 30 Jan 2007 Posts: 2605
|
Posted: Sat Feb 23, 2008 7:26 am Post subject: |
|
|
The gnome-mount and gnome-volume-manager will do it, but they pull in various gnome dependencies. Considering you're using fluxbox, I'm going to assume you like a lean system. _________________ “Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio--- |
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1579 Location: Adelaide/Australia
|
Posted: Sun Feb 24, 2008 2:12 am Post subject: |
|
|
Thanks for the replies,
I do use fluxbox, but I do also have both KDE and Gnome installed.
I just like fluxbox for it's speed. Fluxbox is up and running in about 1 second, last time I looked, Gnome and KDE both took about a similar time as Windows to wind up a desktop.
I have had a renewed fiddle with gkrellm.
I turned everything off except filesystem monitoring, I have grown to like it!
After figuring out I need to start my own copy of ivman as well as a system wide copy, I only have one problem left now.
I have a couple of machines in my LAN, which are windoze.
I cannot mount them with gkrellm as I have credentials files in my /etc/fstab.
Code: | //another-pc/another-d /mnt/another-pc/d smbfs user,fmask=0770,dmask=0770,umask=0007,iocharset=iso8859-1,credentials=/etc/samba/private/auth.another-pc.userid,noauto,gid=smb,quiet 0 0 |
My problem lies in the fact I have made the credentials file readable only by root (for obvious security reasons).
I have tried making the '/bin/mount' executable setuid root, I am hesitant to make gkrellm setuid root (at this point).
Maybe I might run it as sudo root...
I am not sure how best to overcome this issue. _________________ ...Lyall |
|
Back to top |
|
|
lyallp Veteran
Joined: 15 Jul 2004 Posts: 1579 Location: Adelaide/Australia
|
Posted: Sun Feb 24, 2008 3:25 am Post subject: |
|
|
Ok, solved my mounting the samba shares with credentials.
I updated my /etc/sudoers file to allow me to execute mount, umount without a password.
I then use custom mount/unmount commands on the samba share mounts, so the mount command can read the passwords.
Works a treat.
Now, I have my auto hiding slit in fluxbox, with a list of mountable filesystems (keys, usb disks, shares) which I can click on and mount/unmount easily.
Thanks. _________________ ...Lyall |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|