Bug 99257

Summary: Promote "ro(ergonomic)" from extras to main.xml
Product: xkeyboard-config Reporter: Gabriel Somlo <gsomlo>
Component: GeneralAssignee: xkb
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium CC: dumol, peter.hutterer
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Gabriel Somlo 2017-01-03 14:27:45 UTC
After the "ro(ergonomic)" layout was added to base.extras.xml a few years back (thanks again for that, btw!), I was happily using it via "/usr/bin/setxkbmap" and things were working out great.

However, I tried the latest Fedora (25) the other day, which now defaults to Wayland, and "setkxbmap" no longer works seamlessly for *all* applications -- I get ro(ergonomic) in some applications, and the default US layout in others (probably the ones using Wayland natively).

Would it be possible to promote "ro(ergonomic)" to base.xml so that I can actually select it via the standard u/i ?

Thanks,
--Gabriel
Comment 1 Sergey V. Udaltsov 2017-01-03 14:57:40 UTC
The inability of wayland to handle stuff from extras is not xk-c issue. Our policy is that little used variants stay in extras. Please sort it with Wayland folks.

Thank you
Comment 2 Gabriel Somlo 2017-01-03 15:29:04 UTC
While "setxkbmap vs Wayland" is definitely something worth fixing (saw some noise about it while googling, not sure if there's already an open freedesktop.org bug about it though), it was merely what prompted me to ask, orthogonally, that the status of ro(ergonomic) as "little used" be reconsidered (which is why I also cc-ed Mișu Moldovan).

Unlike some of the other secondary layouts in the Romanian section, this one's not politically controversial, just something that makes touch-typing standard Romanian diacritics easier. I use it all the time, and think it might be worth making it available to a wider audience. I'm planning to start using the standard Gnome desktop rather than my weird custom window manager moving forward, and, as such, it'd be nice to be able to use the standard keyboard layout selection U/I that comes with it.

Please don't mark this a duplicate of any pre-existing Wayland-vs-setxkbmap bug before reconsidering (and rejecting) my original request :)

Thanks,
--Gabriel
Comment 3 dumol 2017-01-03 20:18:12 UTC
Sorry Gabriel…  Your layout is indeed not controversial, but it's also extremely rarely used.  So I think it should stay in the "extra" section.  The main section is for common layouts, not for promoting new (possibly useful) layouts.

By the way, wasn't there a GNOME gconf/gsettings flag whether to show extended layouts or not ('load-extra-items')?  By default that was set to False.  But if set to True, the extra layouts would be listed in the GUI.
Comment 4 Gabriel Somlo 2017-01-04 00:29:55 UTC
ah, that's true:

gsettings set org.gnome.desktop.input-sources show-all-sources true

will allow everything to show up in the u/i to be selected, and I can verify that it works for me.

At this point, I'm ok with having this either closed or appropriately marked as a duplicate of whatever other Wayland-vs-setxkbmap bug already exists...

Thanks,
--Gabriel
Comment 5 Peter Hutterer 2017-01-04 04:55:49 UTC
ok, the correct resolution would be NOTOURBUG then :)

libinput doesn't use the xkeyboard-config files at all, that's handled by the higher levels. Under Wayland that's your compositor (i.e. GNOME in this case). There isn't anything we can do here, you'd have to poke the GNOME guys for any actual changes. But I suspect that gsettings call is it (also: thanks, I didn't know about that one).

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.