W
W
wutiarn2014-04-20 11:04:03
linux
wutiarn, 2014-04-20 11:04:03

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

4 answer(s)
E
Eugene Obrezkov, 2014-04-20
@wutiarn

Question on Toaster , which is just made for your problem :)

T
TiGR, 2014-05-25
@TiGR

I solved it like this:

  1. 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.
  2. 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.
  3. 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'
  4. It remains to make sure that the layout is remembered in applications. To do this, install the kbdd package and run it.
  5. 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.
From here .
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.

E
Egor Bolgov, 2015-05-13
@BlaDe39

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 :(

C
ComeOn, 2015-02-03
@ComeOn

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.

It turned out that this problem appears due to the indicator-keyboard-service. The problem is solved quite simply:
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 question

Ask a Question

731 491 924 answers to any question