1IREXEC(1) User Commands IREXEC(1)
2
3
4
6 irexec - run programs with one button press
7
9 irexec [options] [config_file]
10
12 This program lets you execute arbitrary commands on an IR signal
13 decoded by lircd, the LIRC daemon. You can give irexec a command line
14 parameter which has to be a name of a valid config file. If no command
15 line parameters are given irexec reads the default config file which is
16 usually ~/.lircrc.
17
18 If irexec executes a program it will wait until this program termi‐
19 nates. So append a '&' to the command string if you don't want that.
20
21 The config string consists of the command to be run.
22
23 -h --help
24 display usage summary
25
26 -v --version
27 display version
28
29 -d --daemon
30 run in background
31
32 -n --name
33 use this program name
34
36 If you add the --daemon option irexec will fork to background. That way
37 you can easily start irexec from an init script. In this case you
38 should specify a config file on the command line as irexec won't be
39 able to find your home directory. Potential uses are shutting down the
40 computer, starting a dial-up connection etc.
41
43 If you start irexec, it reads your ~/.lircrc and reacts only on prog=
44 entries that point to irexec. If you have included more than one pro‐
45 gram in your .lircrc, then start all these programs, they react itself
46 only to their according entries in .lircrc.
47
49 The documentation for lirc is maintained as html pages. They are
50 located under html/ in the documentation directory.
51
52
53
54irexec 0.9.0 March 2011 IREXEC(1)