unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Vagrant Cascadian <vagrant@debian.org>
To: David Wilson <david@daviwil.com>,
	Jesse Gibbons <jgibbons2357@gmail.com>,
	help-guix@gnu.org
Subject: Re: Authentication prompt when changing brightness
Date: Mon, 07 Oct 2019 17:18:00 -0700	[thread overview]
Message-ID: <87v9t0um2v.fsf@yucca> (raw)
In-Reply-To: <24779408-8d9e-4492-bbf3-5fd82c475a4f@www.fastmail.com>

[-- Attachment #1: Type: text/plain, Size: 790 bytes --]

On 2019-10-07, David Wilson wrote:
> Should I be able to use "brightnessctl" without sudo if I'm in the
> "video" group?  Looks like I'm not able to:
>
> ---
> λ brightnessctl set 200
> Can't modify brightness: Permission denied
>
> You should run this program with root privileges.
> Alternatively, get write permissions for device files.

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)))))

Which I pretty much took straight from the udev rule for android devices
in the manual:

  https://guix.gnu.org/manual/en/html_node/Base-Services.html


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  reply	other threads:[~2019-10-08  0:18 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 [this message]
2019-10-08 22:52       ` David Wilson
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=87v9t0um2v.fsf@yucca \
    --to=vagrant@debian.org \
    --cc=david@daviwil.com \
    --cc=help-guix@gnu.org \
    --cc=jgibbons2357@gmail.com \
    /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).