You are not logged in.

#1 2013-04-20 12:38:34

Algor88
Member
Registered: 2013-04-20
Posts: 16

[SOLVED] Using Japanese in libreoffice

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

#2 2013-04-20 17:42:14

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED] Using Japanese in libreoffice

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

#3 2013-04-20 21:46:01

Heikete
Member
Registered: 2007-04-28
Posts: 40

Re: [SOLVED] Using Japanese in libreoffice

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

#4 2013-04-20 23:53:03

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED] Using Japanese in libreoffice

Heikete wrote:

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

#5 2013-04-21 10:29:48

Algor88
Member
Registered: 2013-04-20
Posts: 16

Re: [SOLVED] Using Japanese in libreoffice

I switched to Ibus https://wiki.archlinux.org/index.php/IBus. Now everything works as it should.
Thanks for your replies.

Offline

Board footer

Powered by FluxBB