diff options
author | Andrew Tkalia <anddt@yandex.ru> | 2013-06-03 12:11:34 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-06-04 00:11:31 -0500 |
commit | 671f3b1661020901c29212ffe2884bce60e24428 (patch) | |
tree | be9e99d069e785865550a702f894d7ce5ddb2bbe /desktop/ede/xinitrc.ede | |
parent | ad03b2d2613fda52673928db6a14216ec81788b2 (diff) | |
download | slackbuilds-671f3b1661020901c29212ffe2884bce60e24428.tar.gz |
desktop/ede: Added (Equinox Desktop Environment)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/ede/xinitrc.ede')
-rw-r--r-- | desktop/ede/xinitrc.ede | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/desktop/ede/xinitrc.ede b/desktop/ede/xinitrc.ede new file mode 100644 index 0000000000..1b0abda421 --- /dev/null +++ b/desktop/ede/xinitrc.ede @@ -0,0 +1,32 @@ +#!/bin/sh + +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap + +# merge in defaults and keymaps + +if [ -f $sysresources ]; then + xrdb -merge $sysresources +fi + +if [ -f $sysmodmap ]; then + xmodmap $sysmodmap +fi + +if [ -f $userresources ]; then + xrdb -merge $userresources +fi + +if [ -f $usermodmap ]; then + xmodmap $usermodmap +fi + +# Start the window manager: +if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then + exec ck-launch-session dbus-launch --exit-with-session /usr/bin/startede +else + exec /usr/bin/startede +fi + |