Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger files not used at all on ubuntu. #19

Open
hickscorp opened this issue Mar 12, 2017 · 1 comment
Open

Trigger files not used at all on ubuntu. #19

hickscorp opened this issue Mar 12, 2017 · 1 comment

Comments

@hickscorp
Copy link

hickscorp commented Mar 12, 2017

The trigger file seems to be parsed and triggers are called when starting the tool manually using:

sudo thd --triggers /etc/triggerhappy/triggers.d /dev/input/event*

However the system daemon doesn't seem to be using the triggers (Eg nothing happens when pressing the keys). Tried sudo service triggerhappy restart, saw 4 normal systemd lines in syslog, but nothing more.

I tried editing /etc/defaults/triggerhappy and add a line reading:

DAEMON_OPTS="--triggers /etc/triggerhappy/triggers.d /dev/input/event*"

but it didn't seem to make any difference after restarting the systemd unit.

@Ro-Den
Copy link

Ro-Den commented Feb 2, 2023

THD as a service doesn't function in Ubuntu if it's being run as nobody or root. If being run as the current user the service does its job although with some minor issues. The solution was found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants