Bug 1023775

Summary: systemd: "localectl set-keymap <map>" doesn't write X11 keyboard snippet, if not exists yet
Product: [openSUSE] openSUSE Distribution Reporter: Stefan Dirsch <sndirsch>
Component: BasesystemAssignee: systemd maintainers <systemd-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: fbui, sndirsch
Version: Leap 42.2Flags: sndirsch: needinfo? (sndirsch)
Target Milestone: ---   
Hardware: Other   
OS: Other   
See Also: http://bugzilla.suse.com/show_bug.cgi?id=1023774
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stefan Dirsch 2017-02-06 13:43:50 UTC
"localectl set-keymap <map>" doesn't write X11 keyboard snippet, if such a snippet does not exist yet. Workaround currently is to run

  "localectl set-x11-keymap <map>" 

beforehand. I consider this a bug. ;-) Franck, if you could open another issue on github, this would be great!

Predefined X11 snippet is /etc/X11/xorg.conf.d/00-keyboard.conf
Comment 1 Stefan Dirsch 2017-02-06 13:46:21 UTC
(In reply to Stefan Dirsch from comment #0)
> "localectl set-keymap <map>" doesn't write X11 keyboard snippet, if such a
> snippet does not exist yet. Workaround currently is to run
> 
>   "localectl set-x11-keymap <map>" 
> 
> beforehand. 

Arghh. I've meant

  localectl set-x11-keymap us
                           ^^

of course ...
Comment 2 Franck Bui 2017-02-07 07:36:15 UTC
(In reply to Stefan Dirsch from comment #0)
> 
> beforehand. I consider this a bug. ;-) Franck, if you could open another
> issue on github, this would be great!

Why didn't you open the bug on github directly ?

That would help, really.
Comment 3 Stefan Dirsch 2017-02-07 14:10:21 UTC
(In reply to Franck Bui from comment #2)
> (In reply to Stefan Dirsch from comment #0)
> > 
> > beforehand. I consider this a bug. ;-) Franck, if you could open another
> > issue on github, this would be great!
> 
> Why didn't you open the bug on github directly ?
> 
> That would help, really.

done. :-)

https://github.com/systemd/systemd/issues/5256
Comment 4 Stefan Dirsch 2017-02-07 14:11:47 UTC
Setting to NEEDINFO to myself, since you won't be informed when things change in the issue tracker.
Comment 5 Stefan Dirsch 2017-02-07 14:48:40 UTC
I'm sorry. I haven't tested correctly. This is indeed a duplicate of bnc#1023211 / github issue #5221.

*** This bug has been marked as a duplicate of bug 1023211 ***
Comment 6 Franck Bui 2017-02-07 14:51:37 UTC
(In reply to Stefan Dirsch from comment #3)
> 
> done. :-)
> 
> https://github.com/systemd/systemd/issues/5256

Perfect !

And thanks a lot.