[systemd-devel] [PATCH] udev: Add keyboard leds helper app

Carlos Garnacho carlosg at gnome.org
Fri Jan 17 04:01:20 PST 2014


Hey Lennart :),

On vie, 2014-01-17 at 12:04 +0100, Lennart Poettering wrote:
> On Fri, 17.01.14 12:01, Carlos Garnacho (carlosg at gnome.org) wrote:
> 
> > This helper program checks the leds available on keyboard devices
> > and exports these as list of keywords in the ID_INPUT_KEYBOARD_LEDS
> > property. The new .rule ensures this helper program runs at the time
> > any keyboard is detected/plugged.
> 
> What's the usecase for this?

Complementing this code, I've got a gnome-settings-daemon patch to show
an OSD to hint about *Lock keys being pressed when the keyboard in
question does not have leds to tell so. The laptop I got recently has
none, and it buggers me when I start yelling without noticing.

> 
> (And this feels like it should be part of the input_id builtin)

Oh, will check there. I first looked at the keyboard builtin before
going for the standalone program, although this felt quite out of place
there.

Cheers,
  Carlos



More information about the systemd-devel mailing list