triggerhappy icon indicating copy to clipboard operation
triggerhappy copied to clipboard

Trigger files not used at all on ubuntu.

Open hickscorp opened this issue 8 years ago • 1 comments

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.

hickscorp avatar Mar 12 '17 14:03 hickscorp

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.

Ro-Den avatar Feb 02 '23 05:02 Ro-Den