[GH-ISSUE #1540] All qt5 progragems should whitelist common theming engines #1026

Closed
opened 2026-05-05 07:19:21 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @marcthe12 on GitHub (Sep 8, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1540

When .config is blocked, several theming engines like qt5ct and kvantum. Whitelisting these programs mean no hideous theme in programs like kate

Originally created by @marcthe12 on GitHub (Sep 8, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1540 When .config is blocked, several theming engines like qt5ct and kvantum. Whitelisting these programs mean no hideous theme in programs like kate
gitea-mirror 2026-05-05 07:19:21 -06:00
Author
Owner

@netblue30 commented on GitHub (Sep 13, 2017):

In what directories are the themes stored? By default for all whitelisted programs we enable ~/.themes and ~/.local/share/themes from /etc/firejail/whitelist-common.inc (https://github.com/netblue30/firejail/blob/master/etc/whitelist-common.inc#L33). We just have to add the new directories in that file.

<!-- gh-comment-id:329302847 --> @netblue30 commented on GitHub (Sep 13, 2017): In what directories are the themes stored? By default for all whitelisted programs we enable ~/.themes and ~/.local/share/themes from /etc/firejail/whitelist-common.inc (https://github.com/netblue30/firejail/blob/master/etc/whitelist-common.inc#L33). We just have to add the new directories in that file.
Author
Owner

@marcthe12 commented on GitHub (Sep 14, 2017):

For qt, the theming engines are located in usr/lib/qt/plugins/platformthemes. The major one are listed here
For qt5ct, its a meta theme engine, it config is in $XDG_CONFIG_HOME/qt5ct
For qtcurve, from the offical github page states the following dir.
qtc_.themerc in $KDEHOME/share/apps/kstyle/themes/ (usually ~/.kde/share/apps/kstyle/themes/) or copy to /share/apps/kstyle/themes/ (usually /usr/share/apps/kstyle/themes/)
the config is $XDG_CONFIG_HOME/qtcurve and $XDG_DATA_HOME/qtcurve
I donot have access to the computer with kvantum on it, although i think /usr/share/kvantum and ~/.config/kvantunum.
There is lxqt, breeze, adwaita-qt and oxygen.
Its probary safe to keep $XDG_CONFIG_HOME and $XDG_DATA_HOME read only

<!-- gh-comment-id:329426574 --> @marcthe12 commented on GitHub (Sep 14, 2017): For qt, the theming engines are located in usr/lib/qt/plugins/platformthemes. The major one are listed here For qt5ct, its a meta theme engine, it config is in $XDG_CONFIG_HOME/qt5ct For qtcurve, from the offical github page states the following dir. qtc_<name>.themerc in $KDEHOME/share/apps/kstyle/themes/ (usually ~/.kde/share/apps/kstyle/themes/) or copy to <kde install prefix>/share/apps/kstyle/themes/ (usually /usr/share/apps/kstyle/themes/) the config is $XDG_CONFIG_HOME/qtcurve and $XDG_DATA_HOME/qtcurve I donot have access to the computer with kvantum on it, although i think /usr/share/kvantum and ~/.config/kvantunum. There is lxqt, breeze, adwaita-qt and oxygen. Its probary safe to keep $XDG_CONFIG_HOME and $XDG_DATA_HOME read only
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#1026
No description provided.