Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: User
Re: Send events to ACPI via dbus as a simple user?
 

Index | Next | Previous | View Flat


neil at digimed

May 3, 2012, 3:52 PM


Views: 111
Permalink
Re: Send events to ACPI via dbus as a simple user? [In reply to]

On Thu, 03 May 2012 23:31:21 +0100, Ignas Anikevicius wrote:

> Is it possible to send events to the acpid daemon via dbus? What I want
> to do is to write some scripts, which would be executed by a window
> manager in X and then would trigger some event in acpid (e.g. suspend or
> other root requiring things).

There doesn't appear to be a connection for acpi, at least "qdbus | grep
-i acpi" returns nothing. Could you add a line to /etc/sudoers to allow
your script, or the command it needs, to be run as root without a
password?


--
Neil Bothwick

Do radioactive cats have 18 half-lives?
Attachments: signature.asc (0.19 KB)

Subject User Time
Send events to ACPI via dbus as a simple user? anikevicius at gmail May 3, 2012, 3:31 PM
    Re: Send events to ACPI via dbus as a simple user? neil at digimed May 3, 2012, 3:52 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.