Commit c62e11ce authored by Lennart Poettering's avatar Lennart Poettering

localectl: read X11 keymaps from the correct file

As reported by Sergey Udaltsov.
parent 1e8e0a32
...@@ -627,7 +627,7 @@ static int list_x11_keymaps(DBusConnection *bus, char **args, unsigned n) { ...@@ -627,7 +627,7 @@ static int list_x11_keymaps(DBusConnection *bus, char **args, unsigned n) {
return -EINVAL; return -EINVAL;
} }
f = fopen("/usr/share/X11/xkb/rules/xorg.lst", "re"); f = fopen("/usr/share/X11/xkb/rules/base.lst", "re");
if (!f) { if (!f) {
log_error("Failed to open keyboard mapping list. %m"); log_error("Failed to open keyboard mapping list. %m");
return -errno; return -errno;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment