[opensuse-xfce] [4.14] "/org/xfce/SessionManager Logout 1 true" no longer works

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? TIA, cheers. l8er manfred

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. Cheers. l8er manfred

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

Am 16.08.19 um 10:36 schrieb Manfred Hollstein:
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.
Well, if the interface is still available, it should of course work. But this is probably best asked on the upstream xfce-dev@xfce.org list, or just put as a bug into bugzilla.xfce.org -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-xfce+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-xfce+owner@opensuse.org
participants (3)
-
Manfred Hollstein
-
Maurizio Galli (MauG)
-
Stefan Seyfried