Linux mint keyboard layout shortcut

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

Читайте также:  Learn to program c on linux

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.

Источник

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:

Читайте также:  Что делать если при установке windows установка зависает

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

  1. Going through System Settings -> Text Entry
  2. Using the App Indicator as shown in the screen-shot below.

Ubuntu 13.04 and older

Seems you forgot an important step.

  1. Download Hebrew language support. You can do this from the Install/Remove Languages section of «Language Support».
  2. System Settings -> Keyboard Layout -> «+» -> «Hebrew» -> Add
  3. 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 keyboard layout shortcut

1. General Shortcut Keys

Opens the Applications Menu.

Displays the Run Application dialog.

Takes a screenshot.

Takes a screenshot of the window that has focus.

Switches to the workspace to the right of the current workspace.

Switches to the workspace to the left of the current workspace.

Switches to the workspace above the current workspace.

Switches to the workspace below the current workspace.

Minimizes all windows, and gives focus to the desktop.

Starts the online help browser, and displays appropriate online Help.

2. Window Shortcut Keys

Switches between windows. When you use these shortcut keys, a list of windows that you can select is displayed. Release the keys to select a window.

Switches between windows in reverse order. Release the keys to select a window.

Opens the first menu on the left side of the menubar.

Opens the Window Menu.

Moves the focus between items in a menu.

Chooses a menu item.

Closes an open menu.

Switches to the workspace to the right of the current workspace.

Читайте также:  Avrdude conf arduino windows

Switches to the workspace to the left of the current workspace.

Switches to the workspace above the current workspace.

Switches to the workspace below the current workspace.

Minimizes all windows, and gives focus to the desktop.

When a window has focus, you can increase or decrease the size of the window:

Alt + F8

Start the resize operation.

Resize the window in the direction of the arrow key.

Spacebar

Complete the resize operation, leaving the window at the current size.

Esc

Cancel the resize operation, restoring the window to its original size.

Move windows between workspaces:

Ctrl + Shift + Alt + Arrow key

Use the arrow keys to move windows between workspaces

3. Panel Shortcut Keys

Switches the focus between the panels and the desktop. When you use these shortcut keys, a list of items that you can select is displayed. Release the keys to select an item.

Switches the focus between the panels and the desktop. Release the keys to select an item.

Opens the popup menu for the selected panel.

Switches the focus between objects on a panel.

Chooses the selected panel object or menu item.

Opens the popup menu for the selected panel object.

Moves the focus between items in a menu. Moves the focus between interface items in an applet also.

Closes an open menu.

Opens the Applications menu from the Menu Bar, if the Menu Bar is in a panel.

4. Application Shortcut Keys

Источник

How to change keyboard shortcuts?

I’m new to Linux and I am having trouble with Ubuntu keyboard shortcuts like Alt + Tab to switch between applications and Alt + Shift to change the keyboard layout.

Can anyone help please?

4 Answers 4

To see Unity shortcuts press and hold the Super key.

To customize shortcuts open System settings ( gnome-control-center ), go to keyboard and select Shortcuts tab. Explore all the categories to find what you’re interested in changing and click on it to change. Then press the keys for your new shortcut.

To change keyboard layout shortcut, in the system settings go to Text Entry and change the shortcuts there.

Some of the shortcuts are impossible to change with built-in system settings GUI. Most other system-wide shortcuts are modified through dconf as described here.

  • Open Terminal ( Alt + Ctrl + T by default)
  • sudo apt-get install dconf-editor
  • dconf-editor
  • Navigate to org.gnome.desktop.wm.keybindings
  • Further setup is obvious, except for

The figure below is the example to disable ALT+F7.

On Ubuntu 18.04 and later:

  1. Launch Settings
  2. Click on Devices (under Network)
  3. Click on Keyboard

If you want to add a custom shortcut scroll to the bottom of the applet and click on the + symbol to create a shortcut:

(Para alternar ventanas)
To switch windows -> Alt + Tab

(Para alternar pestañas)
To switch tabs -> Ctrl + Tab

(Para alternar teclados)
To switch keyboards (if you have severals) -> Super + Space

(Para abrir una aplicación de la barra de tareas)
To launch an app in the main side bar: hold Super until a number is shown above the app (then press the number for the app you want) or just press Tab key while you hold Super to slide through them.

  • You can inverse the slide if you hold the Shift key. This apply for all the above.
  • Super can refer to the key with the Windows ® logo, depending on the brand of your keyboard.
  • This apply for Ubuntu 16.04 and the most operating systems using keyboards.
  • To customize all of this: follow the Cornelius advises, posted above.

Источник

Оцените статью