Как настроить переключение раскладки клавиатуры в Ubuntu 20.04 LTS на Alt+Shift?
Как настроить переключение раскладки клавиатуры в Ubuntu 20.04 LTS на Alt+Shift ?
Устанавливаем gnome-tweaks (если не меняли gnome на xfce или что-то другое) и далее в нем находим раздел Keyboard & Mouse , кликаем Additional Layout Options , открываем ветку Switching to another layout , ставим "птицу" (на всякий случай, есть отдельный пункт для левых Alt и Shift ) и напоследок делаем рестарт.
How to use Alt+Shift to switch keyboard layouts?
I recently upgraded to Ubuntu 13.10, with the new keyboard handling system. The little «switch keyboard» option does not let me set it to Alt + Shift . How can I get this keyboard binding, as I have absolutely no interest in using the Mac-esque Super + Space combo?
4 Answers 4
A confirmed bug in Ubuntu 13.10 prevents users from switching layouts using combinations like Alt + Shift , Caps Lock , Ctrl + Shift etc.
The bug affects many people, its importance is set to «High», so we may expect that an official fix will be released soon. You can subscribe to notifications about this bug on launchpad.net, so that you receive an email when it’s done.
Currently, a patch aimed at resolving this issue is being tested. By now it seems to work for most users, though certain problems remain. To install the patch, use the following commands:
A system reboot was needed in my case to make it work (simple log out and log in may be sufficient).
Note: Originally, the patch was located at ppa:attente/1218322. If you have previously installed it from there, you can first purge it as follows
and then execute the three commands above.
Alternatively, you may consider using a combination containing a non-modifier key (a letter, digit, space): try, for instance, Alt + Shift + Space (this will work without installing any patches).
Note that the keyboard shortcuts for switching layouts still do not work on lock screen (it is a separate bug). If you are stuck on lock screen and unable to enter the password because of the wrong layout, simply click the language indicator icon on the right of the password field.
Many thanks to William Hua (attente) for his Modifier-only input switch PPA. As he said, he will keep the PPA up-to-date until a correct fix for this bug is released.
After I added this PPA to my list of sources using the following command:
and after I upgraded my system using:
I could change the default Super + Space keyboard shortcut to Alt + Shift :
In Ubuntu 16.04 with Gnome 3.18, you can make it work using dconf Editor (should work for previous versions as well since the bug seems to be quite old):
- Go to org.gnome.desktop.wm.keybindings
- change switch-input-source (or switch-input-source-backward ) to [‘<Shift>Alt_L’] (or [‘<Alt>Shift_L’] )
- Enjoy!
In Ubuntu 12.04 LTS, in the Keyboard Layout Options window I could select Key(s) to change layout and mark the binding of my choice. I use Shift + CapsLock to toggle the layout from the keyboard itself without having to use mouse cursor to select the required layout from the panel indicator. The same key combo seemed to work to serf through or select between multiple layouts. (But in Ubuntu 13.10 it wasn’t so easy.)
In Ubuntu 13.10
In the Keyboard settings window, under Shortcuts tab, I select Typing. The default for Switch to next source is Super + SPACE which didn’t seem be working for me and so by clicking on it and I assigned a New Accelerator. , to change to next Layout (I used Super + L ).
(Then I assigned something similar for Switch to previous source using the same preferred layout, and then began to test them. Switching from the preferred layout to the alternate worked but the reverse did not. Please refer the next step for the fix.)
The Fix: After assigning Super + L for «Switch to next source» using my preferred layout (A), I changed my keyboard layout to the alternative layout (B) and then assigned the combination to «Switch to previous source» (for which I used Shift + Super + L ). Then I tested them, and they work fine. (Maybe disabling «Switch to previous source» would work too.)
The new accelerators for the key combos that I used looks like this:
I could then switch to layout (A) using Super + L and back to layout (B) using Shift + Super + L .
Ubuntu переключение раскладки клавиатуры
В операционной системе Ubuntu, после установки самой ОС, после нажатия привычных нам клавиш смены раскладки клавиатуры, таких как Alt+Shift или Ctrl+Shift ничего не произойдет, связано это с необходимостью назначить управляющие клавиши для переключения раскладки клавиатуры Ubuntu, кроме того, возможно вам так же придется установить Русскую раскладку Ubuntu, т.к. обычно по умолчанию устанавливается только Английская раскладка.
Настройка раскладки клавиатуры в Ubuntu
- Для настройки раскладки в Ubuntu зайдите в Настройки (Параметры системы) → Раскладка клавиатуры
- Откроется окно, в котором вы сможете увидеть установленные у Вас в системе языки раскладки, если есть и Русская и Английская, то переходите к следующему пункту, если нет, то щелкните по + внизу окна и выберите из списка Русскую и нажмите добавить.
После того как добавили Русскую раскладку клавиатуры, необходимо назначить управляющие клавиши, отвечающие за переключение раскладки клавиатуры в Ububuntu.
- Заходим в Параметры
- В Параметрах раскладки выберете пункт Клавиша(и) для смены раскладки и поставьте галочку напротив той комбинации клавиш, к которой вы привыкли, обычно это Alt+Shift.
После выполненных действий, смена раскладки клавиатуры в Ubuntu, будет происходить после нажатия одновременно клавиш которые вы назначили, например Alt+Shift.
Поздравляю, вы только что научились добавлять клавиатуры в Ubuntu и переключать раскладку на русскую в ОС Ubuntu.
Как в Ubuntu переключать языки клавишами ALT + SHIFT
Стандартная графическая оболочка Ubuntu GNOME активирует клавишу ALT при ее нажатии, а не при отпускании.
При переходе с Windows на Ubuntu Linux одним из первых желаний может быть настроить одинаковую комбинацию изменения языка клавиатуры. Это не удастся сделать в стандартном интерфейсе Ubuntu.
Чтобы изменить язык ввода на Ubuntu необходимо в настройках зайти в раздел клавиатурных сочетаний, найти секцию «Печать» и в ней — опцию «Переходить на другой источник введение».
Стандартная комбинация изменения языка — Super + Пробел. Кнопка Super — это клавиша с логотипом Windows на большинстве клавиатур.
При попытке установить привычные на Windows комбинации клавиш CTRL + SHIFT или ALT + SHIFT интерфейс Ubuntu НЕ БУДЕТ реагировать и предлагать установить комбинацию клавиш. Такое поведение актуальна для Ubuntu 17.10 и новее.
Для возможности переключения языка ввода комбинацией ALT + SHIFT в Ubuntu необходимо установить утилиту Gnome Tweaks. Это можно сделать в терминале командой sudo apt install gnome-tweaks или sudo apt install gnome-tweak-tool.
Запустите Gnome Tweaks и перейдите в раздел настроек клавиатуры и мыши. Нажмите кнопку дополнительных опций раскладки (Additional Layout Options) и в секции переключения раскладки (switching to another layout) установите ALT + SHIFT. При необходимости здесь можно выбрать и CTRL + SHIFT.
Закройте Gnome Tweaks и проверьте работу комбинации клавиш смены раскладки.
Стандартная графическая оболочка Ubuntu GNOME активирует клавишу ALT при ее нажатии, а не при отпускании. Поэтому в некоторых программах при использовании ALT + SHIFT возможно частое вызывания меню.