mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
localectl: read X11 keymaps from the correct file
As reported by Sergey Udaltsov.
This commit is contained in:
parent
1e8e0a3221
commit
c62e11ce39
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user