Bug 66417

Summary: localectl does not support standard keymap location
Product: systemd Reporter: Michał Górny <mgorny>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium CC: maggu2810
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch adding /usr/share/keymaps

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.