[opensuse-factory] fcitx to write in CJK in calibre
Seasonal greetings mailing list! I was wondering whether there is a recommended method for writing in CJK within calibre. I am currently searching by pasting the CJK text from Kate into the search bar in calibre. Closest thing I could find on the issue for openSUSE was found here, but it is probably a bit old to follow along: https://www.mobileread.com/forums/showthread.php?t=244887 Some digging also brought me to this bug report, though I do not know how to remedy the problem. https://github.com/NixOS/nixpkgs/issues/15569
Hi Chan! On 12/26/2017 03:02 AM, Chan Ju Ping wrote:
I was wondering whether there is a recommended method for writing in CJK within calibre. I am currently searching by pasting the CJK text from Kate into the search bar in calibre.
Honestly, I would just remove fcitx and reinstall ibus. At least that's what I did to be able to use Japanese input again. I don't know why some upstream projects decided to prefer fcitx over ibus but for me fcitx is a huge step backwards compared to ibus. When I started using CJK input on Linux, I first used SCIM back in the days and getting it to work properly was quite painful. I was so happy when ibus became mainstream because CJK input just worked once it was set up once. Then someone decided that fcitx is the new cool thing and all of a sudden, CJK input completely stopped working for me. I first tried setting up fcitx, but the whole user interface was so confusing that I did not manage to get Japanese input working. At some point, I just removed fcitx and set a lock on the package so it wouldn't get reinstalled automatically to break CJK input again. Adrian -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tuesday, 26 December 2017 21:15:57 +08 John Paul Adrian Glaubitz wrote:
Hi Chan!
On 12/26/2017 03:02 AM, Chan Ju Ping wrote:
I was wondering whether there is a recommended method for writing in CJK within calibre. I am currently searching by pasting the CJK text from Kate into the search bar in calibre.
Honestly, I would just remove fcitx and reinstall ibus. At least that's what I did to be able to use Japanese input again.
I don't know why some upstream projects decided to prefer fcitx over ibus but for me fcitx is a huge step backwards compared to ibus.
When I started using CJK input on Linux, I first used SCIM back in the days and getting it to work properly was quite painful. I was so happy when ibus became mainstream because CJK input just worked once it was set up once. Then someone decided that fcitx is the new cool thing and all of a sudden, CJK input completely stopped working for me.
I first tried setting up fcitx, but the whole user interface was so confusing that I did not manage to get Japanese input working. At some point, I just removed fcitx and set a lock on the package so it wouldn't get reinstalled automatically to break CJK input again.
Adrian
I have fcitx set up just right though after several confusing configurations including writing in Traditional Chinese rather than Simplified Chinese. Too invested at this point!
CJK input in Calibre with fcitx works fine here. Make sure fcitx-qt5 and fcitx-mozc are installed, and add Mozc as input method in fcitx’ configuration dialog. Pressing the shortcut to switch input method should display the fcitx window next to the input field. If it still doesn’t work, add this to your .bashrc (or whatever configures your shell) and relogin: export XMODIFIERS=@im=fcitx export QT_IM_MODULE=fcitx
On Wednesday, 27 December 2017 00:44:30 +08 Martin Herkt wrote:
CJK input in Calibre with fcitx works fine here. Make sure fcitx-qt5 and fcitx-mozc are installed, and add Mozc as input method in fcitx’ configuration dialog. Pressing the shortcut to switch input method should display the fcitx window next to the input field.
I checked again. Both are installed.
If it still doesn’t work, add this to your .bashrc (or whatever configures your shell) and relogin:
export XMODIFIERS=@im=fcitx export QT_IM_MODULE=fcitx
No changes unfortunately. I probably have something configured incorrectly compared to your setup. When my cursor is in the search window for calibre, the input method icon in the panel says "No input window" upon mouseover.
On Wed, 27 Dec 2017 04:10:58 +0100, Chan Ju Ping wrote:
On Wednesday, 27 December 2017 00:44:30 +08 Martin Herkt wrote:
CJK input in Calibre with fcitx works fine here. Make sure fcitx-qt5 and fcitx-mozc are installed, and add Mozc as input method in fcitx’ configuration dialog. Pressing the shortcut to switch input method should display the fcitx window next to the input field.
I checked again. Both are installed.
At least calibre + fcitx works with fcitx-qt5 on Leap 42.3, so it must be a regression on FACTORY. Please report it to Bugzilla. Takashi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mittwoch, 27. Dezember 2017 22:17:23 CET Takashi Iwai wrote:
At least calibre + fcitx works with fcitx-qt5 on Leap 42.3, so it must be a regression on FACTORY. Please report it to Bugzilla.
Well I’m using Tumbleweed and I need this for work, so I would have noticed if it ever broke …
On Wed, 27 Dec 2017 23:06:21 +0100, Martin Herkt wrote:
On Mittwoch, 27. Dezember 2017 22:17:23 CET Takashi Iwai wrote:
At least calibre + fcitx works with fcitx-qt5 on Leap 42.3, so it must be a regression on FACTORY. Please report it to Bugzilla.
Well I’m using Tumbleweed and I need this for work, so I would have noticed if it ever broke …
Hm, then might it be a difference of DE? FWIW, I've tested on XFCE and it worked. Takashi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Il giorno Wed, 27 Dec 2017 23:45:55 +0100 Takashi Iwai <tiwai@suse.de> ha scritto:
Hm, then might it be a difference of DE? FWIW, I've tested on XFCE and it worked.
I can't comment on Calibre, but I'm using CJK input with fcitx-qt5 in Plasma 5 and Qt applications without issues. -- Luca Beltrame - KDE Forums team GPG key ID: A29D259B
On Thursday, 28 December 2017 07:08:08 +08 Luca Beltrame wrote:
Il giorno Wed, 27 Dec 2017 23:45:55 +0100
Takashi Iwai <tiwai@suse.de> ha scritto:
Hm, then might it be a difference of DE? FWIW, I've tested on XFCE and it worked.
I can't comment on Calibre, but I'm using CJK input with fcitx-qt5 in Plasma 5 and Qt applications without issues.
It's been this way since the beginning for me, and I just for the life of me can't figure out why I can't get it to work on calibre. Perhaps it is the inability to detect an input field? I tried typing using the virtual qwerty keyboard into calibre and that doesn't work.
On Thu, 28 Dec 2017 05:08:28 +0100, Chan Ju Ping wrote:
On Thursday, 28 December 2017 07:08:08 +08 Luca Beltrame wrote:
Il giorno Wed, 27 Dec 2017 23:45:55 +0100
Takashi Iwai <tiwai@suse.de> ha scritto:
Hm, then might it be a difference of DE? FWIW, I've tested on XFCE and it worked.
I can't comment on Calibre, but I'm using CJK input with fcitx-qt5 in Plasma 5 and Qt applications without issues.
It's been this way since the beginning for me, and I just for the life of me can't figure out why I can't get it to work on calibre.
Perhaps it is the inability to detect an input field? I tried typing using the virtual qwerty keyboard into calibre and that doesn't work.
You may try to create another fresh account just for testing and check whether the very same problem appears. And also try to test a different desktop, e.g. start with the simplest one like icewm. Takashi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thursday, 28 December 2017 05:17:23 +08 Takashi Iwai wrote:
On Wed, 27 Dec 2017 04:10:58 +0100,
Chan Ju Ping wrote:
On Wednesday, 27 December 2017 00:44:30 +08 Martin Herkt wrote:
CJK input in Calibre with fcitx works fine here. Make sure fcitx-qt5 and fcitx-mozc are installed, and add Mozc as input method in fcitx’ configuration dialog. Pressing the shortcut to switch input method should display the fcitx window next to the input field.
I checked again. Both are installed.
At least calibre + fcitx works with fcitx-qt5 on Leap 42.3, so it must be a regression on FACTORY. Please report it to Bugzilla.
Takashi
I just opened one here: https://bugzilla.opensuse.org/show_bug.cgi?id=1074160
participants (5)
-
Chan Ju Ping
-
John Paul Adrian Glaubitz
-
Luca Beltrame
-
Martin Herkt
-
Takashi Iwai