From: Lennart Poettering Date: Sun, 14 Apr 2013 23:30:18 +0000 (+0200) Subject: localectl: read X11 keymaps from the correct file X-Git-Tag: v202~94 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=c62e11ce3966c55d23520b9f0785c7e839cf7f37;ds=inline localectl: read X11 keymaps from the correct file As reported by Sergey Udaltsov. --- diff --git a/src/locale/localectl.c b/src/locale/localectl.c index 095d7f7d3..eb94d13ad 100644 --- a/src/locale/localectl.c +++ b/src/locale/localectl.c @@ -627,7 +627,7 @@ static int list_x11_keymaps(DBusConnection *bus, char **args, unsigned n) { return -EINVAL; } - f = fopen("/usr/share/X11/xkb/rules/xorg.lst", "re"); + f = fopen("/usr/share/X11/xkb/rules/base.lst", "re"); if (!f) { log_error("Failed to open keyboard mapping list. %m"); return -errno;