IgnorantGuru / spacefm

SpaceFM File Manager
http://ignorantguru.github.com/spacefm/
GNU General Public License v3.0
489 stars 73 forks source link

Request: Mount indicators #305

Closed prodigalgvs closed 11 years ago

prodigalgvs commented 11 years ago

Not a biggie, but I find myself consistently wishing there was a way to have an indication of whether a drive has finished mounting or not; and especially whether a drive has been successfully unmounted.

Something akin to what PCmanFM or Thunar uses would be nice.

I know that one can use the "%m" Display Option, but that is a work-around IMO and not convenient to have the long mountpoint path displayed etc.

IgnorantGuru commented 11 years ago

The main indication in the file browser that a mount/unmount has completed is that the Mount task will disappear from the task list when finished. From the desktop, the 'Remove/Eject' command provides a dialog for this purpose.

In the Devices menus and side pane, %m is indeed one indication, and you can also customize the icons for mounted devices (Settings|Icon|).

If you want a dialog saying 'such-n-such was mounted to such-n-such', you can add this using Settings|Auto Run|.

Not sure you're envisioning beyond this - SpaceFM deliberately doesn't use excessive popup dialogs in favor of the task list approach.

prodigalgvs commented 11 years ago

Thanks for the help. I had a LOT of trouble getting custom icons to display at all, but finally figured it out.

For others: Do NOT add the extension to the icon name and it will work... add the ".ext" and the icon will not display.

IgnorantGuru commented 11 years ago

Replying to your earlier (deleted?) comment:

However, about the mount/unmount task list disappearing... in most cases it does not show up as a task.... or happens so quickly the eye cannot notice it.

This indicates success. If a task takes less than about one half second, it will not appear in the manager, but if an error occurs, a popup will be shown. So if you click unmount or mount and nothing appears to happen in the task manager, this indicates success (true of any command). (This behavior is documented.)

I have custom icons for mounted devices, but they do not change when unmounted so that doesn't help

The icons do change for me, so I assume this was your .ext issue. (Use an icon name - no ext - or if using an icon filename, you must include the full path. However note that using an absolute path will not enable automatic resizing of the icon, so you will need to select the correct size via the path.)

prodigalgvs commented 11 years ago

Actually it was because I had NO custom icons set when I thought I did. It is a long story :) Anyways, when I first used Spacefm I setup custom icons via symlinks ... but since had restored my system to a time prior to the custom icons ... but had changed /system/ icons and by coincidence the system icons were the same as my prior custom icons ... and I never thought different. Therefore, the icons for mounted and unmounted would be the same...

If you notice in my deleted comment, I said how great it would be if we could have different icons for mounted than unmounted ... LOL ... imagine my embarrassment when I noticed I had no custom icons, and COULD do exactly what I envisioned. So ... I deleted my comment :)

Anyways, thanks again for setting me straight. lol It works exactly like I hoped.

Gordon Van Scheik

On 13-04-19 03:16 PM, IgnorantGuru wrote:

Replying to your earlier (deleted?) comment:

However, about the mount/unmount task list disappearing... in most
cases it does not show up as a task.... or happens so quickly the
eye cannot notice it.

This indicates success. If a task takes less than about one half second, it will not appear in the manager, but if an error occurs, a popup will be shown. So if you click unmount or mount and nothing appears to happen in the task manager, this indicates success (true of any command). (This behavior is documented.)

I have custom icons for mounted devices, but they do not change
when unmounted so that doesn't help

The icons do change for me, so I assume this was your .ext issue https://github.com/IgnorantGuru/spacefm/issues/305#issuecomment-16689529. (Use an icon name - no ext - or if using an icon filename, you must include the full path. However note that using an absolute path will not enable automatic resizing of the icon, so you will need to select the correct size via the path.)

— Reply to this email directly or view it on GitHub https://github.com/IgnorantGuru/spacefm/issues/305#issuecomment-16690436.

IgnorantGuru commented 11 years ago

It would be nice to have different icons for mounted vs unmounted by default, but by default SpaceFM uses only stock gtk icons (to avoid icon theme dependencies), and there is a paucity of gtk icons to choose from. So out of the box they're the same, but I do recommend changing them. Glad you got it working.