LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-12-2014, 03:07 PM   #1
scarrs
Member
 
Registered: Sep 2013
Location: Thunder Bay, Ontario
Distribution: Slackware 14.1 x86_64
Posts: 33

Rep: Reputation: Disabled
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
 
Old 03-13-2014, 09:30 PM   #2
jon lee
Member
 
Registered: Jul 2013
Posts: 81

Rep: Reputation: Disabled
Try this
Code:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec ck-launch-session dbus-launch --exit-with-session /usr/bin/mate-session &
exec /usr/bin/cairo-dock

else
exec /usr/bin/mate-session
But I think you might also have to have an entry in /usr/share/xsessions
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Use Glx-Dock/Cairo-Dock On Ubuntu 12.04 LXer Syndicated Linux News 0 10-14-2012 11:00 AM
LXer: GLX-Dock (Cairo Dock) 2.3 Beta Gets MintMenu, Cardapio Applets, Many Other Improvements LXer Syndicated Linux News 0 01-23-2011 12:41 PM
LXer: Cairo Dock 2.0.0 is Here (Linux Dock Menu)! LXer Syndicated Linux News 0 05-12-2009 01:20 AM
LXer: Cairo-Dock - Desktop dock for openSUSE Linux LXer Syndicated Linux News 0 08-07-2008 08:20 AM
cairo-dock, gnome-dock, kiba-dock?? LinuxNewbie999 *BSD 0 04-03-2008 09:16 AM


All times are GMT -5. The time now is 01:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration