General notes:
- Prefer
acpid
to other applications to minimize overhead (i.e. polls) - Some commands (i.e.
xinput
,onboard
) require certain environment variables to be set, such as$DISPLAY
,$XAUTHORITY
- Some commands might also need to be run as a user (with or without environment variables set)
- Install autorandr