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
On Thu, Dec 1, 2016, 21:20 Igor Korot <ikorot01@xxxxxxxxx> wrote:
Guys,
On Thu, Dec 1, 2016 at 3:59 AM, Göran Hasse <gorhas@xxxxxxxxxx> 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@xxxxxxxxxx <mailto:gorhas@xxxxxxxxxx>> 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@xxxxxxxxx <mailto:gtk-list@xxxxxxxxx>
>> > 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@xxxxxxxxxx <mailto:gorhas@xxxxxxxxxx>
>> tel: 019-450105
>> mob: 070-5530148
>> Lat: 59.18805083 Long: 15.50300449
>> URL: http://alturl.com/3e6hf
>> _______________________________________________
>> gtk-list mailing list
>> gtk-list@xxxxxxxxx <mailto:gtk-list@xxxxxxxxx>
>> 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@xxxxxxxxxx
> tel: 019-450105
> mob: 070-5530148
> Lat: 59.18805083 Long: 15.50300449
> URL: http://alturl.com/3e6hf
> _______________________________________________
> gtk-list mailing list
> gtk-list@xxxxxxxxx
> https://mail.gnome.org/mailman/listinfo/gtk-list
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list