From: "Björn Bidar" <bjorn.bidar@thaodan.de>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: ding@gnus.org
Subject: Re: gnus-dbus-close-on-sleep does not close servers
Date: Mon, 30 Sep 2024 10:58:07 +0300 [thread overview]
Message-ID: <87plolshdc.fsf@> (raw)
In-Reply-To: <87msjqbb2m.fsf@gmx.de> (Michael Albinus's message of "Sun, 29 Sep 2024 19:53:53 +0200")
Michael Albinus <michael.albinus@gmx.de> writes:
> Björn Bidar <bjorn.bidar@thaodan.de> writes:
>
> Hi Björn,
>
>>> What is the value of gnus-dbus-sleep-registration-object after
>>> starting gnus?
>>
>> The value is:
>> ((:signal :system "org.freedesktop.login1.Manager" "PrepareForSleep")
>> ("org.freedesktop.login1" "/org/freedesktop/login1"
>> gnus-dbus-sleep-handler))
>
> This looks proper.
>
> Please evaluate (dbus-list-known-names :system) - it must contain the
> service "org.freedesktop.login1".
$ (dbus-list-known-names :system)
("org.freedesktop.DBus" "org.freedesktop.systemd1"
"org.fedoraproject.FirewallD1" "org.freedesktop.ModemManager1"
"org.freedesktop.NetworkManager" "net.hadess.PowerProfiles"
"org.freedesktop.RealtimeKit1" "org.freedesktop.machine1"
"org.freedesktop.PolicyKit1" "org.bluez"
"com.redhat.NewPrinterNotification" "org.freedesktop.Avahi"
"org.freedesktop.UDisks2" "fi.w1.wpa_supplicant1"
"org.freedesktop.fwupd" "org.freedesktop.GeoClue2"
"org.freedesktop.login1" "org.freedesktop.DisplayManager"
"org.freedesktop.UPower" "org.freedesktop.UPower.PowerProfiles")
>
> Instrument gnus-dbus-sleep-handler, for example by
> (trace-function-background 'gnus-dbus-sleep-handler)
>
> Send your system to sleep. After it wakes up, Emacs shall have a buffer
> *trace-output* which shows the calls of gnus-dbus-sleep-handler.
Here's the output:
======================================================================
1 -> (gnus-dbus-sleep-handler t)
1 <- gnus-dbus-sleep-handler: nil
======================================================================
1 -> (gnus-dbus-sleep-handler nil)
1 <- gnus-dbus-sleep-handler: nil
Thank you.
Best Regards,
Björn
next prev parent reply other threads:[~2024-09-30 7:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <877cax5f1p.fsf@gmx.de>
2024-09-26 11:51 ` Björn Bidar
2024-09-29 11:12 ` Björn Bidar
2024-09-29 17:53 ` Michael Albinus
2024-09-30 7:58 ` Björn Bidar [this message]
2024-09-30 9:14 ` Michael Albinus
[not found] <20233.3430688427$1727351570@news.gmane.org>
2024-10-01 9:53 ` James Thomas
2024-10-01 20:42 ` Björn Bidar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87plolshdc.fsf@ \
--to=bjorn.bidar@thaodan.de \
--cc=ding@gnus.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).