mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2024-12-27 09:58:14 +01:00
40fd77ed0a
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
16 lines
437 B
Bash
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
|