Score:1

Budgie 21.10 switching keyboard layouts problem

ng flag

I have 2 layouts - English and Russian. After restart I can't type in Russian even though the keyboard indicator shows RU. Removing RU keyboard from input sources and adding it again helps. But only until next restart. Changing region format from UK to Russia doesn't help. Reordering input sources also has no effect. For the last 10 years I never had this problem with other Ubuntu flavours.

Score:0
zw flag

I see the following.

Budgie is GNOME based, so should act similar to GNOME. Like we it or not.
Both GNOME and Budgie uses XKB and Ibus; the latter is needed only for complex alphabets.
With default configuration Budgie should read /etc/default/keyboard (see example below)

cat << EOF | sudo tee /etc/default/keyboard 
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="us,ru"
XKBVARIANT=","
XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll"

BACKSPACE="guess"
EOF

and set keyboard layouts and their switching shortcut from it. Thus if you have grp:alt_shift_toggle (Alt+Shift) defined here above, it should work.

To add necessary keyboard layouts you have to launch Keyboard settings (gnome-control-center keyboard) and add needed languages to Input Sources here.

If you want to set Alt+Shift or Ctrl+Shift for first time you'll need to install GNOME Tweaks by sudo apt-get install gnome-tweaks --no-install-recommends and set such shortcuts from it in Keyboard & MouseAdditional Layout OptionsSwitching to another layout.

Then you'll need to add relevant applet to the Budgie Panel:

  1. Launch Budgie Desktop Settings (budgie-desktop-settings)
  2. Go to Top Panel tab
  3. Click on + button to add Keyboard Layout applet
  4. Optionally move Keyboard Layout to the needed part of Budgie Panel
  5. Test keyboard layout change and make sure it changes on Budgie Top Panel.

Details are available at https://getsol.us/articles/configuration/configuring-keyboard-layout/en/ .

Note: if your issues persists this maybe permissions issue, you have to reset them by sudo chown -R $USER:$USER ~/.cache ~/.config ~/.local then reboot and retry above steps.

While writing this text I feel that both GNOME and Budgie are not viable for real life usage. It is good that fully featured alternatives like KDE, MATE and Xfce exists.

Pavel Schriber avatar
ng flag
Thx. I will check it out. So far I'm using the default Super+Space.
Pavel Schriber avatar
ng flag
Well, it didn't help. Even though I don't need Alt+Shift, I have installed GNOME Tweaks. Keyboard Layout applet has already been added. Funnily enough, setting Alt+Shift as a combination didn't switch the keyboard at all. The problem is still in place.
N0rbert avatar
zw flag
You may have some problems with Ibus, consider to disable it. Or try fresh user profile.
Pavel Schriber avatar
ng flag
Hi N0rbert, I have added a dpkg-divert to disable IBus and after rebooting a couple of times everything seems fine. I will update my question if the problem persists. Thx mate!
Pavel Schriber avatar
ng flag
Flying smoothly. Everything is all right. Disabling Ibus helped. Thank you for the advise.
N0rbert avatar
zw flag
Great, so you can accept this answer to mark problem as solved :)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.