INPUTLIRCD(8)
π INPUTLIRCD(8) β the inputlircd manual page, bestie edition π
okay so you found inputlircd in section 8 of the manual and you want the β¨vibesβ¨ version? say less. this is the whole page, nothing skipped, nothing invented, just with the personality it deserved all along π«Ά
πΈ NAME πΈ
inputlircd β a zeroconf LIRC daemon that runs on input event devices π
β¨ SYNOPSIS β¨
inputlircd [-d socket] [-f] [-c] [-r repeat-rate] [-g] [-m keycode]
[-n device name] [-u username] [-t path] [-N rc name] device
[device ...]
like yes she takes arguments, and yes she's picky about them. icon behaviour tbh π
π¦ DESCRIPTION π¦
so inputlircd is this small LIRC daemon that reads from /dev/input/eventX devices and yeets the keycodes it receives over to whatever LIRC clients are connecting in. no cap, that's the whole job. π
and the best part? she needs zero configuration. literally none. she just uses the standardised names for the keycodes, the same ones the kernel already uses. the way that so many USB remote controls that show up as HID devices β plus multimedia keyboards β just work out of the box?? obsessed. π₯
she does expect one thing though: a list of input event devices as commandline parameters. and she will only read events from those devices. she's loyal like that. no stray reads. π
π OPTIONS π
-d socketβ where the UNIX socket lives, the one LIRC clients connect to. default is/run/lirc/lircd. β¨-fβ run in the foreground. no vanishing into the background on you, she stays right there. π-cβ capture modifier keys. this makesCTRL,SHIFT,ALTandMETAact as modifier keys: when you press them together with another key, they change the LIRC event for that other key instead of being sent as their own separate LIRC events. combo energy. π-r repeat-rateβ set the repeat rate of the remote control, in milliseconds. default is0. repeated keys that arrive less thanrepeat-ratemilliseconds apart get flagged as repeat LIRC events. so close together they're basically holding hands. π₯Ί-gβ grab the input device(s). this givesinputlircdexclusive access to the input devices and stops events from propagating any further. she's not sharing, bestie. π«-m keycodeβ minimum keycode to send to LIRC clients. anything lower than this number gets filtered out. default is88, which filters out the alphanumeric section and the keypad section of normal keyboards, but lets all the extended keys through. the rationale? clients should not be able to grab normal keypresses, because that could be a security risk. so like, protect yourself. π‘οΈ-n device nameβ the name of an input device to read events from. this scans all the available input event devices, and if the symbolic name of an event device matches device name, it gets added to the list of devices to read from. device name can contain wildcard patterns β peepglob(7). want a list of available devices and their names?cat /proc/bus/input/devicesor uselsinput(8). π-u usernameβ set the user and group id to that of username, after opening the devices and the UNIX socket as root. default isnobody. drop the privileges, stay humble. π§-t pathβ gives the path to a file holding a mapping between input event key names and the commands that should be reported via lirc. the files should contain lines of the formKEY_FOO = bar. useful for backward compatibility. default is not to use a translation table at all. π-N rc nameβ set the remote control name, aka the value of the last field of LIRC broadcast messages. if there's more than one input event device, the name you give gets used for all of them. if rc name isn't specified, the filesystem path of each input event device is used as its remote control name. β¨deviceβ one or more input event devices. if you wantinputlircdto process the multimedia keys on your keyboard, then/dev/input/event0is the most likely choice. got other input devices, like USB remote controllers that act like a HID device? then you probably need one of the other event devices that are present. check/proc/bus/input/devicesfor a list of available input devices. and if you're unsure β just add all the available input event devices. go big, honestly. π
π FILES π
/run/lirc/lircdβ the default location of the UNIX socket that LIRC clients connect to. π/dev/input/eventXβ the kernel input layer's event device files. πΈ/proc/bus/input/devicesβ the list of all input devices. π
π₯ SEE ALSO π₯
irw(1), input-events(8), setkeycodes(8), /usr/include/linux/input-event-codes.h.
like go read those too, they're the friend group. π
and that's the whole page bestie, no crumbs left behind π«Ά this was Mon, 06 Feb 2006 17:42:25 +0100 β vintage, iconic, still serving. mwah π
π¦ where this page comes from
- debian trixie: inputlirc 34-1 Β· GPL-2.0-or-later
- ubuntu questing: inputlirc 34-1
- ubuntu resolute: inputlirc 34-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: inputlirc 34-1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms