diff options
Diffstat (limited to 'system/plan9port/xinitrc.rio')
-rw-r--r-- | system/plan9port/xinitrc.rio | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/system/plan9port/xinitrc.rio b/system/plan9port/xinitrc.rio index 5fa29b3f386a5..e4dfba95a3278 100644 --- a/system/plan9port/xinitrc.rio +++ b/system/plan9port/xinitrc.rio @@ -12,4 +12,8 @@ sysmodmap=/etc/X11/xinit/.Xmodmap [ -f $usermodmap ] && xmodmap $usermodmap # Start the window manager: -exec rio +if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then + exec ck-launch-session rio +else + exec rio +fi |