gnome 3.6 and keyboard layout configuration

Gnome 3 devs are stupid enough to remove features before some replacement is implemented. Simplified nautilus and (what's much more important for me!) broken keyboard layout configuration. Well, you still can configure what layouts to use, but you can't choose usual shortcut to switch layout, and you can't configure led to indicate alternative layout.

Well, I still can use setxkbmap (setxkbmap -layout "us,ru" -option "grp:caps_toggle,grp_led:scroll"), but that's f***ing ridiculous to remove things that were working here for years and propose nothing for replacement! They broke core functionality (who can work without a keyboard?!), and it makes me sick!

Update: more haterays to gnome-devs! Gnome 3 overrides xkbmap settings somewhere, I wonder if there's a way to prevent it...

Update-2: you can remove gnome-settings-daemon keyboard plugin as a workaround (sudo rm /usr/lib/gnome-settings-daemon-3.0/


mihneadb said…

I was terribly annoyed by this as well and I found your blog post in search for a solution.

Just so you know, if you use gnome-tweak-tool, go to Typing, and then the last setting allows you to get your Alt+Shift (or something similar) key shortcut back.

Hope it helps!
anarsoul said…
I'm using caps lock, and there's no such option. Even more: these settings (from Typing) do not work for me :(
Aleksei said…
it's not that good as before either.
You see, those fools do the equivalent of setxkbmap every time you press Alt+Shift. It is slow (up to a second on my rather powerful work laptop), which totally breaks the experience if you need to, say, tex some math in russian quickly.

Compare it to just incrementing the group index in xkb (as was done before), which is seamless.
KrasniyRus said…

gsettings set org.gnome.settings-daemon.plugins.keyboard active false
anarsoul said…

that won't work, setting is per-user, so it overrides xorg.conf settings immediately after gdm start.
Unknown said…
in dconf editor go to org->gnome->desktop->input-sources
1. set the xkb options to
anarsoul said…
@Nor Konstantin: I prefer caps lock
anarsoul said…
@Nor Konstantin: that won't work anyway, gnome-settings-daemon does not even read this setting, check its code.
Unknown said…
I am using the Colemak English layout and lost use of my Right Alt key.

I've just installed Fedora 18 so I appreciated that there will be some bugs yet to be worked out ... BUT ...

I write lots. I use the Right Alt key perhaps 150 - 200 times a day within my writing applications. However Gnome 3.6 disabled it for me with no way to enable it via System Settings > Regions & Languages > Input Sources. This is how I have always set it in Gnome 3.4 ... via the options button to specify "extra" options for the keyboard layout I was using. This also apples to setting a keyboard LED when using a particular layout (useful if more than one layout is required in a hot-desking environment - I share the computer with my wife and she uses standard US-English layout so we kneed to know which layout is currently enabled) but which appears to also be disabled in Gnome 3.6).

I found a fix by installing qxkb (in the Fedora Repos) and now I have both my alt buttons mapped to ... you guessed it ALT. :)

Also, there appear to be many extensions that I can not enable with then Gnome Tweak Tool; for instance Pomodoro (which I found extremely useful.) It remains greyed out and inactive with the exclamation mark beside. I do not have the time to trouble shoot these little issues; features that use to work in Gnome 3.4 but are not working or have been disabled in Gnome 3.6.

Just my two bits.
Andrew Mao said…
Wow, thank you so much for this post. I use Gnome 3 over NX which has its own keymapping issues right now (temporarily fixed with setxkbmap), which completely broke with 3.6. Removing the keyboard plugin thankfully lets things work again.

However, I agree with you, Gnome 3 seems to be a piece of crap that gets worse with every iteration.
l said…
So many monþs after and I still have to use ðe workround after updating Gnome... sad.
CyReVolt said…
Just in case you're still searching for a solution, from the Arch BBS I took:

gsettings set org.gnome.settings-daemon.peripherals.keyboard input-sources-switcher

It's quite stupid that there are so many places to find the same setting with different options in each case. But yea, there you have it! =)
Miguel said…
This comment has been removed by the author.
Miguel said…
I found the option "hidden" on:

Regions & Language -> Layouts -> Options -> Key(s) to change layout -> [your favorite key combination]

System: Ubuntu 12.10, gnome-shell 3.6.2
l said…
Gnome 3.8 and still have to remove the library.
l said…
Gnome 3.12 and 14 seem to have broken it definetively. Now even removing the entirely does not allow Gnome to work with the console and X11 keyboard configurations.

Time to get off Gnome?

Popular posts from this blog

OLED brightness in Linux

Hacking u-boot for Pinebook. Part #1 - using FEL