Re: Automatically refresh mounting state of the device icons on pinboard?
Laverne Schrock <[email protected]> Sat, 16 Mar 2013 17:34:16 -0500
| Newsgroups | gmane.comp.desktop.rox.user |
|---|---|
| Message-ID | <CA+CnDQW-g7XsrHe493mFezvGW1rPcuonNRLPuGR+kM6sinOxpA@mail.gmail.com> |
On Fri, Feb 8, 2013 at 7:44 AM, minhsien0330 <[email protected]> wrote: > Dear all: > I drag /media/sdb1 to pinboard, the icon (/media/sdb1) on pinboard has a > "small ball" on upper left corner which means the device /media/sdb1 is > mounted. > > If I umount /media/sdb1, the "small ball" of icon on pinboard will not > disappear unless I move the mouse over the icon. > > Do you know how to make the device icon on pinboard automatically refresh > it's mounting state? > > Thanks a lot~ > > Best Regards, > Minhsien > > There are would be many ways to go about fixing that problem. One way would be to intercept the calls to 'mount' and 'umount' so that rox-filer refreshes the mount point displays every time that 'mount' or 'umount' is called. I've attached two scripts that do just that. Simply place these in a folder that is both in your $PATH and that is before the folder containing the mount and umount binaries. Don't forget to make them executable. Notes: *I've only done light testing with these scripts; use at your own risk. *These scripts will only be of any use if the 'mount' and 'umount' commands are called by you. If they are called by any other *user, *the scripts will not work. *I'm sorry to reply to such an old email. *Is polite to reply to the mailing list, or should replies be sent to the person who posted? Regards, lverns ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ rox-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rox-users
mount
(application/octet-stream, 368 B) - not displayed
umount
(application/octet-stream, 369 B) - not displayed