Catalog PyPI
Back to packageRELEASE DETAILS

1.0.0

PyPI

acpic

acpid event handler for non-root users

Published13 Feb 2022
Direct dependencies0
Transitive dependenciesNot calculated

README

Version 1.0.0 documentation

acpic - an acpid client

PyPI page Code style: black

This little daemon extends acpid event handling capabilities. Normally, event handlers are placed by root in /etc/acpi/events/. With acpic, you can place additional handlers in a per-user ~/.config/acpi/events/ directory.

I personally use it to control PulseAudio with hardware volume buttons on my laptop (see examples).

Installation

The easiest way is to install acpic with pip:

$ pip install acpic

Then, place your handlers in ~/.config/acpi/events/ and make acpic somehow start when you log in, for example by creating an XDG-compliant entry in ~/.config/autostart/acpic.desktop:

[Desktop Entry]
Name=acpic
Comment=acpid event handler
TryExec=acpic
Exec=acpic
Type=Application

License

Copyright © 2018-2022 Piotr Śliwka

This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See the COPYING file for more details.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
acpic-1.0.0.tar.gz

sdist · 3.8 KB · Python source

Source file

Repository

PENDING
psliwka/acpic

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:23 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:cc5eb889e8fdf422b4ccebe8c0f536a8aa94b5e102065d8a71e56c72d11e9642

Other collected versions

View all collected versions →