msb/base/mate-session-manager/xinitrc.mate-session
Willy Sudiarto Raharjo 40fd77ed0a
mate-session-manager: Remove CK-based initialization.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
2020-12-10 23:16:14 +07:00

16 lines
437 B
Bash

#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
[ -f $sysresources ] && xrdb -merge $sysresources
[ -f $sysmodmap ] && xmodmap $sysmodmap
[ -f $userresources ] && xrdb -merge $userresources
[ -f $usermodmap ] && xmodmap $usermodmap
export DESKTOP_SESSION="mate"
dbus-launch --exit-with-session mate-session