You are not logged in.

#1 2012-03-08 15:58:59

hgabreu
Member
From: Brasil
Registered: 2009-10-19
Posts: 34

[SOLVED] standalone compiz & cairo-dock ck-launch-session issue

Hi all,

I use standalone compiz and cairo-dock as enviroment. And I believe I'm having an issue with ck-launch-session or dbus-launch.

For example, when I launch thunar from a compiz keyboard shortcut it works fine. But if I launch it by clicking on a cairo-dock launcher, it opens without trash-bin and my usb drives.
From what I've read so far, such problems with thunar are related to ck-launch-session/dbus-launch.

Also, the "log out" applet from cairo-dock does not work.

Ok, so I start my system with slim:
/etc/inittab

id:5:initdefault:
#... regular inittab lines
x:5:respawn:/usr/bin/slim >/dev/null 2>&1

And here is my ~/.xinitrc

xrdb -load .Xdefaults
xmodmap .Xmodmap
nitrogen --restore &
{
  sleep 4
  cairo-dock -o &
  sleep 1
  pnmixer &
} &
exec ck-launch-session dbus-launch fusion-icon

Btw, I sleep before cairo-dock so compiz have time to start and place everything correctly.

Anyone has a clue to help me?

Last edited by hgabreu (2012-03-09 13:05:30)

Offline

#2 2012-03-08 19:48:27

fabertawe
Member
From: Lloegr
Registered: 2009-11-24
Posts: 282

Re: [SOLVED] standalone compiz & cairo-dock ck-launch-session issue

I run cairo-dock and compiz from a script and call the script with ck-launch-session. That way everything in the script is covered by the same session.


Ryzen 9 5950X, X570S Aorus Pro AX, RX 6600, Arch x86_64

Offline

#3 2012-03-09 13:04:24

hgabreu
Member
From: Brasil
Registered: 2009-10-19
Posts: 34

Re: [SOLVED] standalone compiz & cairo-dock ck-launch-session issue

Thanks fabertawe, that indeed worked! smile

Just for reference, here is my setup now:
~/.xinitrc

xrdb -load .Xdefaults
xmodmap .Xmodmap

exec ck-launch-session dbus-launch ~/.startSession

~/.startSession

nitrogen --restore &
{
  sleep 4
  cairo-dock -o &
  sleep 1
  pnmixer &
} &
fusion-icon

Thanks a lot for the tip.

Offline

Board footer

Powered by FluxBB