Re: Need GDBus Service file for org.gnome.Shell

2013-06-23 Thread Bazon Bloch
Hello Norman, thank you very much for your effort! Installing Arch just to reproduce an issue, wow! In order to reproduce it, I should add: This only happens when in the privacy settings no lock screen is selected and there is an automatically established network connection. I have it on two compl

Re: Need GDBus Service file for org.gnome.Shell

2013-06-22 Thread Norman L. Smith
Hello Bazon, I found I had not clearly understood the sequence of events. I re-read your earlier post of your need to restart the extension after resume. The reason the SLEEP... and RESUME... log messages did not appear is the disconnect of the signals when the extension was disabled. If you don

Re: Need GDBus Service file for org.gnome.Shell

2013-06-22 Thread Bazon Bloch
Hi Norman, now I got time to try what you proposed: const UPowerGlib = imports.gi.UPowerGlib; # in the declaration part of the extension.js this._upClient = new UPowerGlib.Client(); this._sigSleep = this._upClient.connect('notify_sleep', Lang.bind(this, function() { log("SLEEP

Re: Need GDBus Service file for org.gnome.Shell

2013-06-20 Thread Bazon Bloch
2013/6/20 Florian Müllner > On Thu, Jun 20, 2013 at 1:31 PM, Bazon Bloch wrote: > > But then is the question: > > Why doesn't it reach Gnome-Shell? > > Because it is running in a different session (and probably even under > a different UID) > Thanks, so I suppose restarting by systemd resume co

Re: Need GDBus Service file for org.gnome.Shell

2013-06-20 Thread Bazon Bloch
Thank you very much, Norman, I'll try that! :-) And concerning your next tip: 2013/6/20 Norman L. Smith > > > You may be able to attack your problem as Simon > suggests: "The correct solution is to fix the extension > so it doesn't need reloading." > > Avoid the error by changing the state of yo

Re: Need GDBus Service file for org.gnome.Shell

2013-06-20 Thread Florian Müllner
On Thu, Jun 20, 2013 at 1:31 PM, Bazon Bloch wrote: > But then is the question: > Why doesn't it reach Gnome-Shell? Because it is running in a different session (and probably even under a different UID) ___ gnome-shell-list mailing list gnome-shell-list

Re: Need GDBus Service file for org.gnome.Shell

2013-06-20 Thread Norman L. Smith
Hello Bazon, After reading this thread I became curious and poked around the suspend/resume stuff in glib. I put the following bit of code in one of my extensions and found that it worked to (1) notify of the suspend sleep and (2) notify when the resume occurred. const UPowerGlib = imports.gi.UP

Re: Need GDBus Service file for org.gnome.Shell

2013-06-20 Thread Bazon Bloch
Aha, thank you. But then is the question: Why doesn't it reach Gnome-Shell? And what can be done to make it reach Gnome-Shell? Am 20.06.2013 13:15 schrieb "Simon McVittie" < simon.mcvit...@collabora.co.uk>: > On 20/06/13 11:24, Bazon Bloch wrote: > > I got the Error: > > "GDBus.Error:org.freedes

Re: Need GDBus Service file for org.gnome.Shell

2013-06-20 Thread Simon McVittie
On 20/06/13 11:24, Bazon Bloch wrote: > I got the Error: > "GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name > org.gnome.Shell was not provided by any service files" That doesn't necessarily mean it *should* be provided by a .service file, just that something tried to communicate

Need GDBus Service file for org.gnome.Shell

2013-06-20 Thread Bazon Bloch
Hello world: SHORT VERSION: I got the Error: "GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.Shell was not provided by any service files" and indeed, in /usr/share/dbus-1/services there is no service file for org.gnome.Shell. Looking at the other files there, making s