![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34
Karma: 67986
Join Date: Feb 2014
Device: Kobo Glo, Kobo Aura H2O
|
Calibre 2.0, Linux, Chinese input method
I've come into some problems about Chinese input method under Linux (openSUSE 13.1, to be specific) and managed to deal it with a workaround, here it is:
I couldn't type Chinese on Calibre 2.0... well, on all Qt 5 applications under Linux (e.g. Sigil 7), actually. After a quick research I found that my input method, gcin, haven't develop a qt5-immodule yet. So I installed fcitx (another input method), along with its qt5 module (thanks to all volunteers on software.opensuse.org.) However I still couldn't type Chinese on Calibre, yet I could on Sigil now. With another quick research I found Calibre use its own Qt5 library with its own plugin directory: Code:
/opt/calibre/lib/qt_plugins (the plugin directory might vary on different distributions with different CPU architectures) Code:
su - cd /opt/calibre/lib/qt_plugins ln -s /usr/lib64/qt5/plugins/platforminputcontexts/ . Update: It seems I can edit an environment variable to achieve the same result, since reinstalling calibre could wipe out the link I created: Code:
export QT_PLUGIN_PATH=$QT_PLUGIN_PATH:/usr/lib64/qt5/plugins/ Last edited by anavin; 08-26-2014 at 10:59 AM. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,307
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Thanks for sharing your workaround
![]() |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
select input method | pepijndevos | Kindle Developer's Corner | 32 | 11-12-2012 03:18 PM |
Touch how to enable third-party input method in rooted nook touch | tigerszheng | Barnes & Noble NOOK | 5 | 10-24-2011 08:30 PM |
Japanese/Chinese Input? | renochew | Nook Developer's Corner | 11 | 03-01-2011 12:37 AM |
Android Chinese Handwriting Recognition Input | ricco | enTourage Archive | 3 | 11-27-2010 10:20 AM |
Android Penpower Input Method on Edge? | ricco | enTourage Archive | 0 | 04-26-2010 12:11 AM |