diff options
Diffstat (limited to '.xinitrc')
-rw-r--r-- | .xinitrc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.xinitrc b/.xinitrc index a147ba7..48bf79b 100644 --- a/.xinitrc +++ b/.xinitrc @@ -29,5 +29,10 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then unset f fi -# xfce -command -v startxfce4 && exec startxfce4 +# exec desktop session - KDE or XFCE +if command -v startplasma-x11 > /dev/null 2>&1; then + export DESKTOP_SESSION=plasma + exec startplasma-x11 +elif command -v startxfce4 > /dev/null 2>&1; then + exec startxfce4 +fi |