Score:0

Keyboard keys switch

az flag

A few months ago I switched right AlgGr key with Super_R. The reason for this was that I was using my Ubuntu laptop with an apple keyboard, and wanted the similar key placement as I was used to on a mac.

Now I use another keyboard and would like to switch these back. Only problem is that I've forgotten which file I edited to make this change. I remember using xev to find the key codes for the keys, and editing some file.

Do anyone know what file I might have edited? I use ubuntu 22.

Edit: Output of commands:

$ gsettings get org.gnome.desktop.input-sources xkb-options                                                               
['caps:swapescape', 'ctrl:swap_lwin_lctl']

These changes were set using Gnome Tweaks.

$ cat /etc/default/keyboard                                                                                               
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="no"
XKBVARIANT="winkeys"
XKBOPTIONS=""

BACKSPACE="guess"
Gunnar Hjalmarsson avatar
uz flag
You have a couple of swap options in your user settings, but none of those involves the AltGr key AFAICT. (Such options can be controlled via Tweaks.) Maybe check the `~/.profile` file.
Sadaharu Wakisaka avatar
pl flag
Welcome to AskUbuntu. `/usr/share/X11/xkb` if you have edited them directly, perhspas `../keycodes/evdev/` and/or `../symbols/xx`
sigmund avatar
az flag
Thanks, that was correct, i had edited the `evdev` file.
Score:0
az flag

The file I had edited was usr/share/X11/xkb/keycodes/evdev.

I sit in a Tesla and translated this thread with Ai:

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.