This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > System > triggerhappy (0.5.0)

triggerhappy (a lightweight global hotkey daemon)

Triggerhappy is a hotkey daemon that operates on a system wide
scale. It watches all configured input devices for key, switch,
or button events and can launch arbitrary commands specified by the
administrator. In contrast to hotkey services provided by desktop
environments, Triggerhappy is especially suited to hardware related
switches like volume or wifi control; it works independently from
a specific user being logged in and is also suitable for embedded
systems that do not have a graphical user interface.

The disadvantage of using triggerhappy is that it must be run with
root privileges.

After installing the package, you'll want to:

1. Read the man page for thd, particularly the EXAMPLES section.

2. Create one or more confg files, matching the pattern:
/etc/triggerhappy/triggers.d/*.conf
See the example files in /etc/triggerhappy/triggers.d/ for ideas.

3. chmod +x /etc/rc.d/rc.triggerhappy

4. /etc/rc.d/rc.triggerhappy start

After this, the daemon will start on boot. To add devices to the
running daemon, use th-cmd's --passfd option (not --add, since the
daemon drops privileges after startup).

Maintained by: B. Watson
Keywords: hotkey,thd,th-cmd
ChangeLog: triggerhappy

Homepage:
https://github.com/wertarbyte/triggerhappy

Source Downloads:
triggerhappy-release-0.5.0.tar.gz (2056cda4e9127cd375067f2cd3234616)

Download SlackBuild:
triggerhappy.tar.gz
triggerhappy.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds