Pressed a key and it came out all wrong on the screen? Fancy using the key layout you know from a Mac on your now Linux laptop? Looking to type French, Turkish and Greek like a native? Find out here how to change the keyboard layout on Linux ⤓ (Gnome and KDE).
On This Page
How to Change the Keyboard Layout on Linux
Using Gnome
Time needed: 5 minutes
To switch keyboard layouts in Linux on a Gnome desktop:
- Add all keyboard layouts you use to Gnome; see below.
- Click the current input source in the menu bar.
- Select the keyboard layout you want to use from the list that has appeared.
Gnome keyboard shortcut: Hold Windows (or Command) and press Space until the desired keyboard layout is highlighted.
Their word: Gnome include information on keyboard layouts in Gnome help.
Keys mapped to the right characters now?
Tips help fuel these email and tech how-tos.
Add or Remove a Keyboard Layout
To edit the list of available keyboard layouts in Gnome:
- Open Gnome Settings.
Here’s how: You can open the quick settings menu, for example, in the menu bar, then click the settings gear icon. - Select Keyboard.
- Click Add input source… and choose the desired keyboard layout to add a new layout.
Delete: To remove a layout, click its three dots menu item, then choose Remove.
Example: Select English (US, intl., with daed keys) for the US-English International keyboard layout, for instance.
Another way to enter special characters: How to Enable and Set the “Compose” Key on Linux
Switch Keyboard Layouts in KDE Linux
To select a keyboard layout for input on the KDE Plasma desktop:
- Click on the current keyboard layout in the system tray with the right mouse button.
Left click: Click with the left mouse button instead to cycle through layouts. - Select the layout you want to use from the list.
KDE keyboard shortcut: Press Super Alt K to cycle through the list of keyboard layouts.
Using Windows? How to Add the U.S.-International Keyboard Layout in Windows
Add a Keyboard Layout to KDE Linux
To edit the list of available keyboard layouts in KDE Linux:
- Open KDE System Settings.
Here’s how: Select Settings | System Settings in the KDE Application Launcher menu, for example. - Go to Input Devices | Keyboard.
- Switch to the Layouts tab.
- Click Add under Configure layouts and select the desired layout to add a new input language or keyboard layout.
Subtract: Highlight a keyboard layout and click Remove to delete it from the list. - Now click Apply.
How to Change the Keyboard Layout on Linux: FAQ
Can I set the keyboard layout without Gnome or KDE?
Yes.
You can usually set the keyboard layout using the “localectl” command:
localectl set-keymap usin a console or terminal window will set the keyboard layout to US-English, for example.
What’s possible: Uselocalectl list-keymapsto see a list of keyboard layouts available.
Just now: Theloadkeyscommand will load the keyboard layout for the current session (e.g.,loadkeys grfor a Greek keyboard layout).
Most desktop environments, distributions and window managers will include an option to change the keyboard layout.
(Tested with Gnome 46–49 and KDE Plasma 6.1–6.2; first published September 2024, last updated January 2026)