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

flatpak 下無法使用 hime #645

Open
laiis opened this issue Jun 7, 2020 · 2 comments
Open

flatpak 下無法使用 hime #645

laiis opened this issue Jun 7, 2020 · 2 comments

Comments

@laiis
Copy link

laiis commented Jun 7, 2020

os: ubuntu 20.04
env: libreoffice( version: 6.4.4.2) from flatpak
description:

  1. flatpak run org.libreoffice.LibreOffice
  2. 在 libreoffice 環境下無法使用(切換)輸入法輸入中文字
@xatier
Copy link
Contributor

xatier commented Jun 8, 2020

Not sure if related. flatpak/flatpak#2031

@marktwtn
Copy link
Contributor

marktwtn commented Apr 8, 2022

@laiis
我試了一下是有方法可以使用,只是有些前提條件
flatpak 走的是 XIM,而不是 GTK 或 Qt
所以建議在設定當中把「直接進入中文輸入狀態(限非XIM)」以及「所有程式共用相同的輸入法狀態」關閉
進去 flatpak 之後只要按 Ctrl+Space (輸入法視窗(開啟/關閉)的預設切換鍵) 就可以正常使用了
就算不管上述提到的設定,基本上最多按個兩次 Ctrl+Space 也會正常

相關的 XIM 程式碼還需要修改,但目前先提供一個暫時解套的方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants