The same trick works for the firefox snap too (it also needs libibus-1.0-5 in its stage-packages).
This pull request should enable ibus out-of-the-box for snaps that use the desktop-gtk3 helper.
The PR was merged (thanks @kenvandine!), now snaps that depend on the desktop-gtk3 helper will need to be rebuilt to take advantage of it.
chromium in the candidate channel has now working ibus support (tested with ibus-cangjie), and a build of libreoffice with ibus support is ongoing.
chromium in the stable channel now has working ibus support. Everyone interested, please give it a try and report here whether this works as expected.
libreoffice 6.0.3.2 in the candidate channel now has working ibus support (tested with ibus-cangjie). Everyone interested, please give it a try and report here whether this works as expected.
Can confirm ibus works fine with chromium.
I rebuilt the hexchat snap (which uses the desktop-gtk2 helper) locally and that was enough to enable ibus input.
I am now going to look into support for Qt apps.
This is now merged. Snaps that use the desktop-qt* helpers should now accept ibus input (after being rebuilt to pick up the last change in the desktop helpers).
How about fcitx support for snap apps? I just tested with lastest libreoffice in the ubuntu 18.04 store and it didn’t work
Please add support fcitx
yep
I tried mailspring and telegram snap app but they cant work with fcitx well
but flatpak apps are working with fcitx well
wish you can solve this problem
thanks
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
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.
Thanks!