I was able to fix this by changing the input method settings.
When first opening it, I see a window saying:
Current configuration for the input method:
* Active configuration: default (normally missing)
* Normal automatic choice: ibus (normally ibus or fcitx or uim)
* Override rule:
* Current override choice: (en_US)
* Current automatic choice: ibus
* Number of valid choices: 2 (normally 1)
The override rule is defined in /etc/default/im-config.
The configuration set by im-config is activated by re-starting X.
Explicit selection is not required to enable the automatic configuration if the
active one is default/auto/cjkv/missing.
Available input methods: ibus xim
Unless you really need them all, please make sure to install only one input
method tool.
I hit Okay.
Then another window pops up saying:
Do you explicitly select the user configuration?
Select No, if you do not wish to update it(recommended)
select yes, if you wish to update it.
I select "yes"
On the new window I see that "default" is select. (use auto mode set
/etc/default/im-config)
I went to that file and cat it, the result below:
# Default im-config mode (see im-config(8))
OLDIFS="$IFS"
IFS=':'
desktop=
for val in $XDG_CURRENT_DESKTOP; do
for d in 'GNOME' 'MATE' 'UKUI' 'Unity'; do
[ "$d" = "$val" ] && { desktop="$d"; break 2; }
done
done
IFS="$OLDIFS"
if [ -n "$desktop" ]; then
# Start best input method unless overridden below
IM_CONFIG_DEFAULT_MODE=auto
else
# Start best input method only if CJKV environment and not overridden below
IM_CONFIG_DEFAULT_MODE=cjkv
fi
# Set locale dependent preferred IM over standard auto mode
if [ "$desktop" != 'GNOME' ]; then
IM_CONFIG_PREFERRED_RULE="zh_CN,fcitx:zh_TW,fcitx:zh_HK,fcitx:zh_SG,fcitx:ja_JP,fcitx:ko_KR,fcitx:vi_VN,fcitx"
fi
# User and system wide configuration is normally done via im-config program.
# The above IM_CONFIG_PREFERRED_RULE sets locale dependent preferred IM
# override rule. If you wish to use uim over ibus just for ja_JP,
# add :ja_JP,uim at the end of the above list.
# Trace commands for debug
# (This may cause problem configuration file generated under console mode)
#IM_CONFIG_SETMODE="-x"
# Verbose output for debug (uncomment following)
#IM_CONFIG_VERBOSE="true"
-------------
If i change the input method to "auto" (activate IM with @-mark for most
locales) the keyboard works again on all snaps
I hope the information I provided helps somehow
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1863255
Title:
Programs installed in Snap format do not detect the keyboard
To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1863255/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs