LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Ibus input method on RHEL not producing correct non-English characters (https://www.linuxquestions.org/questions/linux-software-2/ibus-input-method-on-rhel-not-producing-correct-non-english-characters-4175614021/)

penyuan 09-18-2017 07:17 AM

Ibus input method on RHEL not producing correct non-English characters
 
Hello,

I have a recently installed (close to vanilla/stock) RHEL 7.4 system, and I used its built in GNOME `Settings` -> `Region & Language` -> `Input Sources` GUI to add the Chinese Intelligent Bopomofo (pinyin) input method.

I was able to switch to said input method (which appears to be based on Ibus), but typing with it outputs the literal English character letters rather than the Chinese characters (in this case, the phonetic symbols) that are supposed to be mapped to those keys. It's also strange because the input method actually shows me candidate characters to choose from, so it does recognise what I'm typing, but when I select a character it outputs the literal series of English characters associated with my keystrokes.....

How do I troubleshoot this? Thank you.

DavidMcCann 09-18-2017 11:01 AM

Firstly, did you install the Chinese support package?
yum groupinstall "Chinese Support"

Then you need to go to the menu for System - Preferences - Input (or something like that)
Select "ibus" and click on "Input method preferences" to give more details.

This advice may need some updating: I know that "yum" has been replaced by something else, and I can't remember what!

penyuan 09-18-2017 11:13 AM

Quote:

Originally Posted by DavidMcCann (Post 5760120)
Firstly, did you install the Chinese support package?
yum groupinstall "Chinese Support"

Then you need to go to the menu for System - Preferences - Input (or something like that)
Select "ibus" and click on "Input method preferences" to give more details.

This advice may need some updating: I know that "yum" has been replaced by something else, and I can't remember what!

Has "yum" been replaced by something???? I'm still using it all the time in this installation of RHEL 7.4...

Running `yum groupinstall "Chinese Support"` did not give any results, how do I look for that package group? Maybe it's under another name? BTW, I used `yum search Chinese` and looked at all the results. Looks like I've installed all the relevant packages anyway...

I've uploaded a GIF demonstrating this strange behaviour, please check it out: https://imgur.com/a/kzL1h

What else can I try, thanks!!

DavidMcCann 09-19-2017 11:26 AM

It may be that SL has followed Fedora and you now need
yum groupinstall traditional-chinese-support

The imgur site doesn't work on my computer, so I couldn't see your GIF.

penyuan 09-20-2017 08:23 AM

Quote:

Originally Posted by DavidMcCann (Post 5760548)
It may be that SL has followed Fedora and you now need
yum groupinstall traditional-chinese-support

I ran `yum groups list` to see the full list of installable groups:

Code:

Available Environment Groups:
  Minimal Install
  Infrastructure Server
  File and Print Server
  MATE Desktop
  Basic Web Server
  Virtualization Host
  Server with GUI
Installed Groups:
  Emacs
  Input Methods
  Zhong Yi Song Fonts
Available Groups:
  Additional Development
  Backup Client
  Backup Server
  Base
  CIFS file server
  Compatibility libraries
  Console internet tools
  Debugging Tools
  Desktop
  Desktop Debugging and Performance Tools
  Desktop Platform
  Desktop Platform Development
  Development tools
  Dial-up Networking Support
  Directory Client
  Directory Server
  E-mail server
  Eclipse
  Educational Software
  Electronic Lab
  FCoE Storage Client
  FTP server
  Fedora Packager
  Fonts
  General Purpose Desktop
  Graphical Administration Tools
  Graphics Creation Tools
  Hardware monitoring utilities
  Haskell
  Infiniband Support
  Internet Applications
  Internet Browser
  Java Base
  Java Browser
  Java Database
  Java Platform
  KDE Desktop
  Large Systems Performance
  Legacy UNIX compatibility
  Legacy X Window System compatibility
  Mainframe Access
  Messaging Client Support
  Messaging Server Support
  Milkymist
  Misc
  MySQL Database client
  MySQL Database server
  NFS file server
  Network Infrastructure Server
  Network Storage Server
  Network file system client
  Networking Tools
  Office Suite and Productivity
  PHP Support
  Performance Tools
  Perl Support
  PostgreSQL Database client
  PostgreSQL Database server
  Print Server
  Printing client
  RT
  Remote Desktop Clients
  SNMP Support
  Scientific support
  Security Tools
  Server Platform
  Server Platform Development
  Smart card support
  Storage Availability Tools
  System Management
  System administration tools
  TeX support
  Technical Writing
  TurboGears application framework
  Virtualisation
  Virtualisation Client
  Virtualisation Platform
  Virtualisation Tools
  Web Server
  Web Servlet Engine
  Web-Based Enterprise Management
  X Window System
  Xfce
  iSCSI Storage Client
Done

As you can see, I've tried installing the "Input Methods" and "Zhong Yi Song Fonts" groups which are the only two that look relevant to me... Is there anything else I can try?

Quote:

Originally Posted by DavidMcCann (Post 5760548)
The imgur site doesn't work on my computer, so I couldn't see your GIF.

I've re-uploaded the GIF to the libre Lut.im service with a direct link here:

https://lut.im/t7iJHvJDuo/D0zGITYOnCIasWMh.gif

Hopefully you can see it this time? Thanks for your help!

DavidMcCann 09-20-2017 10:34 AM

The old support package was never listed by "yum grouplist", so perhaps the new one isn't! Have you actually tried "yum groupinstall traditional-chinese-support"?

I still can't see the gif: none of those fancy sites ever work for me, although I can see images posted at this one.

penyuan 09-20-2017 05:26 PM

Quote:

Originally Posted by DavidMcCann (Post 5760931)
The old support package was never listed by "yum grouplist", so perhaps the new one isn't! Have you actually tried "yum groupinstall traditional-chinese-support"?

Thanks for sticking with me and for your patience. Yes I did try "yum groupinstall traditional-chinese-support", and yum said it was not found... Do you think it might be a problem with GNOME 3 vs Ibus instead?

Quote:

Originally Posted by DavidMcCann (Post 5760931)
I still can't see the gif: none of those fancy sites ever work for me, although I can see images posted at this one.

You should be able to directly wget or curl the URL to download the GIF onto your computer, it is a direct link to the file. If that doesn't work, I supposed I can try to record it again but to a WebM video instead!

DavidMcCann 09-21-2017 10:51 AM

I'm out of ideas here, I'm sorry to say. This might be a Scientific Linux problem, although at the CentOS forum, some people say they have problems with ibus and are using fcitx
https://fcitx-im.org/wiki/Fcitx

penyuan 09-21-2017 11:21 AM

Quote:

Originally Posted by DavidMcCann (Post 5761325)
I'm out of ideas here, I'm sorry to say. This might be a Scientific Linux problem, although at the CentOS forum, some people say they have problems with ibus and are using fcitx
https://fcitx-im.org/wiki/Fcitx

Oh well, thanks anyway for your patience! Hopefully someone else has suggestions?


All times are GMT -5. The time now is 04:35 AM.