-
Notifications
You must be signed in to change notification settings - Fork 118
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flatpak-only setup? #287
Comments
If I run So I guess it's due to sandbox limitation that |
I think I've realized my mistake. The correct thing to do is:
|
Now there's only one thing which is still not working. fcitx IME doesn't work in host apps. |
You still need some im module on your host (not possible to be provided by flatpak). You can use either: xim (which could be buggy), fcitx 4, fcitx5, or even ibus. I suggest fcitx4 one if fcitx5 is not available by your distro. https://fcitx-im.org/wiki/Install_Fcitx_5#Install_Fcitx_5_from_Flatpak |
In terms of generally available by default without install new package (my guessing), Use following values might work, you can also play with other values.
Also, there's no "fcitx-autostart" in fcitx5, nor "fcitx-diagnose". There's only "fcitx5-diagnose". Also there's no fcitx-config-gtk3 for fcitx5 and org.fcitx.Fcitx5 already bundles the fcitx5-configtool within it, you can access it easily via the fcitx tray icon. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Background
I'm using openSUSE MicroOS, which has an immutable root filesystem. All packages installed / updated to the base system require a system restart. Therefore, it'd be ideal to be able to install fcitx entirely through flatpak only.
Steps to reproduce
I've followed the instructions at https://fcitx-im.org/wiki/Install_Fcitx_5#Install_Fcitx_5_from_Flatpak
So I've installed
org.fcitx.Fcitx5
andorg.fcitx.Fcitx5.Addon.ChineseAddons
flatpak packages from flathub.I've copied
/etc/xdg/autostart/fcitx-autostart.desktop
from within theorg.fcitx.Fcitx5
flatpak package, to~/.config/autostart/fcitx-autostart.desktop
on the host.And I've modified the
~/.config/autostart/fcitx-autostart.desktop
file as follows:I've created the
~/.config/environment.d/envvars.conf
file as follows:Reboot.
Problem / questions
So far so good.
flatpak run --command=fcitx-diagnose org.fcitx.Fcitx5
output:It doesn't use
~/.config/fcitx
and~/.config/fcitx5
for some reason. Passing--env=XDG_CONFIG_HOME=$HOME/.config
doesn't seem to do anything, maybe due to flathub/io.neovim.nvim#2 (comment)And it's not able to detect the running
fcitx
process, but the process seems to be running just fine.sudo journalctl -b | grep -i fcitx
output:So now the main problem is I don't have access to
fcitx-config-gtk3
. Perhaps I can try installing it in mytoolbox
(https://github.com/kubic-project/microos-toolbox), but it'd be nice to have it as a flatpak package.Also, is this kind of setup supported? I saw #108 (comment) where you've mentioned this so I guess it's a yes?
The text was updated successfully, but these errors were encountered: