EnglishFrenchSpanish

OnWorks favicon

th-cmd - Online in the Cloud

Run th-cmd in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command th-cmd that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


th-cmd -- triggerhappy commander

SYNOPSIS


th-cmd --socket <socket> [--passfd] [--tag <foo>] [--clear|--enable|--disable|--mode
<mode>|--quit|--udev|--add <devices...>|--remove <devices...>]

DESCRIPTION


This program is used to issue commands to a running triggerhappy daemon. It utilizes an
unix domain socket bound by the daemon.

OPTIONS


--socket socket
The socket file opened by the running triggerhappy daemon instance.

--add <devices...>
Instruct the running daemon to open the input devices specified on the command line

--remove <devices...>
Remove specified devices from the running daemon.

--clear
Remove all devices from the running daemon.

--udev
Deduce operation and device name from udev environment (for use in udev rules).

--disable
Disable the execution of triggers.

--enable
Re-enable the execution of triggers.

--mode <newmode>
Change the mode of the triggerhappy daemon to <newmode>. If no new mode is specified,
the daemon switches to default mode.

--quit
Terminate the triggerhappy daemon.

--passfd
Instead of instructing the daemon to open the device, open the device and pass the
file descriptor to the daemon. This allows the adding of new devices to a daemon
having dropped its privileges, however the th-cmd process must have access to the
device file.

--grab
Grab the device; the triggerhappy daemon will try to get exclusive access to the
device, other applications will not receive the events emitted by it.

--tag foo
Label the added device with the tag <foo>; this can be used to limit the scope of
event handlers to a subset of input devices.

Use th-cmd online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Boost C++ Libraries
    Boost C++ Libraries
    Boost provides free portable
    peer-reviewed C++ libraries. The
    emphasis is on portable libraries which
    work well with the C++ Standard Library.
    See http://www.bo...
    Download Boost C++ Libraries
  • 2
    VirtualGL
    VirtualGL
    VirtualGL redirects 3D commands from a
    Unix/Linux OpenGL application onto a
    server-side GPU and converts the
    rendered 3D images into a video stream
    with which ...
    Download VirtualGL
  • 3
    libusb
    libusb
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Categories...
    Download libusb
  • 4
    SWIG
    SWIG
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    different...
    Download SWIG
  • 5
    WooCommerce Nextjs React Theme
    WooCommerce Nextjs React Theme
    React WooCommerce theme, built with
    Next JS, Webpack, Babel, Node, and
    Express, using GraphQL and Apollo
    Client. WooCommerce Store in React(
    contains: Products...
    Download WooCommerce Nextjs React Theme
  • 6
    archlabs_repo
    archlabs_repo
    Package repo for ArchLabs This is an
    application that can also be fetched
    from
    https://sourceforge.net/projects/archlabs-repo/.
    It has been hosted in OnWorks in...
    Download archlabs_repo
  • More »

Linux commands

Ad