DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th September 2019
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
 
Join Date: Sep 2014
Posts: 242
Default unble to input with Ibus and SCIM

I am new to FreeBSD and am in the process of getting accustomed to it. I have tried both Ibus and SCIM with FreeBSD 12, but neither will input Chinese. I can add input methods, but cannot use them.

Ibus' directions say:
Code:
add
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
to ~/bshrc
I have an .shrc and .cshrc. I tried adding those entries to one, then the other, and even created a .bshrc.

SCIM's directions say:
Code:
Remember to set environment variable XMODIFIERS:
  csh/tcsh: setenv XMODIFIERS @im=SCIM
  sh/bash:  export XMODIFIERS='@im=SCIM'
and set LANG, LC_CTYPE to one of the following values:
  Traditional Chinese:
    zh_TW.UTF-8, zh_TW.Big5
    zh_HK.UTF-8, zh_HK.Big5-HKSCS
So my thought is the locale settings must be modified. I might be interpretting it incorrectly, but the Handbook directions for setting locales in ~/.login_conf and /etc/rc.conf appear to be for setting the user's language, not adding a language. I cannot even find the file with locale settings file to look at it. The setlocale man page says it is in /usr/share/locale, but I do not see it.

It is a small problem based on my inexperience with FreeBSD. I have figured out most of the system, but configuring input methods is a bit challenging.

P.S.
I can search the FreeBSD forum, but not register to post any questions. I have tried to register with three browsers, but none of them display the captcha. So this is my only forum resource.
Reply With Quote
  #2   (View Single Post)  
Old 4 Weeks Ago
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
 
Join Date: Sep 2014
Posts: 242
Default

I found the solution in this documentation concerning fctix; http://www.scottro.net/jpninpt.html#FreeBSD.
Set dbus_enable="YES" in /etc/rc.conf. Works perfectly with no need to add anything to .shrc.
Reply With Quote
  #3   (View Single Post)  
Old 1 Week Ago
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
ISO Quartermaster
 
Join Date: Apr 2008
Location: NYC
Posts: 600
Default

I have been ill so haven't seen this till now. Glad it worked I would recommend switching to fcitx these days though, as the page says somewhere. Even OpenBSD now has it.
Reply With Quote
  #4   (View Single Post)  
Old 1 Week Ago
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
ISO Quartermaster
 
Join Date: Apr 2008
Location: NYC
Posts: 600
Default

I am going to add I really have gotten annoyed with ibus on both Linux and FreeBSD. I am glad it was just dbus for you, but I have had things like having to now run a script when switching between English and Japanese. Not sure if the details are on that page, every so often, especially when my olderversion said use iBus and the later use is fcitx, I tend to remove old stuff.

Again, I'm glad my little page helped.
Reply With Quote
  #5   (View Single Post)  
Old 1 Week Ago
sacerdos_daemonis's Avatar
sacerdos_daemonis sacerdos_daemonis is offline
Real Name: Will forever be a secret.
Spam Deminer
 
Join Date: Sep 2014
Posts: 242
Default

Quote:
Originally Posted by scottro View Post
I would recommend switching to fcitx these days though, as the page says somewhere. Even OpenBSD now has it.
I probably shall try it at some point. Right now I am happy with something that works well enough for my needs. When trying a new system I must experiment. For example, Ibus is useless for me with OpenBSD, because it has poor Chinese support. With OpenBSD I was using UIM, because it fulfilled my needs. I might try fcitx just to see it. Then again, I might not stick with FreeBSD (I have a couple issues), in which case I would try fcitx with the new system.
Quote:
I am going to add I really have gotten annoyed with ibus on both Linux and FreeBSD. I am glad it was just dbus for you, but I have had things like having to now run a script when switching between English and Japanese.
Interesting. Switching input methods is not a problem for me with Ibus on FreeBSD 12. Like OpenBSD has better support for Japanese than Chinese, perhaps your problem is due to FreeBSD having better Chinese support than Japanese, even though the ports list shows many Japanese related packages. I have discovered applications are not exactly same in the ports of different systems.
Reply With Quote
  #6   (View Single Post)  
Old 1 Week Ago
scottro's Avatar
scottro scottro is offline
Real Name: Scott Robbins
ISO Quartermaster
 
Join Date: Apr 2008
Location: NYC
Posts: 600
Default

That makes perfect sense to me. When it's working for a person, there's no reason to switch, I only began investigating alternatives when I started having issues with ibus. But for me it was in every Linux and BSD I use.

Ironically, though it now makes Japanese easier for me on Linux and the BSD's the c in fcitx is for Chinese. I was lucky sklled people adapted it for Japanese.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
scim - cannot choose input method notooth OpenBSD Packages and Ports 3 18th December 2015 04:14 AM
Ibus has no Chinese input methods. sacerdos_daemonis OpenBSD Packages and Ports 12 24th September 2014 12:36 PM
Input foreign characters under X11 Beastie General software and network 5 30th August 2009 11:51 AM
C and file input/output 18Googol2 Programming 3 20th August 2008 04:02 PM
shell script with input c0mrade Programming 5 13th July 2008 04:33 AM


All times are GMT. The time now is 02:30 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick