Hi Manfred, On 8/16/19 4:36 PM, Manfred Hollstein wrote:
Moin,
On Fri, 16 Aug 2019, 10:26:24 +0200, Manfred Hollstein wrote:
Hi there,
I used to bind Ctrl-Alt-Del to run the command:
qdbus org.xfce.SessionManager /org/xfce/SessionManager Logout 1 true
which will pop up the dialog asking what to do:
Logout Reboot Shutdown ...
This doesn't work anymore on xfce-4.14 dup'ed from X11:xfce/openSUSE_Leap_15.0
Running this from a terminal prompt, I see the following:
qdbus org.xfce.SessionManager /org/xfce/SessionManager Logout 1 true Error: org.freedesktop.DBus.Error.UnknownMethod Keine derartige Schnittstelle »(null)« des Objekts im Pfad /org/xfce/SessionManager
Looking at the interface definition of /org/xfce/SessionManager using qdbusviewer however shows that there still exists a method "Logout".
Should this work? Or how can I achieve this differently?
I hate to reply to my own posts, but simply running "xfce4-session-logout" provides the exact same behaviour. The question whether the "qdbus" command is still supposed to work remains, though.
Yes xfce4-session-logout is the correct command used for the dialog. I have never used qdbus so I am not sure. However perhaps is worth mentioning that all core components of Xfce 4.14 switched to GDbus. Cheers, -- Maurizio Galli (MauG) Xfce Team https://en.opensuse.org/Portal:Xfce -- To unsubscribe, e-mail: opensuse-xfce+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-xfce+owner@opensuse.org