From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: Re: Authentication prompt when changing brightness Date: Mon, 14 Oct 2019 12:55:12 -0400 Message-ID: <87o8yjp8r3.fsf@gmail.com> References: <13132643d82bde48dd478da310fbc2f627b27d77.camel@gmail.com> <24779408-8d9e-4492-bbf3-5fd82c475a4f@www.fastmail.com> <87v9t0um2v.fsf@yucca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44796) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iK3cr-0001lM-V4 for help-guix@gnu.org; Mon, 14 Oct 2019 12:55:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iK3cq-0003mQ-D5 for help-guix@gnu.org; Mon, 14 Oct 2019 12:55:17 -0400 Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:41412) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iK3cq-0003m3-9K for help-guix@gnu.org; Mon, 14 Oct 2019 12:55:16 -0400 Received: by mail-qk1-x72d.google.com with SMTP id p10so16478540qkg.8 for ; Mon, 14 Oct 2019 09:55:16 -0700 (PDT) In-Reply-To: (David Wilson's message of "Tue, 08 Oct 2019 15:52:55 -0700") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: David Wilson Cc: Vagrant Cascadian , help-guix@gnu.org, Jesse Gibbons "David Wilson" writes: > 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 Thanks for looking into it, David! Maxim