Package: xfce4-session
Version: 4.10.1-8
Tags: patch

Qt5 selects a theme according to the value of XDG_CURRENT_DESKTOP. With this
unset, Qt5 apps use its default theme, ignoring local configuration. If I set
it to "XFCE", they use a GTK+-like theme which fits in with the rest of the
desktop (well, almost – there's a bug in Qt5's font rendering).

See also https://forum.manjaro.org/index.php?topic=13728

--- /etc/xdg/xfce4/xinitrc~     2013-10-09 20:19:27.000000000 +0100
+++ /etc/xdg/xfce4/xinitrc      2014-10-17 15:53:14.879028905 +0100
@@ -22,6 +22,12 @@
   export DESKTOP_SESSION
 fi
 
+# set XDG_CURRENT_DESKTOP
+if test "x$XDG_CURRENT_DESKTOP" = "x"; then
+  XDG_CURRENT_DESKTOP="XFCE"
+  export XDG_CURRENT_DESKTOP
+fi
+
 # $XDG_CONFIG_HOME defines the base directory relative to which user specific
 # configuration files should be stored. If $XDG_CONFIG_HOME is either not set
 # or empty, a default equal to $HOME/.config should be used.


-- 
|  _  | Darren Salt, using Debian GNU/Linux (and Android)
| ( ) |
|  X  | ASCII Ribbon campaign against HTML e-mail
| / \ | http://www.asciiribbon.org/


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to