From bb5e8cad82ea9a3990b685229f746da0924aa8ec Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 2 May 2016 19:49:35 +0800 Subject: _xinitrc: move XDG_CURRENT_DESKTOP from _profile --- _xinitrc | 3 +++ 1 file changed, 3 insertions(+) (limited to '_xinitrc') 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 -- cgit v1.2.2