![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Absolute Beginner Talk The perfect starting place to find out more about computers, Linux and Ubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2006
Location: Sweden
Beans: 31
Edubuntu 7.10 Gutsy Gibbon
|
HowTo: Japanese Input with UIM
Hi.
I noticed a lot of pepole, including myself just a while ago, have trouble getting Japaneses input to work on ubuntu so I thought I would setup this howto on how I got mine to work. I have Ubuntu 6.10 (Edgy) and I used this howto as guideline https://help.ubuntu.com/community/JapaneseInput First we need to install some packages: Code:
sudo apt-get install uim-applet-gnome uim-xim uim-anthy uim-gtk2.0 im-switch Now the other howto tells you to do the following command, which only gives an error: Code:
im-switch -s uim_anthy Code:
Error: no configuration file "uim_anthy" exists. Error: No action taken. Code:
uim-pref-gtk Here I did the following changes: 1) In the global section I changed the "Input meta toggle key" to "<Shift>space", this I my liking and to follow the other guide 2) Change "Alternative input method" to Anthy. 3) Now in the Anthy section I changed "Default input mode" to Hiragana. Now you should be able to change between writing with you standard letters and to typing hiragna! やった! To get a useful toolbar type: Code:
uim-toolbar-gtk Code:
uim-toolbar-gtk-systray Hope this helps. Cheers! |
|
|
|
|
|
#2 |
|
A Carafe of Ubuntu
![]() Join Date: Jul 2005
Location: Australia
Beans: 121
Ubuntu 6.06
|
Re: HowTo: Japanese Input with UIM
Thank you, this worked great!
|
|
|
|
|
|
#3 |
|
Way Too Much Ubuntu
![]() |
Re: HowTo: Japanese Input with UIM
thank you, it worked i love typing in japanese...
|
|
|
|
|
|
#4 |
|
5 Cups of Ubuntu
![]() Join Date: Nov 2006
Location: Switzerland
Beans: 17
Ubuntu 9.04 Jaunty Jackalope
|
Re: HowTo: Japanese Input with UIM
ありがとございましと!
That was perfect. Thanks a lot. It will help a lot for my japanese courses. |
|
|
|
|
|
#5 |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2006
Location: Sweden
Beans: 31
Edubuntu 7.10 Gutsy Gibbon
|
Re: HowTo: Japanese Input with UIM
Glad to hear its working for you guys!!!
|
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2006
Beans: 4
|
Re: HowTo: Japanese Input with UIM
It didn't work for me and for good reason I think :
There is a bug (missing file) in the uim_anthy package. This file has the following content Code:
XIM=uim
XIM_PROGRAM=/usr/bin/uim-xim
XIM_ARGS=
GTK_IM_MODULE=uim
ENGINE=anthy
if [ -r "$HOME/.uim" ]; then
TMPFILE=$(mktemp) || exit 1
if [ "$(grep "; IM-SWITCH VALUE" $HOME/.uim)" ]; then
sed "s/(define default-im-name '[^)]*) ; IM-SWITCH VALUE/(define default-im-name '$ENGI
NE) ; IM-SWITCH VALUE/" < $HOME/.uim > $TMPFILE
else
cat $HOME/.uim > $TMPFILE
if [ "$(grep -E "^\(define[[:space:]]+default-im-name[[:space:]]" $HOME/.uim)" ]; then
echo "; (define default-im-name '$ENGINE) ; IM-SWITCH VALUE" >> $TMPFILE
else
echo "(define default-im-name '$ENGINE) ; IM-SWITCH VALUE" >> $TMPFILE
fi
fi
mv $TMPFILE $HOME/.uim
else
echo "(define default-im-name '$ENGINE) ; IM-SWITCH VALUE" > $HOME/.uim
fi
Alternatively, I tried also this tip and it worked mostly well but I had minor annoyances with french only special characters in QT based apps. Last edited by lanig; January 9th, 2007 at 03:57 AM.. |
|
|
|
|
|
#7 |
|
Gee! These Aren't Roasted!
![]() Join Date: Feb 2007
Location: Earth
Beans: 178
Ubuntu 9.04 Jaunty Jackalope
|
Re: HowTo: Japanese Input with UIM
I finally got japanese input working by following the solutions in this thread - thank you all. ありがと。
However it was not all that easy. Following kOrv3n's step above allowed me to input japanese on the command line terminal but not anywhere else. So I decided to try lanig's steps in adding in the missing file. This worked out well and I got input for ooffice and gedit but not terminal, thunderbird or firefox. After a restart everything works! I still have an irritating problem of having to type "+<space> to get the double quote character and '+<space> to get the quote. Still looking for a solution for this. Otherwise everything works fine. Last edited by seetho; April 17th, 2007 at 07:53 AM.. |
|
|
|
|
|
#8 | |
|
A Carafe of Ubuntu
![]() |
Re: HowTo: Japanese Input with UIM
Quote:
|
|
|
|
|
|
|
#9 |
|
A Carafe of Ubuntu
![]() |
Re: HowTo: Japanese Input with UIM
I tried putting it into a text file and saving it under the name and pathway listed, but it told me that I don't have permission to save there.
|
|
|
|
|
|
#10 |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2006
Location: Sweden
Beans: 31
Edubuntu 7.10 Gutsy Gibbon
|
Re: HowTo: Japanese Input with UIM
I'm not sure what that file does since it work for without it but I guess you need to use "sudo" to be able to write the file.
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|