De samensteltoets inschakelen

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.

Set the Right Alt key as the Compose key

  1. Maak het profiel user aan met de volgende regels:

    /etc/dconf/profile/user

    user-db:user
    system-db:local

    local is de naam van een dconf-database.

  2. Create the directory /etc/dconf/db/local.d/ if it does not already exist.

  3. 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 Position of Compose key.

  4. Override the user's setting and prevent the user from changing it in /etc/dconf/db/local.d/locks/input-sources:

    # Vergrendel de lijst met ingeschakelde XKB-opties
    /org/gnome/desktop/input-sources/xkb-options
  5. Werk de systeemdatabases bij:

    # dconf update
  6. Gebruikers moeten zich af- en weer aanmelden om de systeembrede instellingen door te voeren.