diff options
author | Aaron LI <aaronly.me@gmail.com> | 2016-05-02 19:49:35 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@gmail.com> | 2016-05-02 19:49:35 +0800 |
commit | bb5e8cad82ea9a3990b685229f746da0924aa8ec (patch) | |
tree | f4193ba896676ee3a8be7f280159cdbf6ab144b7 | |
parent | 24a547b72ccf504151ae24beb309e838fe193eb9 (diff) | |
download | dotfiles-bb5e8cad82ea9a3990b685229f746da0924aa8ec.tar.bz2 |
_xinitrc: move XDG_CURRENT_DESKTOP from _profile
-rw-r--r-- | _profile | 6 | ||||
-rw-r--r-- | _xinitrc | 3 |
2 files changed, 3 insertions, 6 deletions
@@ -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: # @@ -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 |