unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "David Wilson" <david@daviwil.com>
To: Vagrant Cascadian <vagrant@debian.org>,
	Jesse Gibbons <jgibbons2357@gmail.com>,
	help-guix@gnu.org
Subject: Re: Authentication prompt when changing brightness
Date: Tue, 08 Oct 2019 15:52:55 -0700	[thread overview]
Message-ID: <c686dca7-4423-485d-9917-fd7247994ebc@www.fastmail.com> (raw)
In-Reply-To: <87v9t0um2v.fsf@yucca>


On Mon, Oct 7, 2019, at 5:18 PM, Vagrant Cascadian wrote:
> 
> You have to configure the udev rule in your system configuration; using
> the rules shipped with the brightnessctl package works:
> 
>   (udev-configuration (inherit config)
> 					(rules (cons brightnessctl
> 								 (udev-configuration-rules config)))))
> 

Thank you Vagrant, that led me down the correct path!  I was able to use your suggestion plus a udev config snippet I found in Pierre Neidhardt's Guix config to get backlight controls to work:

https://gitlab.com/ambrevar/dotfiles/blob/master/.config/guix/system/default.scm#L22-30

Regarding xfce4-power-manager's inability to control the backlight, I believe that its polkit policy file has not been picked up by the polkit-service such that it doesn't end up in /etc/polkit-1/actions where it belongs.  I'm looking into submitting a patch to correct this behavior so that future Guixers aren't confounded by that issue as I was.

Thanks!

David

  reply	other threads:[~2019-10-08 22:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-07 13:25 Authentication prompt when changing brightness David Wilson
2019-10-07 15:10 ` Jesse Gibbons
2019-10-07 23:55   ` David Wilson
2019-10-08  0:18     ` Vagrant Cascadian
2019-10-08 22:52       ` David Wilson [this message]
2019-10-14 16:55         ` Maxim Cournoyer
2019-10-15 12:49           ` David Wilson

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=c686dca7-4423-485d-9917-fd7247994ebc@www.fastmail.com \
    --to=david@daviwil.com \
    --cc=help-guix@gnu.org \
    --cc=jgibbons2357@gmail.com \
    --cc=vagrant@debian.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 read-only IMAP folder(s) and NNTP newsgroup(s).