[GH-ISSUE #902] Wrong icons in Firefox when firejailed under KDE 4 #608

Closed
opened 2026-05-05 06:16:09 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @fld on GitHub (Nov 8, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/902

Using:

  • Debian 8.6
  • Firefox 49.0 (jessie-backports/debian-mozilla) (uses GTK3)
  • KDE 4 plasma-desktop
  • Widget style: Oxygen
  • Icon theme: Breeze
  • GTK2 Theme: Raleigh
  • GTK3 Theme: oxygen-gtk

A different (wrong) set of icons is used in a firejailed firefox.

To get the icons working, I had to add:
--whitelist=~/.kde/share/config/oxygenrc
--whitelist=~/.kde/share/config/kdeglobals

This also fixed "qpdfview" looking like crap when opened via firefox "Open with..."

Sidenote: I have my icon theme stored under /usr/share/icons/.... but some people might have them under ~/.kde/share/icons/..., so maybe that should be whitelisted as well?

Originally created by @fld on GitHub (Nov 8, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/902 Using: - Debian 8.6 - Firefox 49.0 (jessie-backports/debian-mozilla) (uses GTK3) - KDE 4 plasma-desktop - Widget style: Oxygen - Icon theme: Breeze - GTK2 Theme: Raleigh - GTK3 Theme: oxygen-gtk A different (wrong) set of icons is used in a firejailed firefox. To get the icons working, I had to add: `--whitelist=~/.kde/share/config/oxygenrc` `--whitelist=~/.kde/share/config/kdeglobals` This also fixed "qpdfview" looking like crap when opened via firefox "Open with..." Sidenote: I have my icon theme stored under /usr/share/icons/.... but some people might have them under ~/.kde/share/icons/..., so maybe that should be whitelisted as well?
gitea-mirror 2026-05-05 06:16:09 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@netblue30 commented on GitHub (Nov 9, 2016):

Fixed. I added them in whitelist-common.inc, so the icons will be available in all programs. I also added ~/.kde/share/icons. Thanks.

<!-- gh-comment-id:259434793 --> @netblue30 commented on GitHub (Nov 9, 2016): Fixed. I added them in whitelist-common.inc, so the icons will be available in all programs. I also added ~/.kde/share/icons. Thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#608
No description provided.