On 07/17/2017 05:54 AM, Scott Robbins wrote:> On Sun, Jul 16, 2017 at 11:23:08PM -0400, H wrote: >> On 05/27/2017 10:15 PM, H wrote: >>>> >>>> On 4/2/2017 11:27 AM, H wrote: >>>>> Thank you, I just discovered your post. I just installed fcitx-pinyin to try out. >>>>> >>>>>>> These days, I use fcitx-anthy on CentOS (which took some work to set up, >>>>>>> but ibus-anthy, at least, (for Japanese) worked pretty well. I have >>>>>>> instructions, again, for Japanese, but quite possibly applicable at >>>>>>> http://srobb.net/jpninpt.html#CentOS6 >>>>>> I'm going to add that a quick look through pkgs.org shows that CentOS-7x >>>>>> does have packages for fcitx-pinyin and a few other Chinese engines, and it >>>>>> might be worth considering making the switch. It seems (general impression >>>>>> on my part) to be replacing ibus in a lot of places, in the same way ibus >>>>>> gradually replaced scim. > >>> Still have not solved my problem above, i.e., after installing fcitx I can switch between US English and a European language but not to Chinese. >>> >>> I run the Mate Desktop on CentOS 7 and the configuration tool for fcitx that has been installed in the Settings Panel complains that a fcitx-config/fcitx-configtool program is missing. > >>> I have not been able to find that program on the 'net and am hoping someone else - anyone - is using fcitx for input of an Asian language in CentOS7/Mate... >>> > Yes, me, as mentioned above. > > Ok, do this, which is also described on my page under some other > distributions. > Quit X. > Go into ~/.config/fcitx. > Edit profile, looking for pinyan:False. Change that False to True and > startx again. It should then show as available. > > I think, when I decided to use fcitx on CentOS-7, I already knew about this > method so never even looked for configtool. > > > > > By the way, LibreOffice seems to have a couple of Chinese fonts installed, I am not sure I need to install additional fonts for the OS? > Once you get it running, you can see. Possibly not. >Scott, great, thank you very much! Changing the pinyin setting to true from false allowed me to use pinyin to type Chinese into a terminal window. One correction, though, the setting is not in ~/.config/fcitx but in ~/.config/profile. I only had time for a very quick test of typing pinyin into a blank LibreOffice document since I am leaving on a trip. This did not work, however. How do I get this working? In the font selection listbox there are a couple of - ugly-looking - simplified Chinese fonts but I could not get it to work. Do you have any suggestions here?
Scott Robbins
2017-Jul-17 15:31 UTC
[CentOS] Installing support for Chinese text in Centos 7
On Mon, Jul 17, 2017 at 10:19:03AM -0400, H wrote:> On 07/17/2017 05:54 AM, Scott Robbins wrote: > > On Sun, Jul 16, 2017 at 11:23:08PM -0400, H wrote: > > > On 05/27/2017 10:15 PM, H wrote: > > > > > > > > > > > > > > By the way, LibreOffice seems to have a couple of Chinese fonts installed, I am not sure I need to install additional fonts for the OS? > > Once you get it running, you can see. Possibly not. > > > Scott, great, thank you very much! Changing the pinyin setting to true from false allowed me to use pinyin to type Chinese into a terminal window. One correction, though, the setting is not in ~/.config/fcitx but in ~/.config/profile. > > I only had time for a very quick test of typing pinyin into a blank LibreOffice document since I am leaving on a trip. This did not work, however. > > How do I get this working? In the font selection listbox there are a couple of - ugly-looking - simplified Chinese fonts but I could not get it to work. Do you have any suggestions here? >On my version here, it's ~/.config/fcitx/profile, but regardless, glad you found it--there may be differences between the Chinese and Japanese version. As for libreoffice, you might look under tools, options, languages and see what the default Asian is. If that doesn't do it try something like XMODIFIERS=@im=fcitx LC_CTYPE=en_US.UTF-8 GTK_IM_MODULE=fcitx libreoffice and see if that works. (I don't use the CentOS package for libreoffice, I get the latest from their site. ) -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
Scott Robbins
2017-Jul-17 16:45 UTC
[CentOS] Installing support for Chinese text in Centos 7
On Mon, Jul 17, 2017 at 11:31:12AM -0400, Scott Robbins wrote:> On Mon, Jul 17, 2017 at 10:19:03AM -0400, H wrote: > > On 07/17/2017 05:54 AM, Scott Robbins wrote: > > > > > > > > > > > > > By the way, LibreOffice seems to have a couple of Chinese fonts installed, I am not sure I need to install additional fonts for the OS? > > > Once you get it running, you can see. Possibly not. > > > > > Scott, great, thank you very much! Changing the pinyin setting to true from false allowed me to use pinyin to type Chinese into a terminal window. One correction, though, the setting is not in ~/.config/fcitx but in ~/.config/profile. > > > > I only had time for a very quick test of typing pinyin into a blank LibreOffice document since I am leaving on a trip. This did not work, however. > > > > How do I get this working? In the font selection listbox there are a couple of - ugly-looking - simplified Chinese fonts but I could not get it to work. Do you have any suggestions here? > > > > On my version here, it's ~/.config/fcitx/profile, but regardless, glad you > found it--there may be differences between the Chinese and Japanese > version. > > As for libreoffice, you might look under tools, options, languages and see > what the default Asian is. > > If that doesn't do it try something like > XMODIFIERS=@im=fcitx LC_CTYPE=en_US.UTF-8 GTK_IM_MODULE=fcitx libreoffice > and see if that works. > > (I don't use the CentOS package for libreoffice, I get the latest from > their site. )As for filing bugs I don't believe you need a RedHat subscription. I would actually file it under Fedora, Fedora EPEL. All you have to do is go to bugzilla.redhat.com and create an account, it doesn't require RedHat subscriptions. Then you pick classification, (Fedora) and take it from there. -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6