- Linux Mint Forums
- Shortcut for switching between keyboard layouts (languages)?
- Shortcut for switching between keyboard layouts (languages)?
- Re: Shortcut for switching between keyboard layouts (languag
- Re: Shortcut for switching between keyboard layouts (languag
- Re: Shortcut for switching between keyboard layouts (languag
- Re: Shortcut for switching between keyboard layouts (languag
- Re: Shortcut for switching between keyboard layouts (languag
- Linux mint change keyboard language hotkey
- Shortcut to change keyboard layout in Linux Mint (Cinnamon)
- 5 Answers 5
- How to switch language keyboard combination?
- 9 Answers 9
- Ubuntu 17.10 and newer (GNOME Shell)
- Ubuntu 13.10 to 17.04 (Unity)
- Ubuntu 13.04 and older
- In Ubuntu 12.04 LTS,
- In Ubuntu 13.10,
- Переключение раскладки Linux Mint
- Как добавить раскладку в Linux Mint
- Переключение раскладки в Linux Mint
- Выводы
Linux Mint Forums
Welcome to the Linux Mint forums!
Shortcut for switching between keyboard layouts (languages)?
Shortcut for switching between keyboard layouts (languages)?
Post by beansandjeans » Tue Jan 01, 2013 6:11 pm
So I recently installed Mint 13 XFCE on a netbook, and this computer is shared with someone who uses the German keyboard layout. I have both keyboard layouts (German and US English) set-up, but the process of switching between them is somewhat tedious — I have to go into the keyboard settings menu, and from there to the layout tab, and then switch from one language to the other. I put a shortcut to this menu on the desktop, so at least I don’t have to navigate through the menu to get to it, but it’s still rather tedious.
This is the first time I’ve worked used multiple keyboard layouts on a Linux computer. On Windows it was always just a matter of Alt-Shift.
So I’m wanting to know if there’s any existing shortcut that could be used, or if one could be set up.
In that same keyboard menu there’s an «application shortcuts» tab, and I’ve made a new shortcut already for an application, but I imagine this might also work for other keyboard shortcuts in general. But for that I need a command, and I don’t know what the command is to switch between keyboard layouts. I hope there is one, and preferably one that can be used to toggle it in either direction (the same command to switch from English to German and vice versa), but if has to be two separate commands that’s not a big deal.
All help much appreciated! Thanks
Re: Shortcut for switching between keyboard layouts (languag
Post by beansandjeans » Sat Jan 05, 2013 8:38 pm
Nobody had replied here, so I did a bit more digging and finally found a thread on a PC Linux forum which discussed this: http://www.pclinuxos.com/forum/index.php?topic=95438.0
One of the replies gave this command: «setxkbmap XX» (excluding the quotation marks), with the «XX» for the keyboard layout language.
So for the shortcuts then, «setxkbmap de» ended up working for German. «setxkbmap en» DOESN’T work for English, but «setxkbmap us» did, and I would imagine similar commands for other variants would as well, like «setxkbmap uk» for the UK English layout.
I’m not sure if these commands also work in Gnome/MATE or other environments, or if they’re just for XFCE.
Also still don’t know if there’s one command that would toggle it in both directions. If anyone knows if that’s possible, please let me know.
But at least it’s working a lot better now than having to go into the menu each time!
Re: Shortcut for switching between keyboard layouts (languag
Post by nissimnanach » Mon Jan 14, 2013 4:18 pm
LINUX MINT 14: LEFT SHIFT + CAPS LOCK is default
Change default by:
1. Right-click on keyboard language indicator in right
2. Select «Layouts» tab
3. Options: KEYS TO CHANGE LAYOUT
Re: Shortcut for switching between keyboard layouts (languag
Post by OxidE » Wed Jan 16, 2013 9:38 am
Re: Shortcut for switching between keyboard layouts (languag
Post by dman » Sat Jan 19, 2013 5:26 pm
That’s to switch between English-US and German-DE on the command line using Alt+Shift.
I’m trying to figure out where to put that for a permanent setting. I know where in Lubuntu, but that path and file are not applicable to xfce.
Re: Shortcut for switching between keyboard layouts (languag
Post by yarlipo » Wed Mar 13, 2013 5:48 pm
It amazes me that Linux Mint doesn’t have a built in solution for toggling languages. Nevertheless, I used the solution posted above, and I figured out a way to store it between sessions. Hopefully people can find this straight away, it took me days to find a solution.
Go to Menu — Settings — Session and Startup. Chose application autostart. Click on add. Fill in the first two lines with whatever you prefer, and then in the Command field paste the code dman kindly provided:
setxkbmap -option grp:alt_shift_toggle «de,us»
replacing de and us with your own language code.
Note that the language mentioned first will be activated as the default language when you boot.
That’s it! Now your linux mint install remembers the toggle between sessions.
Источник
Linux mint change keyboard language hotkey
you can change it according to your preference, and everybodies preferences are not the same.
LINUX MINT 14: LEFT SHIFT + CAPS LOCK is default
Change default by:
1. Right-click on keyboard language indicator in right
2. Select «Layouts» tab
3. Options: KEYS TO CHANGE LAYOUT
«Left Ctrl + Shift» that’s not working for me, I’m trying to find a shortcut to switch between to keyboard layouts, but I couldn’t.
I tried to customize a shortcut but I don’t know the appropriate command to switch. Any help please?
Hi,
vincentv, your advice is totally right except the fact that there’s no standard procedure how to add _shortcut_ for certain keyboard locale (or I could not find/ google it out).
For instance, if a user has English, German and French layouts, a shortcut like CTRL-SHIFT-1 would set directly (without going through all language layouts with CTRL-SHIFT) English, CTRL-SHIFT-2 would set German, and CTLR-SHIFT-3 — French.
Is it possible to do that in Mint 13 Maya (Mate)?
use the keyboard shortcuts and set your own.
«left Ctrl+Shift» must be default.
The current method of switching keyboard layout works well, (graphical, in system tray), but it should be a relatively simple matter of adding your own custom keyboard shortcut with the action of switching the keyboard layout. I’m not entirely certain it would be beneficial to have it as a default keyboard shortcut, but maybe so.
Источник
Shortcut to change keyboard layout in Linux Mint (Cinnamon)
I would like to have a keyboard shortcut that goes to the next keyboard layout I have «saved». Like Windows + Space in Microsoft Windows and Gnome.
5 Answers 5
This was a pain to find, but if you left-click the system icon, then choose «keyboard settings» and then «Layouts», there is an «Options. » button. Click that, then a popup will show where you can scroll down to set the shortcut to just about anything:
If, like me, you don’t like any of the shortcuts on the list then you can do the following:
Install xkb-switch:
Install the dependencies:
Set up your desired keyboard shortcut
Navigate to keyboard settings (System Settings -> Keyboard)
Switch to the «Shortcuts» tab and select «Custom Shortcuts» under «Categories»
Press «Add custom shortcut», and set the command to xkb-switch -n
Set the shortcut you want using the «Keyboard bindings» section (I use Crl+Alt+K )
Test the shortcut to make sure it’s working!
Hope this helps someone, it took me ages to find this solution.
The shortcut is shift + capslock in mint 19.1
Yesterday I upgraded to Linux Mint 20 from Linux Mint 18.3. After then I spent a couple of hours finding the keyboard shortcut to change the keyboard layout.
Here are the screenshots of steps to enable the preferred shortcut key to change the keyboard layout in Linux Mint 20:
Step 1: Right-click on the language flag in the Panel and click the Keyboard Settings.
Step 2: Click the option button under Layouts tab.
Step 3: Choose your preferred layout under Switch to another layout section.
Источник
How to switch language keyboard combination?
I would like to type Hebrew in Ubuntu. I tried downloading the Hebrew language pack and then setting alt — shift as my layout-change shortcut in the Options section of «Keyboard Layout».
However, when I actually press alt — shift , nothing happens. How can I switch my keyboard layout to Hebrew?
9 Answers 9
Ubuntu 17.10 and newer (GNOME Shell)
From this answer: After adding the desired languages (by navigating to Settings -> Regional & Language), you can use the default keyboard shortcut which is Super + Space («super» is another name for the Windows key), or you can click on the top bar menu:
Ubuntu 13.10 to 17.04 (Unity)
As of Ubuntu 13.10, it is now called Text Entry Settings instead of Keyboard Layout
It can be reached through either of these methods
- Going through System Settings -> Text Entry
- Using the App Indicator as shown in the screen-shot below.
Ubuntu 13.04 and older
Seems you forgot an important step.
- Download Hebrew language support. You can do this from the Install/Remove Languages section of «Language Support».
- System Settings -> Keyboard Layout -> «+» -> «Hebrew» -> Add
- System Settings -> Keyboard Layout -> Options -> Keys to Change Layout -> mark [alt]+[shift] (this step is optional, only if you want that custom keyboard shortcut)
An icon like this should appear in the upper-right after step two:
To switch keyboard layout on Ubuntu 12.04
Go to System Settings.
Under Keyboard Layout — click on Options.
Under Key(s) to change layout — choose the combination of keys you would like to use.
In Ubuntu 12.04 LTS,
Goto 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,
Goto 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 .
Источник
Переключение раскладки Linux Mint
За каждой клавишей на клавиатуре закреплён определённый знак — буква, цифра или специальный символ. Соответствие этих знаков клавишам называется раскладкой. Следует заметить, что, говоря слово «раскладка», чаще всего подразумевают язык, но это не тождественные понятия. У некоторых языков есть только один вариант раскладки, у других — несколько. На компьютере могут быть установлены сразу две или три раскладки для одного и того же языка.
Пользователи Linux имеют возможность по своему усмотрению добавлять в систему языки и раскладки, а также настраивать варианты переключения между ними. Сегодня рассмотрим как переключать раскладку в linux mint, а также как добавить новый язык в систему.
Как добавить раскладку в Linux Mint
По умолчанию в Linux Mint Cinnamon установлен только один язык — английский. Во время установки ОС на свой компьютер вы можете выбрать вторую раскладку — например, русскую. То есть, во время первого запуска системы у вас будут доступны для использования уже два языка. Иногда этого недостаточно, но если возникает потребность в установке дополнительных раскладок, то сделать это можно в любой момент. Таким образом важно не только понять как поменять язык в linux mint на один из уже установленных, но и как добавить новый язык.
Для управления клавиатурой (и языками в том числе) предусмотрена утилита keyboard-configuration. Запустить её можно двумя способами:
- Пройдя по адресу Меню → Параметры → Клавиатура.
- Нажав на значок языка на Панели задач и выбрав в открывшемся меню пункт Настройки клавиатуры.
Какой бы из этих способов вы ни выбрали, для настройки языка нужно перейти во вкладку Раскладки.
Список всех установленных раскладок находится в левой части окна. Чтобы добавить новую, нажмите на знак + внизу окна. Откроется новое окно с перечнем всех доступных языков.
Найдите в списке нужный язык, выделите его мышкой и нажмите кнопку Добавить. Чтобы не пришлось перелистывать весь список, можно ввести название языка в строку поиска.
А чтобы сразу же увидеть как выглядит выбранная раскладка нажмите кнопку Предпросмотр.
После добавления новая раскладка сразу же появится с списке установленных и будет доступна к использованию. При желании вы можете перетасовать список, выстроив языки в удобном вам порядке. Это можно сделать при помощи кнопок со стрелочками, расположенных внизу окна. Там же есть и кнопка со знаком минус (—) — нажатие на неё убирает выделенную раскладку из перечня доступных.
В правой части окна Раскладки есть несколько дополнительных опций. Первая из них — Включить менее распространённые раскладки в список для выбора. Если вам нужна какая-то уж очень экзотическая и редко используемая раскладка, отметьте эту опцию флажком.
Если же вы работаете с двумя или тремя языками, поочерёдно переключаясь между окнами — например, пишете текст в редакторе на русском, переписываетесь в мессенджере на английском и что-то ищете в браузере на китайском, вам пригодится вторая опция — Разрешить отдельные раскладки для каждого окна. По умолчанию для всех окон используется одна раскладка. Далее мы более подробно разберемся как переключать раскладку в Linux Mint.
Переключение раскладки в Linux Mint
По умолчанию в Linux Mint Cinnamon не назначены горячие клавиши для переключения раскладок. Перейти от использования одного языка к использованию другого можно, кликнув на языковой значок (флаг или буквенное обозначение) на Панели задач. Однако, чтобы не совершать лишние действия, стоит всё же настроить комбинацию клавиш. Например, многие привыкли выполнять переключение раскладки клавиатуры в linux mint с помощью Alt + Shift или Ctrl+Shift.
На уже знакомой вам вкладке Раскладки внизу окна есть кнопка Параметры. При нажатии на неё открывается окно с дополнительными настройками. Выберите из списка пункт Переключение на другую раскладку и нажмите на него — появится перечень доступных для установки сочетаний клавиш.
Отметьте флажком подходящий вариант и нажмите Закрыть. Клавиши смены раскладки linux mint заработают сразу же после этого действия, нет необходимости в перезагрузке компьютера.
Впрочем, может случиться так, что при попытке открыть Параметры раскладки клавиатуры вы каждый раз будете сталкиваться с багом системы, когда окно настроек попросту закрывается. Вариантов решения проблемы два — либо заново переустановить ОС, либо найти в Менеджере программ утилиту keyboard-configuration и удалить её, а потом снова установить.
В процессе установки на экране появится окно с настройками, где есть возможность выбрать комбинацию клавиш для переключения раскладки.
Каждый раз, когда вы захотите изменить сочетание клавиш, удаление и установку утилиты придётся повторять.
Выводы
Настройка языков и раскладок в Linux Mint Cinnamon достаточно гибкая, не занимает много времени и не требует специальных знаний. Теперь вы точно знаете как настроить переключение раскладки Linux Mint. Если у вас остались вопросы по теме статьи, задавайте их в комментариях.
Источник