[Gambas-user] Inhibit shutdown/logout/etc if unsaved files.
Bruce Steers
bsteers4 at gmail.com
Wed Feb 22 17:01:04 CET 2023
What's your qdbusviewer command m8?
It's a complicated thing I think to integrate into each desktop type.
A case of finding what application handles shutdown for each desktop as
many have their own interface to operate systemd1.login1
Sigh.
Cheers for the link.
I'd already been to that page and tried those methods. (Not on xfce though)
Seems detailed docs and examples are rare.
Respects
BruceS
On Wed, 22 Feb 2023, 07:37 BB, <adamnt42 at gmail.com> wrote:
> Hi Bruce,
>
> Don't know if this helps, but
>
> https://arnaudr.io/2020/09/25/inhibit-suspending-the-computer-with-gtkapplication/
> has some info on using Inhibit in different session managers.
>
> Here I can set inhibit on a running app for shutdown/suspend manually
> through qdbusviewer and it seems to work but I havent tried it
> programatically.
>
> cheers
>
> bruce
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230222/18d1e542/attachment.htm>
More information about the User
mailing list