Can't use input method in snap apps


I would like to ask if the ibus support still requires desktop-legacy interface? snapcraft define destkop-gtk3 doesn’t mention it.


Yes, it still requires desktop-legacy. Note that we aren’t saying that the concept of input methods are “legacy”: rather that the D-Bus services implementing these input methods are not designed with confinement in mind.

They aren’t designed to treat the application as hostile, so in some cases it is possible for one app to snoop on the input of a second app.


Yes please, for some reason I can’t type using fcitx on my snap chromium

Cannot change input method in snaps

@oSoMoN - perhaps you need to do something similar for fcitx as you did for ibus?


Yes, and this is on my to-do list.

snap      2.32.5-1.1
snapd     2.32.5-1.1
series    16
opensuse  42.3
kernel    4.4.126-48-default

I’m on openSUSE, all apps installed via snap can not active fcitx chinese method, hope can solve the problem in the coming version.



I’m on OpenSuse & experiencing the FCITX problem too.


I’m on Debian 9 Stretch, experiencing the same when using Google fcitx input in Firefox snap.


According to my experience currently on iBus is able to function in snap apps. There’s code in supporting Fcitx but it doesn’t seem to work.


Please add support fcitx +1

I’m using vscode with snap under Ubuntu 18.04 and the input method does not work.


FYI, I’m sure the desktop team will comment (@kenvandine) on the specifics, but AIUI fcitx is planned for the next cycle.


Fcitx should be already working: Compatibility with CJKV Input Method Frameworks


It should be already working, please contact the maintainer with the following information to do a re-build:


Awesome, thank you very much!


It seems that the snaps that uses the gnome-platform content snap cannot load the IM module:

Cannot load module /snap/gtk3-demo/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/ GModule (/snap/gtk3-demo/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/ initialization check failed: GLib version too old (micro mismatch)
/snap/gtk3-demo/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/ does not export GTK+ IM module API: GModule (/snap/gtk3-demo/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/ initialization check failed: GLib version too old (micro mismatch)
Cannot load module /snap/gtk3-demo/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/ /snap/gtk3-demo/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/ undefined symbol: ibus_input_context_set_cursor_location_relative
/snap/gtk3-demo/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/ does not export GTK+ IM module API: /snap/gtk3-demo/x1/gnome-platform/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/ undefined symbol: ibus_input_context_set_cursor_location_relative