You are not logged in.
Hello,
I'm learning japanese at University and want to be able to write japanese in libreoffice. But i can't get it working. I've followed this guide: https://wiki.archlinux.org/index.php/Sm … d_platform to enable japanese input.
So i did:
pacman -S scim-anthy
yaourt -S otf-ipafont
change /etc/scim/global so /SupportedUnicodeLocales = de_DE.UTF-8 is inside
make a .xinitrcJ with:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
scim -d
exec compiz ccp
add startxJ wich is a copy of startx but pointing to .xinitrcJ
and in libreoffice:
Tools - Options - "+ Language" - Languages - "Enhanced language support" ticked the "Enabled for Asian languages"
Tools - Options - "+ Language" - Languages - "Default languages for documents" -Asian - Japanese
But i can't write japanese in libreoffice after starting X with startxJ.
Does someone know what i did wrong? Is there an easy way to get japanese support for libreoffice so i can toggle it on and off?
As you can see i use compiz only as desktopmanager and i don't want to change it. So it would be cool to have a methode to switch with terminal only.
Thanks for reply
Last edited by Algor88 (2013-04-21 10:30:26)
Offline
It sounds like you're trying to setup Japanese input like how I have it. I'm a little busy at the moment, but I have a quick question: Are you switching from "normal" to "Japanese" input by pressing CTRL + Spacebar?
Offline
There are some problems with Qt programs with scim. Despite the effort I couldn't set up scim with Libbre office.
I use openoffice from AUR and it has no problems with japanese input.
Gtk apps work flawlessly for example gjiten from AUR.
Offline
There are some problems with Qt programs with scim. Despite the effort I couldn't set up scim with Libbre office.
For the record, I am successfully using Japanese input with SCIM (using the method the OP described) with both Qt applications and LibreOffice.
Offline
I switched to Ibus https://wiki.archlinux.org/index.php/IBus. Now everything works as it should.
Thanks for your replies.
Offline