Bug#1032347: gnome-control-center: Keyboard settings: disabling the 'Compose Key' is not persisted in user dconf settings

Gunnar Hjalmarsson gunnarhj at debian.org
Sat Mar 4 18:25:51 GMT 2023


James Addison wrote:
> However: in the particular case of disabling the 'Compose Key' (which
> has a non-empty default), the setting is not persisted.
> 
> To explain another way: although disabling the 'Compose Key' using
> the keyboard panel takes effect in the current session, it is
> restored to the default value ('Left Super' in this case) after the
> user logs out and logs back in.

I can't reproduce that behavior on my Debian testing.

> This seems to be because when the 'Compose Key' is disabled, there is
> no configuration entry for it written to the user's relevant dconf
> entry, which is '/org/gnome/desktop/input-sources/xkb-options'.

For me there is. If I choose Left Super as the Compose key I can confirm 
it instantly this way:

$ gsettings get org.gnome.desktop.input-sources xkb-options
['compose:lwin']

And if I disable the Compose Key control:

$ gsettings get org.gnome.desktop.input-sources xkb-options
@as []

> As a workaround it is possible to use the 'dconf' command-line
> interface to configure an empty mapping for the compose key:
> 
>   $ dconf write /org/gnome/desktop/input-sources/xkb-options "['compose:none']"

I don't think "compose:none" is a valid XKB option. And you really 
shouldn't need to do that.

> It looks like this could be the same issue as reported in #1027003,
> except for a different key within the same settings panel.

Similar indeed, but not same issue I think. Before I added a patch as a 
fix of #1027003, there was no way to disable the Alternate Characters 
Key control. But a way to disable the Compose Key control was and is 
present via code which has been committed upstream.

-- 
Cheers,

Gunnar Hjalmarsson



More information about the pkg-gnome-maintainers mailing list