KNOPPIX/Math/Korean/InstallMemo
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
[[KNOPPIX/Math/Korean]]
* Source
** /etc/init.d/knoppix-autoconfig
346,360d345
< ko)
< COUNTRY="ko"
< LANG="ko_KR.eucKR"
< LANGUAGE="ko"
< KEYTABLE="us"
< XKEYBOARD="us"
< KDEKEYBOARD="us"
< CHARSET="EUC-KR"
< # Additional KDE Keyboards
< KDEKEYBOARDS="de,fr,jp"
< XMODIFIERS="@im=nabi"
< INPUTMETHODNAME="FreeWnn"
< LC_MESSAGES="ko_KR.eucKR"
< TZ="Asia/Seoul"
< ;;
486c471
< ko)
---
> ja)
** /etc/init.d/freewnn-kserver
** /etc/X11/Xsession.d/31xinput
4c4
< [ ! -n "$LANGUAGE" ] && LANGUAGE=ko
---
> [ ! -n "$LANGUAGE" ] && LANGUAGE=ja
7c7
< ko*)
---
> ja*)
9,10c9,16
< @im=nabi)
< /usr/bin/nabi &
---
> @im=kinput2)
> /etc/alternatives/kinput2 &
> ;;
> @im=jmode)
> /usr/X11R6/bin/jmode --popup &
> ;;
> @im=uim-*)
> /usr/bin/uim-xim &
** /etc/X11/Xsession.d/45xsession
68,82c68,73
< # for Korean
< if [ "$LANGUAGE" = "ko" ];then
< \cp -ua /etc/skel/{.Xresources,.emacs,.inputrc} $HOME/
< fi
< # for math
< if [ ! -f $HOME/.gprc ]; then
< \cp -ua /etc/skel/.gprc $HOME/.gprc
< fi
< if [ ! -f $HOME/.wxMaxima ]; then
< \cp -ua /etc/skel/.wxMaxima $HOME/.wxMaxima
< fi
< # for math japanese
< if [ ! -f $HOME/.kseg ]; then
< if [ "$LANGUAGE" = "ja" ];then
< \cp -ua /etc/skel/.kseg_ja $HOME/.kseg
---
> # for japanese
> if [ "$LANGUAGE" = "ja" ];then
> \cp -ua /etc/skel/{.Xresources,.emacs,.inputrc,.xsession} $HOME/
> if [ ! -f $HOME/.fonts.conf ];then
> if COLUMNS=200 dpkg -la | grep -q ttf-ipafont ;then
> \cp -ua /etc/skel/.fonts.conf.ipa $HOME/.fonts.conf
84c75
< \cp -ua /etc/skel/.kseg $HOME/.kseg
---
> \cp -ua /etc/skel/.fonts.conf $HOME/.fonts.conf
86a78
> fi
110,119d101
< ko*)
< echo 'user_pref("browser.display.use_document_fonts", 0);' >>"$f"
< echo 'user_pref("general.useragent.contentlocale", "KR");' >>"$f"
< echo 'user_pref("general.useragent.locale", "ko-KR");' >>"$f"
< echo 'user_pref("font.default", "sans-serif");' >>"$f"
< echo 'user_pref("font.minimum-size.ko", 13);' >>"$f"
< echo 'user_pref("font.name.monospace.ko", "UnDotum");' >>"$f"
< echo 'user_pref("font.name.sans-serif.ko", "UnDotum");' >>"$f"
< echo 'user_pref("font.name.serif.ko", "UnDotum");' >>"$f"
< echo 'user_pref("intl.charset.default", "EUC-KR");' >>"$f" ;;
** /etc/skel/.bashrc
6c6
< XIM=nabi
---
> XIM=kinput2
95,97d94
<
< alias jfbterm='LANG=ko_KR.eucKR /usr/bin/jfbterm'
** /etc/skel/.emacs
** FreeWnn kserver
- /var/lib/wnn/ko_KR/dic/usr/knoppix
- /etc/xim/ko/
- /usr/share/wnn/ko_KR/dic
cd /usr/share/wnn/ko_KR/
rm dic
ln -s /var/lib/wnn/ko_KR/dic
* Master
** boot/isolinux/isolinux.cfg
終了行:
[[KNOPPIX/Math/Korean]]
* Source
** /etc/init.d/knoppix-autoconfig
346,360d345
< ko)
< COUNTRY="ko"
< LANG="ko_KR.eucKR"
< LANGUAGE="ko"
< KEYTABLE="us"
< XKEYBOARD="us"
< KDEKEYBOARD="us"
< CHARSET="EUC-KR"
< # Additional KDE Keyboards
< KDEKEYBOARDS="de,fr,jp"
< XMODIFIERS="@im=nabi"
< INPUTMETHODNAME="FreeWnn"
< LC_MESSAGES="ko_KR.eucKR"
< TZ="Asia/Seoul"
< ;;
486c471
< ko)
---
> ja)
** /etc/init.d/freewnn-kserver
** /etc/X11/Xsession.d/31xinput
4c4
< [ ! -n "$LANGUAGE" ] && LANGUAGE=ko
---
> [ ! -n "$LANGUAGE" ] && LANGUAGE=ja
7c7
< ko*)
---
> ja*)
9,10c9,16
< @im=nabi)
< /usr/bin/nabi &
---
> @im=kinput2)
> /etc/alternatives/kinput2 &
> ;;
> @im=jmode)
> /usr/X11R6/bin/jmode --popup &
> ;;
> @im=uim-*)
> /usr/bin/uim-xim &
** /etc/X11/Xsession.d/45xsession
68,82c68,73
< # for Korean
< if [ "$LANGUAGE" = "ko" ];then
< \cp -ua /etc/skel/{.Xresources,.emacs,.inputrc} $HOME/
< fi
< # for math
< if [ ! -f $HOME/.gprc ]; then
< \cp -ua /etc/skel/.gprc $HOME/.gprc
< fi
< if [ ! -f $HOME/.wxMaxima ]; then
< \cp -ua /etc/skel/.wxMaxima $HOME/.wxMaxima
< fi
< # for math japanese
< if [ ! -f $HOME/.kseg ]; then
< if [ "$LANGUAGE" = "ja" ];then
< \cp -ua /etc/skel/.kseg_ja $HOME/.kseg
---
> # for japanese
> if [ "$LANGUAGE" = "ja" ];then
> \cp -ua /etc/skel/{.Xresources,.emacs,.inputrc,.xsession} $HOME/
> if [ ! -f $HOME/.fonts.conf ];then
> if COLUMNS=200 dpkg -la | grep -q ttf-ipafont ;then
> \cp -ua /etc/skel/.fonts.conf.ipa $HOME/.fonts.conf
84c75
< \cp -ua /etc/skel/.kseg $HOME/.kseg
---
> \cp -ua /etc/skel/.fonts.conf $HOME/.fonts.conf
86a78
> fi
110,119d101
< ko*)
< echo 'user_pref("browser.display.use_document_fonts", 0);' >>"$f"
< echo 'user_pref("general.useragent.contentlocale", "KR");' >>"$f"
< echo 'user_pref("general.useragent.locale", "ko-KR");' >>"$f"
< echo 'user_pref("font.default", "sans-serif");' >>"$f"
< echo 'user_pref("font.minimum-size.ko", 13);' >>"$f"
< echo 'user_pref("font.name.monospace.ko", "UnDotum");' >>"$f"
< echo 'user_pref("font.name.sans-serif.ko", "UnDotum");' >>"$f"
< echo 'user_pref("font.name.serif.ko", "UnDotum");' >>"$f"
< echo 'user_pref("intl.charset.default", "EUC-KR");' >>"$f" ;;
** /etc/skel/.bashrc
6c6
< XIM=nabi
---
> XIM=kinput2
95,97d94
<
< alias jfbterm='LANG=ko_KR.eucKR /usr/bin/jfbterm'
** /etc/skel/.emacs
** FreeWnn kserver
- /var/lib/wnn/ko_KR/dic/usr/knoppix
- /etc/xim/ko/
- /usr/share/wnn/ko_KR/dic
cd /usr/share/wnn/ko_KR/
rm dic
ln -s /var/lib/wnn/ko_KR/dic
* Master
** boot/isolinux/isolinux.cfg
ページ名: