阅读:422回复:2
Linux下Inkscape软件输入中文闪退
系统:
OS: Porteus 5.01 x86_64Locale: LANG=zh_CN.utf8问题: Linux下使用Yong输入法在Inkscape矢量绘图软件中输入中文时闪退,输入英文正常,改用Fcitx可正常输入中文。 |
|
板凳#
发布于:2024-12-02 19:30
测试了 yong-lin-2.4.0-0.7z、yong-lin-2.5.0-0.7z、yong-lin-2.6.0-1.7z、yong-lin-2.7.0-0.7z、yong-lin-20230520.7z, 原版在 Porteus-v5.01 均无法运行,终端下报错如下:
root@porteus:/home/guest# /usr/share/yong/yong-tool.sh --install64 DIST legacy found install 64bit version --install64 Done root@porteus:/home/guest# yong (yong:3694): Gtk-CRITICAL **: 04:41:31.589: gtk_window_resize: assertion 'width > 0' failed我参考 Porteus 论坛 “Other Languages”版块 icake 为 Porteus v5.0rc3 打的 Yong输入法模块(Porteus-v5.01 已不可用),添加了一些库文件并打包了 yong-lin-2.8.0-0 模块,它在 Porteus-v5.01 可以完美运行并输入中文,只是在 Inkscape 下切换中文输入闪退,终端下报错如下: guest@porteus:~$ inkscape (org.inkscape.Inkscape:10997): Gdk-WARNING **: 19:13:59.672: The program 'org.inkscape.Inkscape' received an X Window System error. This probably reflects a bug in the program. The error was 'BadLength (poly request too large or internal Xlib length erro'.(Details: serial 26457 error_code 16 request_code 18 (core protocol) minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) 尝试以 yong-lin-2.5.0-0.7z 原版本文件替换原 2.8.0 文件,Inscape 中文输入不再闪退,问题完美解决。感谢 dgod 为我们提供的小小输入法,真的太好用了,小巧、轻快、强大!!! |
|