Guide: Xfce global dark mode in Qubes 4.0 / 4.1 revisions

Go back to topic: Guide: Xfce global dark mode in Qubes 4.0 / 4.1

  1. v12 anchor; v12 full version
  2. v11 anchor; v11 full version
  3. v10 anchor; v10 full version
  4. v9 anchor; v9 full version
  5. v8 anchor; v8 full version
  6. v7 anchor; v7 full version
  7. v6 anchor; v6 full version
  8. v5 anchor; v5 full version
  9. v4 anchor; v4 full version
  10. v3 anchor; v3 full version
  11. v2 anchor; v2 full version

Revision #12

Edited on
2025-01-06
Edited by user
skyvine
- Change `Theme` in `Style` tab to `G2`, `Wallis`, or `Bluebird`. These are probably the most ›classic‹ and readable/contrasty. `Bluebird`'s borders appear more elegant, but it could be difficult to grab the window’s edges in order to resize. But feel free … - Change `Theme` in `Style` tab to `G2`, `Wallis`, or `Bluebird`. These are probably the most ›classic‹ and readable/contrasty. `Bluebird`'s borders appear more elegant, but it could be difficult to grab the window’s edges in order to resize. If you choose a different style, it is a good idea to keep at least one window from an AppVM open. Some styles don't color the title bar according to the AppVM (for example, none of the "Arc" family of themes do) and this will not be obvious if all of the open windows are Dom0.

Revision #11

Edited on
2022-12-09
Edited by user
szz9pza
**Note:** Most of the Qubes OS UI in dom0 is now Qt5 based and doesn’t adhere to the selected theme by default. This can be remedied by: **Qubes tools** Most of the Qubes OS UI in dom0 is now Qt5 based and doesn’t adhere to the selected theme by default. more info: https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications This can be remedied by: - using a native Qt style
sudo qubes-dom0-update adwaita-qt5 ``` Then add `QT_STYLE_OVERRIDE=adwaita-dark` to `/etc/environment`. Reboot. - using a theme engines ```
``` Then add `QT_QPA_PLATFORMTHEME=gtk2` to `/etc/environment`. Reboot. Done. ``` Then add `QT_QPA_PLATFORMTHEME=gtk2` to `/etc/environment`. Reboot. - add a menu option to qube manager That avoid to install anything in dom0, but it **require** to review the few lines of code being added. [qube-manager dark mode (built-in method)](https://forum.qubes-os.org/t/qube-manager-dark-mode-built-in-method/15241)

Revision #10

Edited on
2022-05-27
Edited by user
BEBF738VD
Make sure your appVMs have both `~/.config/gtk-3.0/settings.ini` and `~/gtkrc-2.0`: Make sure your appVMs have both `~/.config/gtk-3.0/settings.ini` and `~/.gtkrc-2.0`:
This work for debian-11-minimal but for debian-11 You have to uninstall `xsettingsd` or edit `~/xsettingsd` config file instead of using `~/.config/gtk-3.0/settings.ini` and `~/gtkrc-2.0`. This work for debian-11-minimal but for debian-11 You have to uninstall `xsettingsd` or edit `~/xsettingsd` config file instead of using `~/.config/gtk-3.0/settings.ini` and `~/.gtkrc-2.0`.

Revision #9

Edited on
2022-04-23
Edited by user
Szewcu
This work for debian-11-minimal but for debian-11 You may encounter some problems. Read the rest of the thread for more information. This work for debian-11-minimal but for debian-11 You have to uninstall `xsettingsd` or edit `~/xsettingsd` config file instead of using `~/.config/gtk-3.0/settings.ini` and `~/gtkrc-2.0`.

Revision #8

Edited on
2022-04-23
Edited by user
Szewcu
QT_QPA_PLATFORMTHEME=gtk2 QT_QPA_PLATFORMTHEME=gtk2

Revision #7

Edited on
2022-04-22
Edited by user
Szewcu
``` ``` `gtk-application-prefer-dark-theme=1` is not necessary, it's forces usage of dark variation of selected theme. Since we are choosing theme that is already Dark it can be omitted.
This work for debian-11-minimal but for debian-11 You may encounter some problems. Read the rest of the thread for more information.

Revision #6

Edited on
2022-04-22
Edited by user
Szewcu
gtk-icon-theme-name=Gnome gtk-icon-theme-name=gnome
gtk-icon-theme-name="Gnome" ``` gtk-icon-theme-name="gnome" ``` **Note:** The icon theme name is the name of its directory, *not* the name property in its `index.theme` . According to: [https://wiki.archlinux.org/title/GTK](https://wiki.archlinux.org/title/GTK)

Revision #5

Edited on
2022-04-21
Edited by user
deeplow
**Note:** Some panel (applet) icons, e.g., NetworkManager — see ›global‹ screenshot at the beginning of this guide —, `notification-daemon`, Joplin and Keybase, remain with white instead of dark resp. transparent backgrounds. For NetworkManager icon, see [Qubes issue #2846](https://github.com/QubesOS/qubes-issues/issues/2846).**Note:** Some panel (applet) icons, e.g., NetworkManager — see ›global‹ screenshot at the beginning of this guide —, `notification-daemon`, Joplin and Keybase, remain with white instead of dark resp. transparent backgrounds. For NetworkManager icon, see [Qubes issue #2846](https://github.com/QubesOS/qubes-issues/issues/2846). <div data-theme-toc="true"> </div>

Revision #4

Edited on
2022-04-17
Edited by user
anon81475885
*This summary is based on (and quotes) the Qubes Community [guide](https://github.com/Qubes-Community/Contents/blob/master/docs/customization/dark-theme.md), [this](https://forum.qubes-os.org/t/dark-mode-in-debian-10-vm/3855/18) and [that](https://forum.qubes-os.org/t/4-1-dark-mode-issue-solved/10472) — especially @Sven’s extensive work.* *This summary is based on (and quotes) the Qubes Community [guide](https://github.com/Qubes-Community/Contents/blob/master/docs/customization/dark-theme.md), [this](https://forum.qubes-os.org/t/dark-mode-in-debian-10-vm/3855) and [that](https://forum.qubes-os.org/t/4-1-dark-mode-issue-solved/10472) — especially @Sven’s extensive work, see also this [thread](https://forum.qubes-os.org/t/dark-theme-for-qubes-manager-not-working-in-4-1/4917).*

Revision #3

Edited on
2022-04-16
Edited by user
anon81475885
- Change `Theme` in `Style` tab to `G2` or `Bluebird`. These are probably the most ›classic‹ and readable/contrasty. `Bluebird`'s borders appear more elegant, but it could be difficult to grab the window’s edges in order to resize. But feel free … - Change `Theme` in `Style` tab to `G2`, `Wallis`, or `Bluebird`. These are probably the most ›classic‹ and readable/contrasty. `Bluebird`'s borders appear more elegant, but it could be difficult to grab the window’s edges in order to resize. But feel free …

Revision #2

Edited on
2022-04-15
Edited by user
anon81475885
**Note:** Some panel (applet) icons, e.g., NetworkManager — see ›global‹ screenshot at the beginning of this guide —, Joplin and Keybase, remain with white instead of dark resp. transparent backgrounds. For NetworkManager icon, see [Qubes issue #2846](https://github.com/QubesOS/qubes-issues/issues/2846).**Note:** Some panel (applet) icons, e.g., NetworkManager — see ›global‹ screenshot at the beginning of this guide —, `notification-daemon`, Joplin and Keybase, remain with white instead of dark resp. transparent backgrounds. For NetworkManager icon, see [Qubes issue #2846](https://github.com/QubesOS/qubes-issues/issues/2846).