Problems with shutdown and logout on Custom DE

Forum rules
Before you post please read how to get help
banchev
Level 1
Level 1
Posts: 2
Joined: Mon Feb 17, 2014 6:47 pm

Problems with shutdown and logout on Custom DE

Postby banchev » Mon Feb 17, 2014 7:01 pm

Hi there! Im trying to build a custom Desktop consisting of mate-panel, Docky, Cajo and Kwin. Its working ok so far, but I can neither log out or shut down using the mate-panel. Ive done a lot of googleing which suggested running a session-manager with it, but running cinnamon-session alongside didnt help either. If its of any interest, gksudo applications like synaptic will not start using to panel too.
Heres my init-script:

Code: Select all

#!/bin/bash
#cinnamon-session --session=mydesktop &
mate-panel &
docky &
caja --no-default-window &
mate-settings-daemon &
gnome-keyring-daemon &
exec kwin

Can someone help me with this? Thanks in advance!

banchev
Level 1
Level 1
Posts: 2
Joined: Mon Feb 17, 2014 6:47 pm

Re: Problems with shutdown and logout on Custom DE

Postby banchev » Thu Feb 20, 2014 1:11 pm

ok, got it kind of figured out:
mate-panel calls for shutdown and stuff via Dbus-Message to org.mate.SessionManager, which doesnt exist because i dont want to use mate-session (not really cusomizable). cinnamon-session-quit --logout works fine, as long as cinnamon-session is running as the main process (exec cinnamon-session as a last line of the initialization script). So the new question is:

is there some way to make mate-panels shutdown/logout/lockscreen buttons run a shell script instead of sending dbus messages?


Return to “Others”

Who is online

Users browsing this forum: No registered users and 3 guests