Skip to content
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

Doesn't work on Ungoogled-Chromium Pop!_OS. #52

Closed
coughingmouse opened this issue Dec 21, 2021 · 3 comments
Closed

Doesn't work on Ungoogled-Chromium Pop!_OS. #52

coughingmouse opened this issue Dec 21, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@coughingmouse
Copy link

coughingmouse commented Dec 21, 2021

버그 설명
It just doesn't work on Pop!_OS, and I have no clue what to do. How do I even go back to ibus the way it actually worked?

버그 재현 과정
어떤 과정으로 버그가 발생하는지 단계별로 과정을 설명해주세요.

  1. Install, log out, and log back in
  2. It doesn't work
  3. Run nimf
  4. Invalid layout links are added to the list of Input Sources, but it still doesn't wok
  5. Suffer in agony
  6. Open Nimf Settings
  7. Enable "Setup environment variables, log out, and log back in
  8. It seems to work but for my browser and Chinese
  9. Deactivate and reactivate rime engine to enable Chinese output
  10. still no luck on the browser tho

예상한 결과
I should be able to type everywhere, especially on some Chromium browser???

자신의 PC 환경

  • OS: Pop!_OS 21.10
  • Browser: Ungoogled-Chromium
@coughingmouse coughingmouse added the bug Something isn't working label Dec 21, 2021
@coughingmouse coughingmouse changed the title Just doesn't work on Pop!_OS. Has anyone ever tried using nimf here? Doesn't work on Ungoogled-Chromium Pop!_OS. Dec 21, 2021
@coughingmouse
Copy link
Author

Maybe I should open a new issue for this, but on my setup, typing in Gnome Files to start searching did not function as expected.
Using rime, the symbol of the first keystroke was invalidated, while with libhangul and anthy, the letters were written but was plainly written (e.g. ㄴㅣㅁ프、nインプ), and dragging a character being edited not only moved it around but also selected area from the character's spot to the drag point.

@bdh1993
Copy link
Contributor

bdh1993 commented Dec 22, 2021

Hi, Thank you for your comment.

Pop!_OS 21.10 has a code that forces "IBUS" environment variables.
You can find "pop-default-settings" package. (/etc/profile.d/pop-im-ibus.sh)

There are two solutions.
nimf must be installed & "im-config -n nimf" setting.

First, Remove file or comment out content. (/etc/profile.d/pop-im-ibus.sh)

and just reboot 😄

Second, Add the nimf environment variable.
It is similar to the POP_OS 21.10.

export GTK_IM_MODULE=nimf
export QT_IM_MODULE=nimf
export XMODIFIERS=@im=nimf

You can write the .bashrc, .profile, /etc/profile ... etc.
or recycle the /etc/profile.d/pop-im-ibus.sh.

and just reboot 😄

@bdh1993 bdh1993 closed this as completed Dec 23, 2021
@coughingmouse
Copy link
Author

coughingmouse commented Dec 25, 2021

It's not that nimf's not functioning on every application; just on the version of Chromium I'm using, afaict.
I tested a few apps I use regularly just now to see if it works on them.
What it works on:
Firefox, Zotero, Gnome apps (Files, Terminal, & Settings were checked), VSCode, Alacritty
Where it doesn't:
Gnome shell, Discord (flatpak), Ungoogled-Chromium (flatpak), Joplin (flatpak), Bitwarden client (flatpak)

...Now that I list them, I can see that it's probably just with flatpak that nimf doesn't work.

In the meanwhile, the solution provided does not work, as had been reported on flatpak repository. Solution provided here (in KO-KR) may work, but I haven’t tried.

Aldho this seems to be solvable on the flatpak/snap side, it is no lesser an issue since major browsers other than the ones preinstalled use such packaging systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants