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

gnome-shell can't load dropbox icon #622

Open
bf opened this issue Dec 7, 2024 · 1 comment
Open

gnome-shell can't load dropbox icon #622

bf opened this issue Dec 7, 2024 · 1 comment

Comments

@bf
Copy link

bf commented Dec 7, 2024

This is a weird edge case where gnome-shell has some extension that tries to show dropbox / spotify icons in the gnome-shell bar. And of course gnome-shell can't read the icon for dropbox because it is stored in ~/.dropbox-dist.

How do you handle such cases? Would you extend gnome-shell config, or is there a way to change dropbox config which affects gnome-shell config (hopefully this is not allowed by design of apparmor)?

Anyways, the error can be fixed by adding this to gnome-shell config:

  # dropbox icon
  owner @{HOME}/.dropbox-dist/dropbox-lnx.*/images/{,**} r,
@roddhjav
Copy link
Owner

The best solution is to ask Dropbox to learn how to write software for Linux... More seriously, gnome-shell can already read icon from a lot of common places. E.g:

  /opt/**/share/icons/{,**} r,
  /snap/*/@{uid}/**.png r,
  /usr/share/**.{png,jpg,svg} r,
  /usr/share/**/icons/{,**} r,

Adding a new rule only for Dropbox location is totally possible, but not very practical at scale. Furthermore, adding unrestricted access to hidden files to the gnome-shell profile is what we try to avoid (this profile is already quite large).

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