How do I create a cairo-dock session?
Hello all,
I am looking to create a cairo-dock session that starts from xwmconfig + startx. This session should include the mate panel at the top and NOT overwrite my current mate-session. I tried to copy/edit one of the sessions in /etc/X11/xinit and call it xinitrc.cairo-dock and it shows up in xwmconfig but does not start the cairo dock... it just launches the default mate-session. here is what my launcher looks like:
#!/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
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec ck-launch-session dbus-launch --exit-with-session mate-session
else
exec cairo-dock
fi
Dunno why it doesn't work but I sure would LOVE some help on this one.
Thanks in advance
|