/usr/share/lirc/contrib/lircrc/lircrc is in lirc 0.9.4c-9.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #
# Example of a ~/config/lircrc. The restart command requires
# sudo setup, see the Configuration Manual (Running Irexec).
#
# Enable lircrcd (see "Configure LIRC" in the manual".
lircrc_class default
include ~/.config/lirc/mythtv.lircrc
include ~/.config/lirc/vlc.lircrc
include ~/.config/lirc/volume_mythtv.lircrc
begin
prog = irexec
button = KEY_RED
config = sudo /usr/bin/systemctl restart gdm.service
end
begin
prog = irexec
button = KEY_GREEN
config = wmctrl -s 1; spotify &
end
begin
prog = irexec
button = KEY_YELLOW
config = wmctrl -s 0
end
|