[SOLVED] Japanese input makes things weird

Hello everybody!
Well, recently I've reinstalled Arch Linux. Everything was ok (as well in the previous installation), but since I've installed the Japanese input/fonts, my fonts got weird into QT applications. But that happens only when I activate the input for QT apps! The following image will show you better what is happening:
While the correct is:
I call Anki with the following command:
export LC_CTYPE="ja_JP.utf8" && anki
I have the Japanese fonts installed in my computer and the locales.conf is set with the Japanese language. I use GNOME. Any ideas?
Thank you and apologise this bad written English.
Daniel
Last edited by danielskoda (2009-06-15 12:49:15)

Oh, I know your problem. I should have noticed it earlier when you showed a screenshot of a program that wasn't in English, but I noticed it now when you posted your .xprofile file. A little too late now I guess.
http://wiki.archlinux.org/index.php/Sci … ated_files
You need to add your current locale to the supported unicode locales for scim to work with anything other than GTK programs.
But if uim works and you like it, you might as well just stick with uim.
As for defining a font for Asian languages, what do you mean? If you only use Japanese and not Chinese or Korean it shouldn't be much of a problem, you could just put a Japanese font there and it'll borrow from that by default. (Or do you have multiple Japanese fonts or something and you want to choose one?)
You can set a priorities list, by making certain fonts take priority over others, but you can't set a different font for each language because it is impossible for unicode to tell which language it is. This is my .fonts.conf:
<fontconfig>
<alias>
<family>Monospace</family>
<prefer>
<family>DejaVu Sans Mono</family>
<family>Arial Unicode MS</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>DejaVu Sans</family>
<family>iYaHei</family>
<family>Malgun Gothic</family>
<family>Arial Unicode MS</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Times New Roman</family>
<family>MS Mincho</family>
<family>MingLiU</family>
<family>MS Song</family>
<family>UnBatang</family>
<family>Arial Unicode MS</family>
</prefer>
</alias>
<dir>/home/sokuban/.fontmatrix</dir>
</fontconfig>
So for example, "Sans" uses "DejaVu Sans" for Latin characters, and if "Sans" needs to display a glyph that "DejaVu Sans" doesn't have, it tries "iYaHei", then "Malgun Gothic" if "iYaHei" can't display it etc etc.
However, in firefox you /can/ set a different font for each language. It can be done from the GUI menu: Edit > Preferences > Content > Fonts & Colors
Last edited by sokuban (2009-06-15 17:20:12)

Similar Messages

  • [SOLVED] Japanese Input using IBus/Mozc

    Good day,
    Recently, I finally managed to install Arch (phew!)
    As the title suggests, I need to frequently use Japanese Input. I've tried Anthy, however, the prediction is bad and the dictionaries are lacking.
    Then I've found mozc (successfully utilized on Mint and Manjaro before) along with IBus , which worked really great!
    Running mozc successfully on Arch has been a series of unsuccessful attempts so far. I have browsed tons of pages about people having similar problems, none of the given solutions seem to work for me.
    This is what I've done so far:
    1. After installation of Arch, I installed Cinnamon and GDM.
    2. I've followed IBus installation page. Installed ibus + ibus-qt packages, then installed mozc through yaourt.
    3. Put the lines below to ~/.xprofile (Note: .xprofile didn't exist in the first place, so I created it).
    export GTK_IM_MODULE=ibus
    export XMODIFIERS=@im=ibus
    export QT_IM_MODULE=ibus
    ibus-daemon -drx
    and in ~/.bashrc
    ibus-daemon -drx
    5. Ran qtconfig-qt4, under the "Interface" tab, set ibus as default.
    6. In /usr/bin/skype, I put the line below.
    export XMODIFIERS=@im=ibus
    7. Installed a set of Japanese fonts.
    8. Finally, added the Japanese input -> mozc to my IBus input methods.
    At this point, Japanese input is supposed to work after a relog. I decided to reboot, though, just for safety.
    Yes, IBus did autostart. The tray icon would soon disappear for no reason. After restarting Cinnamon, it would magically re-appear and work with inputs like English/Polish properly. Japanese, too, albeit, not with the desired results.
    First of all, the typed text in Japanese will not appear unless I press enter in applications like Firefox, Leafpad, LibreOffice. That is not the desired behavior of a Japanese Input Method Editor. Back on Mint/Manjaro the text would appear instantly, that's how it's supposed to behave.
    I use Skype extensively, and the Japanese input doesn't seem to work there at all, even after putting the export line into /usr/bin/skype.
    I was hoping somebody here would be able to help me. Thank you in advance!
    Last edited by ConstruKction (2014-04-14 11:08:17)

    Hello,
    I went with the suggestion of using fcitx instead of IBus. I once again decided to follow the fcitx Arch Wiki thoroughly. Here's what I've done:
    I've installed fcitx-im and fcitx-mozc packages. Before that, I completely removed IBus.
    I put this in my ~/.xprofile and ~/.profile
    export GTK_IM_MODULE=fcitx
    export QT_IM_MODULE=fcitx
    export XMODIFIERS="@im=fcitx"
    After that, I configured my fcitx, and added mozc as my layout for Japanese.
    Ran this command, too since Gnome apparently tries its best to break other IMEs.
    $ gsettings set org.gnome.settings-daemon.plugins.keyboard active false
    Fcitx seemed much, much better than IBus. It's faster and more responsive, however, the Skype lament still persisted, so I decided to test out one more thing, which has caught my eye whenever I ran an application through the console. The error message was saying something about 'falling back to the "C" locale', so I went way back to the "locale" Arch Wiki article, only to find out, that inside my /etc/locale.gen, I had only one US locale. On top of that, the US locale in locale.gen was different than the US locale in /etc/locale.conf.
    A silly, yet, overlooked mistake.
    After uncommenting my locale, generating a new one and rebooting my system, Skype finally came back to life, and I was able to type Japanese inside its text field.
    Thank you again for your input! This case is solved.

  • [SOLVED] Japanese Input in Terminal? (urxvt)

    I'm using uim+anthy and after a quick "space+shift" I can type
    Japanese anywhere just fine-- except in my terminal (rxvt-unicode-256color--
    Japanese characters are displayed properly by the way)
    My ~Xdefaults:
    *antialias: true
    *hinting: true
    *hintstyle: hintfull
    Xft.dpi: 96
    Xft.antialias: true
    Xft.rgba: rgb
    Xft.hinting: true
    Xft.hintstyle: hintfull
    URxvt.perl-ext-common: default,tabbed
    URxvt.title: makutsu
    ## borderless and no scrollbar
    URxvt*scrollBar_right: false
    URxvt*scrollBar: false
    URxvt*borderLess: false
    ## transparency
    URxvt*inheritPixmap: true
    URxvt*tintColor: white
    URxvt*shading: 40
    URxvt.font: xft:Takao:pixelsize=12
    *background: #000000
    *foreground: #FFFFFF
    !black
    *color0 : #222222
    *color8 : #454545
    !red
    *color1 : #B22222
    *color9 : #FA8072
    !green
    *color2 : #556B2F
    *color10: #9ACD32
    !yellow
    *color3 : #B8860B
    *color11: #DAA520
    !blue
    *color4 : #4682B4
    *color12: #6495ED
    !magenta
    *color5 : #9932CC
    *color13: #DA70D6
    !cyan
    *color6 : #87CEEB
    *color14: #B0E0E6
    !white
    *color7 : #C0C0C0
    *color15: #FFFFFF
    and in my ~xinitrc:
    nitrogen --restore &
    cairo-compmgr &
    export XMODIFIERS='@im=uim'
    export LC_CTYPE=ja_JP.utf8
    export GTK_IM_MODULE="uim"
    export QT_IM_MODULE="uim"
    LANG=zh_CN.utf8 conky &
    exec ck-launch-session openbox
    [Japanese is working just fine even without the "exports"
    but I observed that with "export LC_CTYPE=ja_JP.utf8" the
    Japanese characters get antialiased]
    My fonts.conf:
    <?xml version='1.0'?>
    <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
    <fontconfig>
    <match target="font" >
    <edit mode="assign" name="rgba" >
    <const>rgb</const>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="hinting" >
    <bool>true</bool>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="hintstyle" >
    <const>hintslight</const>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="antialias" >
    <bool>true</bool>
    </edit>
    </match>
    </fontconfig>
    Not sure if it is relevant but I noticed that when I try to do "space+shift"
    within the terminal it will only react to the space key--
    Last edited by tabelle (2010-07-14 17:44:00)

    cthon wrote:
    From what I recall, running uim-xim in the background significantly slows down urxvt and xterm startup. I recommend running:
    % uim-fep
    at the beginning of your terminal session. This enables Japanese input only in the current terminal window. I haven't used uim-xim in years.
    I had that problem with scim and setting imFont fixed it
    I have this in my .Xdefaults
    urxvt*imFont: -*-song ti-*-*-*-*-*-*-*-*-*-*-*-*
    EDIT: I have it set up for chinese, so maybe song ti does not work for you
    Last edited by xenofungus (2010-09-09 20:01:03)

  • Japanese Input on a Blackberry in Germany

    We got a 8707v working with Romaji input in the UK.  But the same package did not work in Germany or France on devices there.
    We are with Vodafone.  We deleted the vendor.xml  before install but still not able to get this working.   Chinese and Korean work fine.
    What is it in the Device.xml or CJK.alx files or elsewhere that might make this firmware UK specific or prevent the Romaji methiod from working? All the .cod files referenced in the Romaji method section of the CJK.alx have loaded on the device and I gave them all full permissions.  I choose Japanese input on the device but it does not work.
    net_rim_tid_AWnnJapanese.cod
    JapaneseOptions.cod
    net_rim_tid_dynamic_transcoding_data_Shift_JIS.cod
    net_rim_tid_dynamic_transcoding_data_EUC_JP.cod
    net_rim_font_japanese.cod
    net_rim_runtime_resource__ja.cod
    net_rim_bb_resource__ja.cod
    net_rim_bb_diagnostic_resource__ja.cod
    net_rim_wlan_bb_resource__ja.cod
    net_rim_wlan_runtime_resource__ja.cod 
    I have tried firmware from all over the latest was: Software For BlackBerry 8707v (TM) BlackBerry Handheld Software v4.2.2.342 (Chinese)

    Hi,
    We use at our firm 8707V and I downloaded the same firmware for Japanese Character Support.
    We also have offices across in European town such as Frankfurt and Paris.
    We did try number of devices to achive the Japanese Character Support, however none from European 8707 devices works.
    What we found is that 8707 model with only QWERTY model works with the firmware but not with any other K/B such one you can obtain in German and France.

  • How to get Chinese and Japanese input in X11?

    I have tried a few things like building UIM, Canna, and Anthy, but nothing seems to work. For one thing, I seem able to compile and install the Canna library, but when I run ./configure for UIM, it can't find Canna.
    Can somebody walk me through getting Chinese and Japanese input in X11?

    It would probably be good to ask this in the Unix forum:
    http://discussions.apple.com/forum.jspa?forumID=735
    What apps are you trying to use?
    For what it's worth, it recently came up on the Chinese-Mac mailing list:
    http://groups.google.com/group/chinesemac/browse_thread/thread/19d00bd8cc3b1d88

  • DVD will not play and states "supported disk not available" and makes a weird noise and then ejects the dvd

    My MacbookPro is only 5 months old and in really good condition. The only problem I am encountering is that when I insert any type of dvd disc, it starts to make this weird grinding noise that goes eeee-eeee, and then does that a couple of times and then the disc ejects on its own. When i try to play it with idvd, it does the same noise thing and then iDvd state "supported disk not available". The dvd does not even read on the computer.

    If only five months old it is still under warranty. Take it back.

  • Japanese Input Help

    Hi everyone, I'm a new convert and I love it but I'm having trouble with Japanese input.
    When working I have to constantly switch between English, hiragana, and katakana. With windows I used alt ~ to switch between romaji and hiragana, then I would use f7 to convert the most recent word to katakana.
    For OS X I have a working non-ideal solution, I removed everything but hiragana and english. I can flip between them easily now, however, that creates the problem of katakana. If I add katakana to the input menu then it makes flipping between english and hiragana a lot more annoying considering the frequency. That and having to add/remove Chinese when I occasionally need it is a pain.
    I'm not trying to nitpick, and this wouldn't be that big a deal if I didn't have to flip about 50 - 100 times a day.

    For OS X I have a working non-ideal solution, I
    removed everything but hiragana and english. I can
    flip between them easily now, however, that creates
    the problem of katakana. If I add katakana to the
    input menu then it makes flipping between english and
    hiragana a lot more annoying considering the
    frequency. That and having to add/remove Chinese when
    I occasionally need it is a pain.
    Have you looked at the Transliterate options which have keyboard shortcuts and which appear at the bottom of the "flag" menu when Hiragana is active? I don't know if these do what you want for Katakana.
    You might also want to ask in the Apple Japanese forums, a link to which is at the bottom of this page:
    http://homepage.mac.com/thgewecke/TypingJapanese.html

  • How to install Japanese input method on my 8820

    Hi everyone.I just bought an 8820 and I wanna install the Japanese input modules on it.
    However, after installing the 4.5 East Asian version of the ROM, there's no Japanese input selection.
    is it possible that the 8820 could install the Japanese input modules?

    1. Download the OS file to the PC then install it to the PC by running (double clicking) the file you downloaded.
    2. Go to c:\program files\common files\research in motion\apploader and delete the file named "vendor.xml."
    3. Plug in BB and double click on "Loader.exe." It's located in the same place as the above vendor.xml file.
    Now, with loader.exe running, do you see the additional options for the launguages?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Kotoeri Japanese input not working at all on Leopard

    I recently installed leopard, wiped HDD and did fresh install. after doing all my apps and transferring data etc, i found i couldnt setup up Japanese input (kotoeri). Japanese was not listed under the input menu tab of international settings in system preferences. So i found out somewhere else i should install the japanese language from the optional installs pacakge of the dvd. so i did that, and kotoeri now appears in the list of input menus, but it doesnt work. All the sub options (6 of them for hiragana, katakana etc) all appear in japanese script (which is weird, they appeared in roman alphabet in os 10.4, and the icons look strange too). Anyway, if i select one of them, im not able to type at all in japanese, it just continues to type in english. I tried many different apps, windows, finder windows etc. Nothing. Is there some way to install this functionality, i really dont want to have to install the os again..

    I've not heard of anyone else with your problem and don't know of any possible fix other maybe a reinstall. If you know Japanese well, you might try asking in the Japanese forums:
    http://discussions.info.apple.co.jp/

  • System sudden slow/no more Japanese input

    Hi,
    I have an iBook G3 with the latest version of 10.3 on it. Suddenly, the system has become very slow, and the Japanese input has stopped working.
    I repaired all permissions but to no avail.
    What could it be? Should I go to a full new system install right away?
    Thanks,
    Martin
    iBook G3 500 Mhz   Mac OS X (10.3.9)   640 MB RAM

    You're Very Welcome Martin!
    I'm happy I could help you solve your problem.
    Be careful not to let your HD get too full again! That factor could have led to the corruption of the user account.
    Also, I notice that you have marked your question as answered, but have not utilized the Helpful or Solved options. That may be intentional, but, if you are not aware of the benefits, of using that function, here is some information.
    When you mark the appropriate posts as Helpful (5 pts) 2 available, or Solved (10 pts) 1 available, you are Thanking the contributors, by awarding them points.
    In threads with multiple replies, it also alerts other readers, to which answers may have been helpful, or solved the issue.
    This info, and more, can be viewed by clicking on
    ? Help & Terms of Use, located under your login name, on all "Discussions" pages.
    Specifically What are question answers?.
    The Helpful and Solved buttons, that award points, are to the left of the Reply button in each response.
    These are not the same as Did this topic solve your issue? Yes No these, which do not award points. As explained Here.
    Thank You, for extending the courtesy, of awarding stars,
    ali b

  • Dam, did you know that ppl make things harder then they should be

    As I look here and other places I see that people make things harder then what they need tobe.I see people fearing fear when it comes to programming.They are so worried if they are going to make it or if they will pass this test or that test,well I got one thing to say and that is relax and just chill.Look at it this way it will if it will it won't if it won't.The point is enjoy what you do and live life that way,if you dont enjoy programming stop now.
    Just a thought from a hobbies

    And you should be using C instead of Java, right? :)
    Well I would not go that far cause that would be
    comparing languages then and I know all languages have
    there good points and bad points.Know one can really
    say what language is better cause it all depends on
    what you are trying to acomplish/do.But with that said
    what the hell ,yeah you should be using C instead of
    java if you are just starting to learn how to
    program.:-p So why not Pascal?

  • I want to upgrade my 2007 Mac desktop to 10.5 Leopard. I am currently running on 10.4.11. I have put the leopard disk into the drive and all it does is make a weird noise and then spits the disk right back out. It doesn't do this with other disks. HELP

    I want to upgrade my 2007 Mac desktop to 10.5 Leopard. I am currently running on 10.4.11. When I put the leopard disk into the drive all it does is make a weird noise and then spits the disk right back out. It doesn't do this with any other discs, only this software. Is it still possible to update this computer?

    Yes. Try Amazon.
    Before you do upgrade to Snow Leopard, make sure your Mac meets the requirements.
    Mac OS X v10.6 Snow Leopard - Technical Specifications
    Make sure the disc you tried using doesn't have any fingerprints or smudges on it. The optical drive can't read the disk otherwise.
    If your Mac won't read the disc, might be a good idea to rule out any problems with the startup disk BEFORE trying to upgrade the system.
    Using Disk Utility to verify or repair disks
    Message was edited by: Carolyn

  • Good evening every one! recently, i noticed that my macbook pro make a weird sound when i open the screen, it's like there is something keeping the screen from moving correctly.the little noise comes exactly from the left side of the axis.please advice me

    Good evening ! recently, i noticed that my macbook pro make a weird sound when i open the screen, it's like there is something keeping the screen from moving correctly.the little noise comes exactly from the left side of the axis.please advice me what to do
    (i live in morocco and i need to know where i should take ma macbook to get it fixed and if the warranty take this problem in charge)
    thank you in advance
    macbook pro mid2012 i7 (here is my e-mail adress : [email protected])

    You should take it to an Apple store or an AASP (Authorized Apple Service Provider) Carefully inspect the hinge joint and make sure there is no debris that you can see, you can try carefully sliding some sticky tape thru the joint to clear any loose stuff out. But this sounds like there might be more going on here, and the hinge is something that you do not want to fool with.

  • Ibus japanese input not working in gnome

    Just like the title says. Both in gnome 3.10 and 3.12. It works for a little time sometimes, but the japanese input gui just disappears after a while and I can't get it back. Any tips?
    Last edited by gothmog123 (2014-04-15 01:38:38)

    You might try fcitx with mozc instead.

  • HT1386 How do I copy music from an old iPod?  Why do you have to make things so difficult?  These are my files that I paid for but once I put them on your devices, I no longer have control over them.  I've wasted so much time on these stupid problems.

    How do I copy music from an old iPod?  Why do you have to make things so difficult?  These are my files that I paid for but once I put them on your devices, I no longer have control over them.  I've wasted so much time on these stupid problems.  I used to be able to do this until you "improved" things.

    Thanks, Deggie. I thought Apple would see my feedback.  I would just like to know if there is a simple way to copy just a few music files from an old iPod.  I saw instructions on how to copy all of them from the iPod but it was complicated and I really didn't want to copy all the songs.  I guess I could delete all the songs but the ones I want to copy then go through that process again.  Do you know how to back up music to my computer?  I don't want to have to go through this again and possibly lose music.

Maybe you are looking for

  • Extract Data in sub report to main report

    Post Author: Karl1975 CA Forum: Formula Hi I have written both a main and sub report in V10 that shows grouped data by Name with a total count on each Name:- EG:- Name                               Numbers Tim Smith                         10 John Sm

  • When I convert a pdf to word it comes out garbled (can't use)

    how do I fix this

  • Can Coldfusion Report Builder Lock .MDB Files?

    I have been seeing an issue where an .mdb file will be locked into a read only mode state. There is no .ldb lock file on the object, but when I open the DB up a banner pops up at the top stating it is in read only mode. While it is in this mode it ca

  • Application monitor node display off

    Hi All, I am using SRM 4.0. Strangely I am running into lot of troubles in SRM since yesterday as there was a mess up in the batch jobs. Now, we are having an issue with Application monitor. It is not showing any error message in ITS, but I could see

  • Add string replacement to file renaming

    This feature is very handy over in Bridge CS5 and would also be useful in LR 3.x when there is a need to replace part of a filename and not touch the sequence number applied to random files.