diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2010-12-20 20:54:54 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-12-20 20:54:54 -0600 |
commit | 2c80188af4bfc6dfd814be3d24dd99bfa56a96f3 (patch) | |
tree | fb43ae5c23431546d54b044cd7151ab145e5de1f | |
parent | 86abf5e435261720ad15bdf57c6fdea304416b40 (diff) |
desktop/matchbox-window-manager: Poke consolekit in xinitrc
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | desktop/matchbox-window-manager/matchbox-window-manager.SlackBuild | 4 | ||||
-rw-r--r-- | desktop/matchbox-window-manager/xinitrc.matchbox | 13 |
2 files changed, 10 insertions, 7 deletions
diff --git a/desktop/matchbox-window-manager/matchbox-window-manager.SlackBuild b/desktop/matchbox-window-manager/matchbox-window-manager.SlackBuild index 8120c916ec112..f56a2c80b9932 100644 --- a/desktop/matchbox-window-manager/matchbox-window-manager.SlackBuild +++ b/desktop/matchbox-window-manager/matchbox-window-manager.SlackBuild @@ -24,15 +24,13 @@ PRGNAM=matchbox-window-manager VERSION=1.1 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi diff --git a/desktop/matchbox-window-manager/xinitrc.matchbox b/desktop/matchbox-window-manager/xinitrc.matchbox index 64c2ea46ed3ca..be55eda85ef49 100644 --- a/desktop/matchbox-window-manager/xinitrc.matchbox +++ b/desktop/matchbox-window-manager/xinitrc.matchbox @@ -2,8 +2,8 @@ userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap -sysresources=/usr/lib/X11/xinit/.Xresources -sysmodmap=/usr/lib/X11/xinit/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap # Merge in defaults and keymaps [ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources @@ -12,9 +12,14 @@ sysmodmap=/usr/lib/X11/xinit/.Xmodmap [ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap # Start Matchbox -if [ -x /usr/bin/matchbox-session ]; then - matchbox-session +if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then + if [ -x /usr/bin/matchbox-session ]; then + ck-launch-session matchbox-session + else + matchbox-session + fi else xterm & matchbox-window-manager fi + |