unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: Marius Bakke <marius@gnu.org>
Cc: 22952@debbugs.gnu.org
Subject: bug#22952: Backlight brightness keys in GDM and MATE require password authentication
Date: Thu, 19 Nov 2020 19:39:29 +0100	[thread overview]
Message-ID: <20201119183929.gsxe3rv5fehrwen5@pelzflorian.localdomain> (raw)
In-Reply-To: <87sg96bc5j.fsf@gnu.org>

On Wed, Nov 18, 2020 at 10:14:32PM +0100, Marius Bakke wrote:
> To work around it locally, try adding:
> 
>   (simple-service 'gsd-polkit polkit-service-type
>                   (list gnome-settings-daemon))
> 
> to the (services ...) section of your system configuration.

Thank you.  You are correct for GDM.  Adding this fixes changing the
backlight in GDM.  Perhaps the GDM service should extend the polkit
service like that.  It also does not conflict with adding a
gnome-service-type.

MATE still complains.  Without changing services, normally both on the
first log-in to MATE and on subsequent log-ins, when pressing the keys
to change the backlight, a message window still tells me that
/gnu/store/5kmmwc9q23lihpy3nv2knbvsr9qv2aln-mate-power-manager-1.24.2/sbin/mate-power-backlight-helper
needs to be authenticated as the super user; I need to enter the
password.

Only with gnome-service-type and when not removing the GDM service,
after GDM (which uses the gsd), on the first log-in to the MATE
desktop, the backlight keys do nothing at all.  When I try to log out,
it says Power Manager is not responding.  When I force the log-out
despite the Power Manager, then log back in, I again get the message
each time I press the backlight keys.

I added:

(simple-service 'mate-power-polkit polkit-service-type
                (list mate-power-manager))

It does not work.

Regards,
Florian




  reply	other threads:[~2020-11-19 18:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-08 22:50 bug#22952: MacBook2,1 brightness control requires root privileges Albin
2016-03-09 13:21 ` bug#22952: MacBook2, 1 " Ludovic Courtès
2017-04-19 22:23 ` bug#22952: Macbook2,1 " Joshua Branson
2017-04-20  8:45   ` bug#22952: Macbook2, 1 " Ludovic Courtès
2020-11-17 21:23 ` bug#22952: Backlight brightness keys in GDM and MATE require password authentication pelzflorian (Florian Pelz)
2020-11-18 21:14   ` Marius Bakke
2020-11-19 18:39     ` pelzflorian (Florian Pelz) [this message]
2022-01-04 23:46       ` bug#22952: MacBook2, 1 brightness control requires root privileges zimoun
2022-01-06 12:30         ` pelzflorian (Florian Pelz)

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201119183929.gsxe3rv5fehrwen5@pelzflorian.localdomain \
    --to=pelzflorian@pelzflorian.de \
    --cc=22952@debbugs.gnu.org \
    --cc=marius@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).