I know you can connect to the DBus service of gnome-session, but without a decent Internet connection at hand I can’t be of better help.
Best,
Gergely
Guys,
On Thu, Dec 1, 2016 at 3:59 AM, Göran Hasse <gorhas raditex nu> wrote:
> All right...
>
> But what if you do
>
> ssh -X remote.sys.com
> my_nice_gtk_app &
>
> On whitch desktop is this running?
>
> Gtk that interacts with the "lokal" desktop is a problem!
>
> If I do "open file" - do I then expect the lokal filesystem or
> the filesystem on the systems that the gtk app is running.
I'm looking for a simplest possible scenario - logging off from the
current local session.
No remote execution, no other special stuff.
Is there a simple solution which can be implemented?
Preferably something on the X + GTK+ (Linux).
Thank you.
>
> /gh
>
>
> Den 2016-12-01 kl. 09:53, skrev Paul Davis:
>> No, he's talking about handling notifications from a desktop environment that strongly suggest to the application that it should exit.
>>
>> On Thu, Dec 1, 2016 at 5:47 AM, Göran Hasse <gorhas raditex nu <mailto:gorhas raditex nu>> wrote:
>>
>>
>>Â Â Â You should be talking of "quit" an application. And to notice when an application (a process)
>>Â Â Â exits it is possible to know.
>>
>>Â Â Â I is always possible to make a service listen on a socket and take connections from
>>Â Â Â afar without "logging in" to the operating system.
>>
>>Â Â Â /gh
>>
>>Â Â Â Den 2016-11-30 kl. 20:47, skrev Igor Korot:
>>Â Â Â >Â Hi, ALL,
>>Â Â Â > What is the way to go to catch the logging off event in the GTK+ app?
>>Â Â Â > For both GTK+2 and GTK+3.
>>Â Â Â >
>>Â Â Â > Thank you.
>>Â Â Â > _______________________________________________
>>Â Â Â > gtk-list mailing list
>>Â Â Â > gtk-list gnome org <mailto:gtk-list gnome org>
>>Â Â Â > https://mail.gnome.org/mailman/listinfo/gtk-list <https://mail.gnome.org/mailman/listinfo/gtk-list>
>>Â Â Â >
>>
>>Â Â Â --
>>   Göran Hasse
>>Â Â Â Raditex Control AB
>>Â Â Â Boo 229
>>Â Â Â 715 91 ODENSBACKEN
>>Â Â Â http://www.rscada.se
>>Â Â Â OrgNr: 556611-8773
>>Â Â Â email: gorhas raditex nu <mailto:gorhas raditex nu>
>>Â Â Â tel: 019-450105
>>Â Â Â mob: 070-5530148
>>Â Â Â Lat:Â 59.18805083 Long: 15.50300449
>>Â Â Â URL: http://alturl.com/3e6hf
>>Â Â Â _______________________________________________
>>Â Â Â gtk-list mailing list
>>Â Â Â gtk-list gnome org <mailto:gtk-list gnome org>
>>Â Â Â https://mail.gnome.org/mailman/listinfo/gtk-list <https://mail.gnome.org/mailman/listinfo/gtk-list>
>>
>>
>
> --
> Göran Hasse
> Raditex Control AB
> Boo 229
> 715 91 ODENSBACKEN
> http://www.rscada.se
> OrgNr: 556611-8773
> email: gorhas raditex nu
> tel: 019-450105
> mob: 070-5530148
> Lat:Â 59.18805083 Long: 15.50300449
> URL: http://alturl.com/3e6hf
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> https://mail.gnome.org/mailman/listinfo/gtk-list
_______________________________________________
gtk-list mailing list
gtk-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list