I have just started using Ubuntu 22.04.1 LTS while following a coding course and cannot find how to type neither square brackets or curly braces with the usual key combinations for a Spanish keyboard layout. I have been a Windows user for many years, but just got started with Ubuntu not long ago and still getting used to all the little differences.
When I press the usual key combinations, which are Left Ctrl + Left Alt + one of the pink tinted keys in the Spanish keyboard layout image linked below, nothing happens.
I have checked and made sure that the correct Spanish layout is setup in the system settings and tried all the other Spanish options just in case, but none of them have solved the issue.
My current keyboard layout is this.
After much searching without any luck, this post made me think it may be that some other setting is interfering and preventing the key combinations I need from working as expected, but I have tried following what is indicated in it and it hasn't solved the problem. Also, Left Ctrl + Left Alt + T works fine for opening a terminal window, so maybe it is not that at all.
I have found a way to type the needed characters by pressing Right Alt (which is Alt Gr on a Spanish keyboard) + one of the needed keys, but it is a very uncomfortable way to achieve it (need to move my left hand over to the right for having both hands on one side of the keyboard) and I'm sure there must be a better solution that escapes me.
Hope someone can lend a hand. Thank you!
gnome-control-center
is now available in jammy-proposed. – Gunnar Hjalmarsson Jan 18 '23 at 14:48/usr/share/X11/xkb
, but I don't know how to do that. If you runman xkeyboard-config
and scroll to the "Key to choose the 3rd level" section, you see a full list of the options which XKB offers out of the box. All those options are one single modifier key; combos are not mentioned. The moral of the story is that if you switch operating system, don't expect every single detail to work exactly the same way as in the OS you left. :/ – Gunnar Hjalmarsson Jan 19 '23 at 15:58