Neon Enclosure Module
Project description
Neon Enclosure
Enclosure module to handle any core interactions with hardware, including volume controls, lights, buttons, etc.
Admin Services
neon_enclosure.admin
contains a service much like neon_enclosure
, but plugins
it loads will have root
privileges. This service is intended for handling any
OS-level interactions requiring escalation of privileges and is excluded from Docker support.
Because this service runs as root, it also requires configuration be initialized
prior to its initialization; user-level configurations will be placed in the /root
directory per XDG, so any configuration should be done at the system-level.
Running in Docker
The included Dockerfile
may be used to build a docker container for the neon_audio module. The below command may be used
to start the container.
docker run -d \
--network=host \
--name=neon_enclosure \
-v ~/.config/pulse/cookie:/home/neon/.config/pulse/cookie:ro \
-v ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse:ro \
--device=/dev/snd:/dev/snd \
-e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native \
-e PULSE_COOKIE=/home/neon/.config/pulse/cookie \
neon_enclosure
Note: The above example assumes Docker data is stored in the standard user locations
~/.local/share
and~/.config
. You may want to change these values to some other path to separate container and host system data.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for neon_enclosure-1.1.1a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df7a662519f26e2601b8a54177f3cd123b8955a5feed668facbe37ef8b4a44ef |
|
MD5 | 6e4c97c559ab0637bc0c3e6f3bbaad17 |
|
BLAKE2b-256 | e0bec834ed0924e2c7b507d896fed055025980e1dd6bef92d2896c5ff06b3fd5 |