Este contenido no está disponible en el idioma seleccionado.

13.3. Enabling the Compose Key


The Compose key is a feature that enables you to type special symbols or characters not found on your keyboard. In GNOME Desktop, you can define one of the existing keys on your keyboard as the Compose key. The Compose key is used in combination with other keys, known as Compose key sequences, to enter special characters you type frequently.

Example 13.1. Using Compose Key

If you press and release the Compose key, then type AE (in capitals), you will get "Æ". If you type the letters in lower case, you get "æ".
To enable the Compose key and configure a certain key on your keyboard as the Compose key, set the org.gnome.desktop.input-sources.xkb-options GSettings key. That way, the setting will be enabled by default for all users on your system. (For more information on GSettings keys, see Section 9.6, “GSettings Keys Properties”.)

Procedure 13.3. Setting the Right Alt Key as the Compose Key

  1. Create a local database for machine-wide settings in /etc/dconf/db/local.d/00-input-sources:
    [org/gnome/desktop/input-sources]
    # Set the Right Alt key as the Compose key and enable it
    xkb-options=['compose:ralt']
    
    If you want to set a different key than Right Alt, replace ralt with the name of that key as specified in the xkeyboard-config(7) man page, section Compose key position.
  2. Override the user's setting and prevent the user from changing it in /etc/dconf/db/local.d/locks/input-sources:
    # Lock the list of enabled XKB options
    /org/gnome/desktop/input-sources/xkb-options
    
  3. Update the system databases for the changes to take effect:
    # dconf update
  4. Users must log out and back in again before the system-wide settings take effect.
Now, you can start using the Right Alt key as the Compose key. Just press and release the Compose key and then type the key combination to get the specific symbol.

Note

If you, as a system administrator, set the lock on after editing the local database, users will not be able to add other xkb options. The lock prevents users from setting a key combination like Alt+Shift to switch keyboard layouts.
Red Hat logoGithubRedditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

© 2024 Red Hat, Inc.