Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Send events to ACPI via dbus as a simple user?
Date: Thu, 03 May 2012 22:54:12
Message-Id: 20120503235217.200055a2@hactar.digimed.co.uk
In Reply to: [gentoo-user] Send events to ACPI via dbus as a simple user? by Ignas Anikevicius
1 On Thu, 03 May 2012 23:31:21 +0100, Ignas Anikevicius wrote:
2
3 > Is it possible to send events to the acpid daemon via dbus? What I want
4 > to do is to write some scripts, which would be executed by a window
5 > manager in X and then would trigger some event in acpid (e.g. suspend or
6 > other root requiring things).
7
8 There doesn't appear to be a connection for acpi, at least "qdbus | grep
9 -i acpi" returns nothing. Could you add a line to /etc/sudoers to allow
10 your script, or the command it needs, to be run as root without a
11 password?
12
13
14 --
15 Neil Bothwick
16
17 Do radioactive cats have 18 half-lives?

Attachments

File name MIME type
signature.asc application/pgp-signature