Bug#755140: Fails to shutdown or logout without gnome-shell

Joachim Breitner nomeata at debian.org
Fri Jul 18 13:34:13 UTC 2014


Hi,

Am Freitag, den 18.07.2014, 14:57 +0200 schrieb Andreas Henriksson:
> On Fri, Jul 18, 2014 at 02:44:14PM +0200, Joachim Breitner wrote:
> > Hi,
> > 
> > I tried to come up with a python script to answer these requests, but
> > it’s bound to fail: gnome-session refuses to talk to anything but the
> > real gnome-shell (note the SHELL_NAME):
> [...]
> 
> And the "real" gnome-shell is whoever listens to "org.gnome.Shell"....
> 
> Sorry, I fail to see the problem here. Why can't you implement
> "org.gnome.Shell" ?
> Wasn't that the excercise all the time? To reimplement the Shell dbus api?

maybe, but I was under the impression that a clean interface would not
address a specific object name, but tries to find a counterpart via a
general interface, i.e. via:
define SHELL_END_SESSION_DIALOG_PATH      "/org/gnome/SessionManager/EndSessionDialog"
define SHELL_END_SESSION_DIALOG_INTERFACE "org.gnome.SessionManager.EndSessionDialog"

I would expect putting an object on the bus pretending to be gnome-shell
(but not implementing _all_ its interfaces) will cause other unexpected
behavior.

It might work as a work-around but it’d be quite an ugly hack.

(Another is "killall gnome-session; killall gnome-session" to log
out...)

Greetings,
Joachim


-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: F0FBF51F
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20140718/4c48db2d/attachment.sig>


More information about the pkg-gnome-maintainers mailing list