Skip to content

ir-keytable: Smarter keytable location handling

Gregor Jasny linux-media 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3keytable: Make udev rules dir configurableconfigure.ac utils/keytable/Makefile.am+5 -30 replies
2/3keytable: Preinstall keytables relative to sysconfdirconfigure.ac utils/keytable/Makefile.am utils/keytable/keytable.c+7 -100 replies
3/3keytable: first search table in userdir, then in systemdirconfigure.ac utils/keytable/Makefile.am utils/keytable/keytable.c+27 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] ir-keytable: Smarter keytable location handling

Hello,

this patchset will improve the keytable location handling of ir-keytable. In controst to the default install location (/etc/rc_keymaps) Debian and Ubuntu installed the shipped keymaps into /lib/udev/rc_keymaps (just like keyboard keymaps are installed into /lib/udev/keymaps). If a keymap needs to be modified it's supposed to go into /etc/rc_keymaps.

The current ir-keytable program knows only about a single default keytable directory. This patchset makes ir-keytable aware of a system and user keytable directory. The user directory is searched first, followed by a the system directory if no file was found.

Mauro, are you OK with committing?

Thanks,
Gregor

Gregor Jasny (3):
keytable: Make udev rules dir configurable
keytable: Preinstall keytables relative to sysconfdir
keytable: first search table in userdir, then in systemdir

 configure.ac               |   15 +++++++++++----
 utils/keytable/Makefile.am |    8 ++++----
 utils/keytable/keytable.c  |   30 +++++++++++++++++++++---------
 3 files changed, 36 insertions(+), 17 deletions(-)
Signature · 1 line
1.7.10