GitXplorerGitXplorer
A

eventrun

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
5d89b775c15cc32352573bac5e797cb15d9c2c8d

Add link to GitHub Releases

AAlexTMjugador committed 5 years ago
Verified
7018255891f5f9827eb49151199fcfe2f57054d2

Fix nonsensical line numbers in copyright file

AAlexTMjugador committed 5 years ago
Verified
c33821d247f1bf1dfeaa83cb8d4a9b3b5a5366fd

Add installation instructions

AAlexTMjugador committed 5 years ago
Unverified
659d7845ab1ff2f89669271ab79575e2b039eba6

Ignore .deb package for VCS

AAlexTMjugador committed 5 years ago
Unverified
c90a441bab7d2ba6b6ff0ab84877f6aa8ca87e80

Initial eventrun version

AAlexTMjugador committed 5 years ago
Verified
f470d5dd41d9d394f7a64126e418222b158e032d

More clear explanation of service start

AAlexTMjugador committed 5 years ago

README

The README file for this repository.

eventrun

Runs a command when a Linux input device sends an event, no matter if X runs. It works with any input event recognized by the evtest program.

Usage

By default, eventrun is located in /usr/bin/eventrun, and is executable only by the root user. The input device to listen to and events are configurable in /etc/eventrun. Each eventrun instance can react on several input events on the same input device, if the configuration file is modified accordingly. Additionally, a SystemV-style service is installed in /etc/init.d, which allows to run this program daemonized on system start if the administrator enables it manually.

Building and packaging

This program is only composed of shell scripts, so no compilation is necessary. It should work in any GNU/Linux box that has a POSIX shell and the needed dependencies.

However, it is distributed as a .deb package that is generated with a Makefile. To create the eventrun .deb package, you only need to make changes to the installed files, and then run:

$ make

Installation

You can get the official .deb package from the releases page. Installing the package is pretty straightforward:

# dpkg -i eventrun_1.0-1.deb

If dpkg complains about missing dependencies, make sure you install them first.