How To Install Th-cmd?

How To Install Th-cmd?

th-cmd

global hotkey daemon for Linux

Maintainer: Stefan Tomanek



Section: utils

Install th-cmd

  • Debian apt-get install triggerhappy Click to copy
  • Ubuntu apt-get install triggerhappy Click to copy
  • Kali Linux apt-get install triggerhappy Click to copy
  • Raspbian apt-get install triggerhappy Click to copy

triggerhappy

global hotkey daemon for Linux

Triggerhappy watches connected input devices for certain key presses or other input events and runs administrator-configured commands when they occur. Unlike other hotkey daemons, it runs as a persistent, systemwide service and therefore can be used even outside the context of a user or X11 session. It can handle a wide variety of devices (keyboards, joysticks, wiimote, etc.), as long as they are presented by the kernel as generic input devices. No kernel patch is required. The daemon is a userspace program that polls the /dev/input/event? interfaces for incoming key, button and switch events. A single daemon can monitor multiple input devices and can dynamically add additional ones. Hotkey handlers can be assigned to dedicated (tagged) devices or globally. For example, this package might be useful on a headless system to use input events generated by a remote control to control an mpd server, but can also be used to allow the adjustment of audio and network status on a notebook without relying on user specific configuration. Key combinations are supported as well as the hotplugging of devices using a udev hotplug script; the running daemon can also be influenced by a client program, e.g. to temporarily pause the processing of events or switch to a different set of hotkey bindings.

To install the latest version of th-cmd in your favorite operating system just copy the th-cmd installation command from above and paste it into terminal. It will download and install the latest version of th-cmd 2026 package in your OS.