Bug 66417 - localectl does not support standard keymap location
Summary: localectl does not support standard keymap location
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-30 20:56 UTC by Michał Górny
Modified: 2013-07-31 22:11 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch adding /usr/share/keymaps (992 bytes, patch)
2013-07-31 21:12 UTC, Michał Górny
Details | Splinter Review

Description Michał Górny 2013-06-30 20:56:56 UTC
src/locale/localectl.c lists the following locations for keymap files:

        nftw("/usr/share/kbd/keymaps/", nftw_cb, 20, FTW_MOUNT|FTW_PHYS);
        nftw("/usr/lib/kbd/keymaps/", nftw_cb, 20, FTW_MOUNT|FTW_PHYS);
        nftw("/lib/kbd/keymaps/", nftw_cb, 20, FTW_MOUNT|FTW_PHYS);

However, the reference location is $datadir/keymaps which -- with the standard /usr prefix -- resolves to /usr/share/keymaps (note no 'kbd').

I believe that logind should support the reference location by default.
Comment 1 Michał Górny 2013-07-31 21:12:40 UTC
Created attachment 83393 [details] [review]
Patch adding /usr/share/keymaps
Comment 2 Michael Biebl 2013-07-31 22:11:23 UTC
(In reply to comment #1)
> Created attachment 83393 [details] [review] [review]
> Patch adding /usr/share/keymaps

Thanks for the patch, pushed as 4a9e80b


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.