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

修复Fcitx输入法文字候选框在PyCharm中无法跟随光标问题 #33

Closed
ferstar opened this issue Dec 30, 2020 · 0 comments
Closed

Comments

@ferstar
Copy link
Owner

ferstar commented Dec 30, 2020

  • 症状:搜狗输入法文字候选框一直在窗口的左下角,根本看不见候选,只能盲打
  • 系统:

大概JB也知道自家runtime坑了,所以不知从哪个版本开始支持更换自定义的runtime,所以事情就变得更简单了: 下载合适的runtime换一下就行OK

注意:如果你最近更新了PyCharm,然后发现频繁闪退,那就得先把runtime切换为IDE默认,然后再更新一下自定义runtime即可

https://github.com/ayanamist/JetBrainsRuntime-for-fcitx


fcitx version: 4.2.9.7
OS: Ubuntu 20.04.1 LTS x86_64 
Host: 82DM Lenovo XiaoXinPro-13ARE 2020 
Kernel: 5.6.0-1038-oem 
Uptime: 3 days, 15 hours, 10 mins 
Packages: 2526 (dpkg), 17 (snap) 
Shell: zsh 5.8 
Resolution: 1680x1050, 1920x1080 
DE: GNOME 
WM: Mutter 
WM Theme: Yaru-dark 
Theme: Yaru [GTK2/3] 
Icons: Yaru [GTK2/3] 
Terminal: x-terminal-emul 
CPU: AMD Ryzen 7 4800U with Radeon Graphics (16)  
GPU: AMD ATI 03:00.0 Renoir 
Memory: 5793MiB / 15432MiB                                                 
  • PyCharm版本:2020.3.1 Professional Edition from SnapStore

  • 解决办法:

    下载解压 这个runtime

    假设你解压的路径在~/myprojects/jbr

    sudo mount -o bind ~/myprojects/jbr /snap/pycharm-professional/current/jbr

  • 效果图:

image

  • 默认runtime:

default-runtime

  • 打patch后的runtime:

new-runtime

  • 参考对我基本无用,snap商店里的pycharm没有idea.sh这个启动脚本
  1. https://bbs.archlinuxcn.org/viewtopic.php?pid=43982#p43982
  2. https://blog.csdn.net/u011166277/article/details/106287587
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant