Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: ding@gnus.org
Cc: "Björn Bidar" <bjorn.bidar@thaodan.de>
Subject: Re: gnus-dbus-close-on-sleep  does not close servers
Date: Sun, 29 Sep 2024 19:53:53 +0200	[thread overview]
Message-ID: <87msjqbb2m.fsf@gmx.de> (raw)
In-Reply-To: <874j5yu323.fsf@> (=?utf-8?Q?=22Bj=C3=B6rn?= Bidar"'s message of "Sun, 29 Sep 2024 14:12:04 +0300")

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".

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.

Best regards, Michael.


  reply	other threads:[~2024-09-30  4:30 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 [this message]
2024-09-30  7:58       ` Björn Bidar
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=87msjqbb2m.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=bjorn.bidar@thaodan.de \
    --cc=ding@gnus.org \
    /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).