draco icon indicating copy to clipboard operation
draco copied to clipboard

Make storage devices appear on desktop when plugged in

Open probonopd opened this issue 4 years ago • 7 comments

Continuation from https://github.com/rodlie/draco/issues/33 regarding an idea on how to increase usability.

Currently, just attaching a USB storage device does not make it show up on the desktop. This is unlike the Mac, and unlike e.g., Xfce.

This is by design.

I would like to make devices appear once they are plugged in, not only after they have been mounted. I know and love this behavior since the very early days of desktop GUIs (Lisa, Mac) and suspect that many users, especially new switchers to Linux, will expect this as the "normal" behavior.

Code-wise, this might be a relatively small change since probably https://github.com/rodlie/draco/tree/master/src/storage has most if not all of the code needed.

As a fallback, would be a setting for this acceptable? (Generally I try to avoid many settings since they tend to make things complex.)

probonopd avatar May 09 '20 10:05 probonopd

I follow how it works on Windows, you have a storage manager in the tray. I'm open for discussion regarding how this "should" work.

Auto mount is not enough?

rodlie avatar May 09 '20 10:05 rodlie

Are you on IRC? Might be quicker do bounce back and forth some ideas. I am joining #draco on irc.freenode.net now. https://webchat.freenode.net/, channel #draco

probonopd avatar May 09 '20 10:05 probonopd

Actually, looking at QtFM, it seems like it can do it:

Auto mount (and open) storage/optical devices when added (not default)

Time for me to get QtFM going.

probonopd avatar May 10 '20 10:05 probonopd

Auto mounting does not require qtfm (the storage manager code from qtfm is already included in draco).

rodlie avatar May 10 '20 19:05 rodlie

Then maybe I have not understood correctly. What do I need to do so that I can plug in a USB storage device and have it appear on the desktop without further action needed from my side?

probonopd avatar May 10 '20 19:05 probonopd

"Auto mount removable devices" in general settings?

rodlie avatar May 10 '20 19:05 rodlie

Checking this box and plugging in a USB storage medium ("openSUSE..." in this test case) does NOT make the icon appear on the desktop, even though "openSUSE..." shows up in QtFM and its contents are displayed:

probonopd avatar May 10 '20 19:05 probonopd