Displaying 2 results from an estimated 2 matches for "gapplic".
Did you mean:
applic
2020 Feb 05
2
[fdo] Detect my own session being closed
...other users to
use it?
About this last question: I already tried to connect to the SessionRemoved
signal from logind, but with no luck: I receive the signal when other users
close their session, but my program is killed before it can process the
signal. Also I tried to use onexit(), atexit(), and GApplication's close
signals, but also with no luck: the code isn't called (I'm using GTK, and
the program always dies with a 'broken pipe' message when the session is
closed).
Thanks in advance.
--
Nos leemos
RASTER (Linux user #228804)
raster at rastersoft.com...
2020 Feb 06
2
[fdo] Detect my own session being closed
...last question: I already tried to connect to the
> SessionRemoved signal from logind, but with no luck: I receive the
> signal when other users close their session, but my program is
> killed before it can process the signal. Also I tried to use
> onexit(), atexit(), and GApplication's close signals, but also
> with no luck: the code isn't called (I'm using GTK, and the
> program always dies with a 'broken pipe' message when the session
> is closed).
>
> Thanks in advance.
>
> --
> Nos leemos
> ? ?...