0

I recently bought a keyboard that doesn’t have a right Alt key, which I used extensively to type accented characters and other symbols.

In Windows, Ctrl+Alt provides the same functionality; is there a way to achieve this in Linux?

I’m currently using Fedora with Gnome and the “English (intl., with AltGr dead keys)” layout.

Giacomo1968
  • 58,727

3 Answers3

1

You should be able to choose any key as a "compose key" in place of AltGr. In Ubuntu, it is in the Settings app under Keyboard - I expect Fedora has something similar (maybe the same if it is part of Gnome)

Rohit Gupta
  • 5,096
0

Linux uses Unicode character composition, and Fedora implements that with CtrlShiftU.

In a text editor such as Kate, after pressing CtrlShiftU, an underlined is displayed. Enter the hexadecimal key codes for that character, then press Enter. For example, 00b0 will yield the °, degree symbol; u̲+00A7 gives §, the section symbol, and U+212B yields , the Angstrom character.

Wikipedia provides a list of hex key codes, FileFormat.info has a searchable list, and there are many others.

BTW, I find this method of "toggling" entry mode easier than holding down Alt (and AltFn, where the Function key is needed for numeric keypad) continuously.

0

How to set Ctrl+Alt as AltGr on Fedora GNOME:

  1. Open GNOME Settings.
  2. Navigate to Keyboard → Input Sources.
  3. Click on your keyboard layout (English (intl., with AltGr dead keys)), then click on the gear icon.

Click on Options, then expand the option "Key to choose the 3rd level".

Enable the option:

Ctrl+Alt

(If you still want the original functionality, you can select multiple options here.)