OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Installing Debian With Japanese Display/input
ShiroiKuma
post Aug 3 2005, 01:33 AM
Post #1





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



Hi:

I've fiddled with Meanie's Jumbo XQt package but couldn't get it to work correctly for my purposes, i.e. having the locale and environment set to Japanese and displaying Japanese correctly in the console and facilitating Japanese input.

So this is what I've done to get it working.

I've determined the minimum packages needed just to get XQt running enabling you to chroot to debian then; and what you have to do get Japanese fine.

From X/Qt2 feed install:
expat_1.95.8-1_arm.ipk
fontconfig-etc_2.2.1-1_all.ipk
fontconfig_2.2.1-1_arm.ipk
freetype_2.1.5-1_arm.ipk
glibc-gconv-ja_2.2.2-1_arm.ipk
glibc-locale-ja-eucjp_2.2.2-1_arm.ipk
rxvt_2.6.4-1_arm.ipk
xbase-clients_4.3.0-3_arm.ipk
xbase-etc_4.3.0-3_all.ipk
xlibs_4.3.0-3_arm.ipk
xqt-fonts-75dpi-iso8859-1_4.3.0-3_all.ipk
xqt-fonts-misc_4.3.0-3_all.ipk
xqt-server_1.9.0_arm.ipk
xqt-startup-scripts_0.0.3_all.ipk


Also from X/Qt feed install:
xqtclip_0.0.1_arm.ipk
I'll explain the need for this below.

From Chuckster's site or from Meanie's site download zaurus-debian-jumbo-v18-b01.tar.gz.

Format your SD card to ext2 in the Zaurus by:
CODE
su
umount /mnt/card
mkfs.ext2 /dev/mmcda1
exit

Then eject and insert it again, the Zaurus will mount it as ext2 now.

Make the card's root zaurus owned:
CODE
su
chown -R zaurus /mnt/card
chmod -R 775 /mnt/card
exit


Unpack the debian files to debroot on the card:
CODE
mkdir /mnt/card/debroot
su
gnu-tar -C /mnt/card/debroot xzvpf zaurus-debian-jumbo-v18-b01.tar.gz
exit


Edit /home/zaurus/.xinitrc
replace the two lines reading:
CODE
rxvt &
blackbox

with
CODE
xqtclip &
rxvt


Then chown the home dir, otherwis XQt will throw errors on start and will take forever to run
CODE
su
chown zaurus /home/zaurus


Start X/Qt2 by tapping on the XQt icon.

Once in X/Qt2 in rxvt run
CODE
su
chroot /mnt/card/debroot
export DISPLAY=0:0
apt-get install locales ttf-kochi-gothic ttf-kochi-mincho language-env

This should after install launch the locales setup.

If locales setup doesn't begin automatically, run:
CODE
dpkg-reconfigure locales

This will generate the locales, this allways seems to fill up memory, even if you have a 128MB swap. The way I get around this, is before running this, start about 8 apps in Qtopia, run the command in debian, then switch to any app in Qtopia, leaving the locale generation running in the background. It will tell you then after a while that the memory is full, and you need to close an app. Close one of the Qtopia apps. This you'll have to do about 6 or so times, but it will generate the locales in the meantime without an error.

In this generating install, you should install ja_JP.eucJP and ja_JP.UTF-8, select ja_JP.eucJP for default locale.

When finished, run
CODE
dpkg --configure -a
.

Setup Japanese environment:
CODE
adduser nis
su - nis
set-language-env japanese


And you're all set. Now debian will display Japanese properly in all apps, even in rxvt and you can run IceWM by:
CODE
/usr/bin/icewm-session


Japanese input works under debian but it's painstakingly slow. That's why we installed the xqtclip, since it enables sharing the clipboard between X/Qt and Qtopia.

So you should basically do all the typing in a notepad or editor app in Qtopia, then just Ctrl-C copy everything, switch to the debian app and Ctrl-V paste everything or vice versa. It works...
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th December 2014 - 09:53 PM