Answer the question
In order to leave comments, you need to log in
Problem with layouts in Ubuntu Gnome 14.04
Good afternoon. Just installed fresh Ubuntu a la Gnome edition. To be honest, everything is great except for one misunderstanding: the current layout is displayed incorrectly in the tray. That is, with the active Russian layout, US is displayed in the tray. And vice versa.
In addition, Scroll Lock, instead of indicating the selected layout, is constantly on, blinking only for a moment when alt + shift is pressed.
In general, I myself can neither solve this problem, nor even understand its cause. Unfortunately, before that I only managed to administer a server on debian'e. There, as you know, there were no such problems.
If you need any logs / configs - ask, I'll post it.
Thank you in advance for your help.
Answer the question
In order to leave comments, you need to log in
I solved it like this:
From here .
- We launch ibus-setup and uncheck the “show icon in the notification area” checkbox there on the first tab. in our situation it is useless more than completely.
- Go to the "Advanced" tab and check the "Use system keyboard layout" box. Now the system will use xkb and listen to you.
After that, the standard layout indicator in ubuntu will become useless, because. it will not display which layout is actually selected. Therefore, it can also be hidden. To do this, open the "text input" application and uncheck "show the current input source in the menu bar" there.- Next, we write the xkb parameters through setxkbmap. My config looks like this:
setxkbmap -option -option 'grp:caps_toggle,grp:switch,grp_led:scroll,compose:menu' -layout 'us,ru'
- It remains to make sure that the layout is remembered in applications. To do this, install the kbdd package and run it.
- If you want these settings to take effect every time the system starts, open "startup applications" and add the command for setxkbmap (example above) and for kbdd there.
By the way,
if you installed ubuntu, and then the kde package in it and want to use the language switcher from KDE, I recommend demolishing ibus in general to hell. Because if this is not done, it starts working together with kde and because of this a lot of problems in java applications and native kde applications.
I struggled with this for 2 hours :(
True, when you exit sleep mode, you have to re-execute setkxbmap. Haven't gotten around to this yet. Perhaps it will be easier to just write the config to /etc/X11/xorg.conf. At the same time, the correct settings are written in /etc/default/keyboard. Registered but not working.
sudo mv /usr/lib/x86_64-linux-gnu/indicator-keyboard-service /usr/lib/x86_64-linux-gnu/indicator-keyboard-service.backup && sudo kill `pgrep indicator-keyboard-service`
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question