Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icons on the desktop are missing #33

Closed
probonopd opened this issue May 8, 2020 · 10 comments
Closed

Icons on the desktop are missing #33

probonopd opened this issue May 8, 2020 · 10 comments

Comments

@probonopd
Copy link
Contributor

probonopd commented May 8, 2020

I am missing the icons on the desktop for my storage devices.

@probonopd
Copy link
Contributor Author

I left the default settings untouched here:

@rodlie
Copy link
Owner

rodlie commented May 8, 2020

Do not run the start-draco command from a WM.

The desktop is running, so icons should be managed. But I don't think you have a proper icon installation, or something is missing. Do you have qt5ct installed?

@probonopd
Copy link
Contributor Author

probonopd commented May 8, 2020

When I install the qt5ct package, then I get a "Qt Settings" icon on the desktop. But no hard disks, trash, etc.

Do not run the start-draco command from a WM.

So that seems to be my root issue then; hence closing here. Thanks!

@probonopd
Copy link
Contributor Author

Or does it need qtfm for that to work?

@rodlie
Copy link
Owner

rodlie commented May 8, 2020

no, qtfm is not an requirement.

@probonopd probonopd reopened this May 9, 2020
@probonopd
Copy link
Contributor Author

This is caused by Draco looking for /run/media which does not exist on Ubuntu, where this is in /media.

Workaround:

sudo ln -s /media /run/

Log out, log in again.

@probonopd
Copy link
Contributor Author

probonopd commented May 9, 2020

However, only storage devices that are already mounted are shown. Which means that just attaching a USB storage device does not make it show up on the desktop, as it (imho) should (and does do on e.g., the Mac and Xfce).

Probably https://github.com/rodlie/draco/tree/master/src/storage has most if not all of the code to make devices appear once they are plugged in, not only after they have been mounted.

@rodlie
Copy link
Owner

rodlie commented May 9, 2020

Which means that just attaching a USB storage device does not make it show up on the desktop

This is by design.

@probonopd
Copy link
Contributor Author

https://github.com/rodlie/draco/search?q=%2Frun%2Fmedia&unscoped_q=%2Frun%2Fmedia has /media and /run/media mentioned in some places but apparently not here:

QDir userMedia(QString("/run/media/%1").arg(QDir::homePath().split("/").takeLast()));

I will see if changing it here fixes this.

probonopd added a commit to probonopd/draco that referenced this issue May 9, 2020
Addresses rodlie#33 (comment).
/var/media does not exist on e.g., Ubuntu 18.04, where its equivalent is /media.
@probonopd
Copy link
Contributor Author

Closing here since the immediate bug is fixed; will open a separate (discussion) one for

Which means that just attaching a USB storage device does not make it show up on the desktop

This is by design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants