aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_profile6
-rw-r--r--_xinitrc3
2 files changed, 3 insertions, 6 deletions
diff --git a/_profile b/_profile
index 40042d9..a89a3ba 100644
--- a/_profile
+++ b/_profile
@@ -63,10 +63,4 @@ export OSFONTDIR="/usr/local/share/fonts;$HOME/.fonts"
export XAPIAN_CJK_NGRAM=1
-### Qt
-# Qt5 applications may missing icons etc. when running in DEs other than
-# KDE or GNOME.
-export XDG_CURRENT_DESKTOP=KDE
-
-
# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=sh: #
diff --git a/_xinitrc b/_xinitrc
index 018562e..fcac6a2 100644
--- a/_xinitrc
+++ b/_xinitrc
@@ -1,3 +1,4 @@
+# -*- mode: sh; -*-
#
# ~/.xinitrc
#
@@ -35,6 +36,8 @@ case "${session}" in
xfce|xfce4)
exec dbus-launch --exit-with-session startxfce4;;
openbox)
+ # Fix Qt5 application appearance when not running under KDE
+ export XDG_CURRENT_DESKTOP=KDE
exec dbus-launch --exit-with-session openbox-session;;
*)
echo "ERROR: unknown session" >/dev/stderr