upup CJK
utf8 mount and bugfix around locale
First of all we have to fix bugs around locale on upup-476.
... /usr/sbin/chooselocale, /usr/bin/xwin
Reffer the Bugs section.
upup-476 uses '*.utf8' as the locale whereas most of current distr's use '*.UTF-8'.
Well, it is not a bug, but can be a trouble in using some X based programs.
... /usr/sbin/chooselocale, /etc/rc.country
Second: mounting vfat and iso9660 with 'utf8' option.
... /usr/sbin/pmount, /usr/local/bin/driveall, /usr/local/apps/pnethoot/func_mount
On mounting vfat, upup sees keymap and changes the codepage and iocharset options.
It is quit nonsense.
For example, 'us' keyboads never mean they speak english.
Many japanese user use 'us' keyboard with their pc and use japanese for their file names.
Don't you know we can type japanese charactors using 'us' keyboard?
if upup wants to choice codepage etc., better to look up the LANG environment instead of keymap.
But this time, i left these codes. 'utf8' option not add in case one of the next.
uk|us(default: codepage=437, iocharset=iso8859-1)
de|be|br|dk|es|fi|fr|it|no|se|pt(codepage=850,iocharset=iso8859-1)
slovene|croat|hu101|hu|cz-lat2|pl|ro_win(codepage=852,iocharset=iso8859-2)
If you use one of the above keyboard and still like to mount with utf8 option,
write 'utf8' on the file /etc/codepage.
... /usr/sbin/chooselocale, /usr/bin/xwin
Reffer the Bugs section.
upup-476 uses '*.utf8' as the locale whereas most of current distr's use '*.UTF-8'.
Well, it is not a bug, but can be a trouble in using some X based programs.
... /usr/sbin/chooselocale, /etc/rc.country
Second: mounting vfat and iso9660 with 'utf8' option.
... /usr/sbin/pmount, /usr/local/bin/driveall, /usr/local/apps/pnethoot/func_mount
On mounting vfat, upup sees keymap and changes the codepage and iocharset options.
It is quit nonsense.
For example, 'us' keyboads never mean they speak english.
Many japanese user use 'us' keyboard with their pc and use japanese for their file names.
Don't you know we can type japanese charactors using 'us' keyboard?
if upup wants to choice codepage etc., better to look up the LANG environment instead of keymap.
But this time, i left these codes. 'utf8' option not add in case one of the next.
uk|us(default: codepage=437, iocharset=iso8859-1)
de|be|br|dk|es|fi|fr|it|no|se|pt(codepage=850,iocharset=iso8859-1)
slovene|croat|hu101|hu|cz-lat2|pl|ro_win(codepage=852,iocharset=iso8859-2)
If you use one of the above keyboard and still like to mount with utf8 option,
write 'utf8' on the file /etc/codepage.
- Attachments
-
- utf8_mount-upup476-1.pet
- enabling utf8 mount options and bugfix around locale
Apply only to upup-476 - (22.15 KiB) Downloaded 1012 times
utf8 mounting of the boot partision
You still encounter the boot partision(/mnt/home) is mounted without utf8 option.
I had to rewrite init script in initial ram disk.
As for ntfs, original init ram disk uses old version of ntfs-3g that cannnot treat utf8.
I replaced the ntfs-3g to newer version of 2009.4.4 that is utf8 ready.
Visit next url of my site(temporal).
Download 'initrd-upup476_utf8-1.gz', rename to 'initrd.gz'
and replace the upup-476's original.
http://122.102.213.192/puppy/upup/
if you do not like utf8 option with this initrd, type 'pkeys=us' as the boot option.
I had to rewrite init script in initial ram disk.
As for ntfs, original init ram disk uses old version of ntfs-3g that cannnot treat utf8.
I replaced the ntfs-3g to newer version of 2009.4.4 that is utf8 ready.
Visit next url of my site(temporal).
Download 'initrd-upup476_utf8-1.gz', rename to 'initrd.gz'
and replace the upup-476's original.
http://122.102.213.192/puppy/upup/
if you do not like utf8 option with this initrd, type 'pkeys=us' as the boot option.
Insalling SCIM
Now we can install SCIM from ububtu jaunty package.
http://packages.ubuntu.com/en/jaunty/scim
You also need libscim8c2a and scim-gtk2-immodule.
scim-bridge is troublesome, so i did not use it.
I installed them and cut it down to be slim.
http://packages.ubuntu.com/en/jaunty/scim
You also need libscim8c2a and scim-gtk2-immodule.
scim-bridge is troublesome, so i did not use it.
I installed them and cut it down to be slim.
To enable each language
We can install SCIM related packages from ububtu jaunty.
scim-hangul for korean, scim-pinyin or scim-chewing for chinese.
also scim-tables* are usable.
ko_KR.UTF-8 and zh_CN.UTF-8 locale has problem beacuse some files lack in upup-476.
/usr/share/i18n/locales/tanslit_hangul
/usr/share/i18n/locales/iso14651_tl_pinyin
I brought them from ubuntu.
As for japanese, needs scim-anthy. But anthy package of ubuntu did not work.
I installed anthy-9100h.patch13Bptn23.2009527.alt-depgraph-090525-i686.pet
himajin made.
http://nami4.dyndns.org/p_blog/
Japanese fonts are available from IPA.
http://ossipedia.ipa.go.jp/ipafont/
Or, see the topic:
http://www.murga-linux.com/puppy/viewtopic.php?t=43400
I installed them and cut them down to be slim.
Visit my site and find all the pet's you need for CJK enable on upup-476.
http://122.102.213.192/puppy/upup/
scim-hangul for korean, scim-pinyin or scim-chewing for chinese.
also scim-tables* are usable.
ko_KR.UTF-8 and zh_CN.UTF-8 locale has problem beacuse some files lack in upup-476.
/usr/share/i18n/locales/tanslit_hangul
/usr/share/i18n/locales/iso14651_tl_pinyin
I brought them from ubuntu.
As for japanese, needs scim-anthy. But anthy package of ubuntu did not work.
I installed anthy-9100h.patch13Bptn23.2009527.alt-depgraph-090525-i686.pet
himajin made.
http://nami4.dyndns.org/p_blog/
Japanese fonts are available from IPA.
http://ossipedia.ipa.go.jp/ipafont/
Or, see the topic:
http://www.murga-linux.com/puppy/viewtopic.php?t=43400
I installed them and cut them down to be slim.
Visit my site and find all the pet's you need for CJK enable on upup-476.
http://122.102.213.192/puppy/upup/
Last edited by shinobar on Sun 28 Jun 2009, 20:12, edited 1 time in total.
Setting up
- Install upup-476
- Optionally replace initrd.gz to 'initrd-upup476_utf8-1.gz'(rename to 'initrd.gz').
- bootup upup-476
You may need to edit xorg.conf, 'Option "XkbModel" "pc102"' to be proper for your keyboard. - Install CJK support pet's
- utf8_mount-upup476-1.pet
- scim-1.4.7-0.476.0.1.pet
- lang_support_??-upup476-0.1.pet ... you can install all 3
- Menu > Desktop > Chooselocale
Once select 'en_US' as dummy - Restart X
- Again, Menu > Desktop > Chooselocale
Now select your locale ex. 'ko_KR'
ensure 'UTF-8' encoding checked on - Restart X
- Start up 'browse' or 'edit'
- Press [Ctrl] + [Space], then SCIM shall be usable.
Last edited by shinobar on Tue 16 Jun 2009, 05:21, edited 1 time in total.
Thanks to you
Hi, himajin!
Most of the basis is from your work. Thanks!
Most of the basis is from your work. Thanks!
Left-click the scim panel then you can choice one of the 3 ways of korean input method.puppyiso wrote:By changing the folder name works but the Krean typig is very wrong.
It is not 2 sets but something else.
- Attachments
-
- hangul.png
- (58.88 KiB) Downloaded 2280 times
When I booted again this morning, the screen was black and no icons.
I tried left click and choosing different options but I see no difference.
I even installed the other scim related pets from "41 language " post. But it only disabled scim.
I am thinking that either changing initrd.gz or editing xorg config. I now have to go to other city and there is no computer of my own. I can browse the internet but not allowed to do anything else.
I will try playing with upup ko locale again sometime later.
John
I tried left click and choosing different options but I see no difference.
I even installed the other scim related pets from "41 language " post. But it only disabled scim.
I am thinking that either changing initrd.gz or editing xorg config. I now have to go to other city and there is no computer of my own. I can browse the internet but not allowed to do anything else.
I will try playing with upup ko locale again sometime later.
John
upup CJK with other LANG
upup CJK yes.linus1972 wrote:is your puppy avail in english too?
any locale your LANG is, you can read CJK(chinese, japanese, korean).
if you like to input CJK with other LANG, you must use UTF-8 encoding.
for exple. 'en_US.UTF-8'.
and you have to modify one configuration.
add the 2 letter code of your LANG for expl. 'en' at
/usr/lib/gtk-2.0/2.10.0/immodule-files.d/scim-gtk2-immodule.immodules
"/usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so"
"scim" "SCIM Input Method" "scim" "/usr/share/locale" "ja:ko:zh:en"
I use regular keyboard with US keymap.
It is dead at the grub stage but alive when I have to either input passwords or choose options during boots.
When I removed some pet files, the screen came back with icons. I now think that's because I restarted x
Everything is OK exept the typed Korean looked very funny.
eg;
Correct : 한글
It is dead at the grub stage but alive when I have to either input passwords or choose options during boots.
When I removed some pet files, the screen came back with icons. I now think that's because I restarted x
Everything is OK exept the typed Korean looked very funny.
eg;
Correct : 한글
Last edited by puppyiso on Thu 25 Jun 2009, 01:53, edited 1 time in total.