Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[Solved] Looking for GUI Eject/Unmount tool

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
lyallp
Veteran
Veteran
User avatar
Posts: 1655
Joined: Thu Jul 15, 2004 12:07 am
Location: Adelaide/Australia
Contact:
Contact lyallp
Website

[Solved] Looking for GUI Eject/Unmount tool

  • Quote

Post by lyallp » Sat Feb 23, 2008 3:21 am

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.
Last edited by lyallp on Sun Feb 24, 2008 3:25 am, edited 1 time in total.
...Lyall
Top
yabbadabbadont
Advocate
Advocate
User avatar
Posts: 4791
Joined: Fri Mar 14, 2003 12:02 am
Location: 2 exits past crazy

  • Quote

Post by yabbadabbadont » Sat Feb 23, 2008 3:44 am

Gkrellm can do this if you already use it.
Adesklets has a desklet that can do this.
mountapp is a classic window maker applet.
wmvolman is also a window maker applet and its description is "a dockapp that displays and (un)mounts hotplug devices and removable media."

Edit: there are more, but those are all in portage.

See also:
http://dockapps.org/file.php/id/274
http://dockapps.org/file.php/id/260
http://dockapps.org/file.php/id/237
http://dockapps.org/file.php/id/231
Top
lyallp
Veteran
Veteran
User avatar
Posts: 1655
Joined: Thu Jul 15, 2004 12:07 am
Location: Adelaide/Australia
Contact:
Contact lyallp
Website

  • Quote

Post by lyallp » Sat Feb 23, 2008 3:51 am

Thank you, I will have to emerge them all and give each a whack.
...Lyall
Top
lyallp
Veteran
Veteran
User avatar
Posts: 1655
Joined: Thu Jul 15, 2004 12:07 am
Location: Adelaide/Australia
Contact:
Contact lyallp
Website

  • Quote

Post by lyallp » Sat Feb 23, 2008 5:13 am

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.
Last edited by lyallp on Sat Feb 23, 2008 6:26 am, edited 1 time in total.
...Lyall
Top
yabbadabbadont
Advocate
Advocate
User avatar
Posts: 4791
Joined: Fri Mar 14, 2003 12:02 am
Location: 2 exits past crazy

  • Quote

Post by yabbadabbadont » Sat Feb 23, 2008 5:27 am

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: Select all

/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
Top
NathanZachary
Bodhisattva
Bodhisattva
User avatar
Posts: 2627
Joined: Tue Jan 30, 2007 1:50 am

  • Quote

Post by NathanZachary » Sat Feb 23, 2008 7:26 am

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---
Top
lyallp
Veteran
Veteran
User avatar
Posts: 1655
Joined: Thu Jul 15, 2004 12:07 am
Location: Adelaide/Australia
Contact:
Contact lyallp
Website

  • Quote

Post by lyallp » Sun Feb 24, 2008 2:12 am

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: Select all

//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
Top
lyallp
Veteran
Veteran
User avatar
Posts: 1655
Joined: Thu Jul 15, 2004 12:07 am
Location: Adelaide/Australia
Contact:
Contact lyallp
Website

  • Quote

Post by lyallp » Sun Feb 24, 2008 3:25 am

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
Top
Post Reply

8 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic