[데스크탑] 레드헷 리눅스로 데스크탑 PC 만들기

##################################################################

          레드헷 리눅스로 데스크탑 PC 만들기 ..

                           문서 작성자 : 서 진우 (alang@sysmng.com)

                                                   작성일 : 2004-07-09

##################################################################

관련 패키지는 ftp://syszone.co.kr/linux/desktop  에서 다운 가능

리눅스 버전 : RedHat Linux 9, Fedora Core 2

;; Fedora Core 2 로 만든 문서임, Redhat 9에서도 적용 가능함

1. 리눅스 한글화 하기

1.1 OS 한글화 하기

– 로케일 설정

# vi /etc/sysconfig/i18n

————————————————————–

#LANG=”en_US” file://영어사용을 주석처리

LANG=”ko_KR.euckr”

LANG=”ko_KR”

SUPPORTED=”ko_KR.euckr:ko_KR:ko”

SYSFONT=”lat0-16″

SYSFONTACM=”iso01″

LC_ALL=”ko_KR”

LC_CTYPE=”ko_KR”

LC_NUMERIC=”ko_KR”

LC_TIME=”ko_KR”

LC_COLLATE=”ko_KR”

LC_MONETARY=”ko_KR”

LC_MESSAGES=”ko_KR”

LINGUAS=”ko_KR”

—————————————————————

# vi /usr/share/locale/locale.alias

—————————————————————

….

korean                 ko_KR.eucKR

ko                        ko_KR.eucKR

ko_KR                 ko_KR.eucKR

korean.euc         ko_KR.eucKR

….

—————————————————————

# vi /etc/X11/gdm/locale.alias

—————————————————————

ko                         ko_KR.eucKR

ko_KR                 ko_KR.eucKR

—————————————————————

– 한/영, 한자 변환키 설정

# vi /etc/X11/Xmodmap

—————————————————————

keycode 115=Super_L

keycode 117=Menu

keycode 121=Hangul_Hanja

keycode 122=Hangul

—————————————————————

– 한글 입력기 ( Ami, nabi, hamIm .. )

최신 배포판에서는 기본적으로  nabi 가 설치 되어져 있음.

위 한글화만 해주면 gnome 에서는 nabi 가 자동으로 실행되어진다.

만일 Ami를 사용할 경우에는 아래 설정을 해주도록 하자.

# vi /etc/X11/xinit/xinitrc.d/xinput

—————————————————————

파일 내용중 XMODIFIER=”@im=…. 과 같은 부분이 보일 것입니다.

이부분을 XMODIFIER=”@im=$Ami” 로 수정합니다.

# execute XIM_PROGRAM  // 이부분을 찾는다.

if which $XIM_PROGRAM >/dev/null 2>&1 ; then $XIM_PROGRAM $XIM_ARGS& fi

요런 부분이 있는데 몽땅 주석으로 처리 한다.

————————————————————–

# vi /etc/sysconfig/i18n

—————————————————————

… 맨아래에

export XIM=Ami

export XMODIFIERS=@im=Ami

—————————————————————

이 설정 완료 후 리부팅 ..

1.2 한글 폰트 설치 하기

– 기본 리눅스 한글 폰트를 설치한다.

# rpm -Uvh baekmuk-2.0-9mz.noarch.rpm

# rpm -Uvh baekmuk-ttf-2.0-9mz.noarch.rpm # rpm -Uvh hanyang-fonts-1.0-9.i386.rpm # rpm -Uvh sun-fonts-2.6-1.noarch.rpm

만일 의존성 및 다른 문제가 발생하면 –nodeps –force 옵션을 붙여 강제로 설치한다.

– MS-Windows 의 폰트 설치

# mkdir /usr/share/fonts/ms-gulim

# mkdir /usr/share/fonts/ms-batang

# cp gulim.ttc /usr/share/fonts/ms-gulim # cp batang.ttc /usr/share/fonts/ms-batang

# vi /etc/X11/XF86Config  // Fedora core 2 의 경우에는 xorg.conf 임

—————————————————————–

….

아래 두 줄을 FontPath 부분에 추가해 준다.

FontPath “/usr/share/fonts/ms-gulim”

FontPath “/usr/share/fonts/ms-batang”

같은 파일의 Section “Module” 을 확인하고

Loat “xtt”

가 없으면 추가해 준다.

Load “freetype”

이 있을 경우 주석처리 한다.



—————————————————————-

# vi /etc/X11/fs/config

—————————————————————-



catalogue 부분에

/usr/share/fonts/ms-gulim,

/usr/share/fonts/ms-batang

(쉼표에 주의!!)

을 추가하고,

/usr/share/fonts/ko/TrueType

부분을 주석처리한다.

—————————————————————-

# vi /etc/fonts/fonts.conf

—————————————————————-



    <dir>/usr/share/fonts/ms-gulim</dir>

    <dir>/usr/share/fonts/ms-batang</dir>



—————————————————————-

# /etc/rc.d/init.d/xfs restart

# /usr/bin/fc-cache

# rm -f /usr/share/fonts/ms-gulim/fonts.dir

# rm -f /usr/share/fonts/ms-gulim/fonts.cache*

# rm -f /usr/share/fonts/ms-batang/fonts.dir

# rm -f /usr/share/fonts/ms-batang/fonts.cache*

# vi /usr/share/fonts/ms-gulim/fonts.dir

—————————————————————–

64

vl=y:eb=y:fn=0:gulim.ttc -ms-Gulim-medium-r-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=0:ai=0.5:gulim.ttc -ms-Gulim-medium-o-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=0:ai=0.5:gulim.ttc -ms-Gulim-medium-i-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=0:ab=y:gulim.ttc -ms-Gulim-bold-r-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=0:ai=0.5:ab=y:gulim.ttc -ms-Gulim-bold-o-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=0:ai=0.5:ab=y:gulim.ttc -ms-Gulim-bold-i-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=0:gulim.ttc -ms-Gulim-medium-r-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=0:ai=0.5:gulim.ttc -ms-Gulim-medium-o-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=0:ai=0.5:gulim.ttc -ms-Gulim-medium-i-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=0:ab=y:gulim.ttc -ms-Gulim-bold-r-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=0:ai=0.5:ab=y:gulim.ttc -ms-Gulim-bold-o-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=0:ai=0.5:ab=y:gulim.ttc -ms-Gulim-bold-i-normal–0-0-0-0-c-0-ksc5601.1987-1

eb=y:fn=0:gulim.ttc -ms-Gulim-medium-r-normal–0-0-0-0-p-0-iso8859-1

eb=y:fn=0:ai=0.5:gulim.ttc -ms-Gulim-medium-i-normal–0-0-0-0-p-0-iso8859-1

eb=y:fn=0:ab=y:gulim.ttc -ms-Gulim-bold-r-normal–0-0-0-0-p-0-iso8859-1

eb=y:fn=0:ai=0.5:ab=y:gulim.ttc -ms-Gulim-bold-i-normal–0-0-0-0-p-0-iso8859-1

vl=y:eb=y:fn=1:gulim.ttc -ms-GulimChe-medium-r-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=1:ai=0.5:gulim.ttc -ms-GulimChe-medium-o-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=1:ai=0.5:gulim.ttc -ms-GulimChe-medium-i-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=1:ab=y:gulim.ttc -ms-GulimChe-bold-r-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=1:ai=0.5:ab=y:gulim.ttc -ms-GulimChe-bold-o-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=1:ai=0.5:ab=y:gulim.ttc -ms-GulimChe-bold-i-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=1:gulim.ttc -ms-GulimChe-medium-r-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=1:ai=0.5:gulim.ttc -ms-GulimChe-medium-o-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=1:ai=0.5:gulim.ttc -ms-GulimChe-medium-i-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=1:ab=y:gulim.ttc -ms-GulimChe-bold-r-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=1:ai=0.5:ab=y:gulim.ttc -ms-GulimChe-bold-o-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=1:ai=0.5:ab=y:gulim.ttc -ms-GulimChe-bold-i-normal–0-0-0-0-c-0-ksc5601.1987-1

eb=y:fn=1:gulim.ttc -ms-GulimChe-medium-r-normal–0-0-0-0-m-0-iso8859-1

eb=y:fn=1:ai=0.5:gulim.ttc -ms-GulimChe-medium-i-normal–0-0-0-0-m-0-iso8859-1

eb=y:fn=1:ab=y:gulim.ttc -ms-GulimChe-bold-r-normal–0-0-0-0-m-0-iso8859-1

eb=y:fn=1:ai=0.5:ab=y:gulim.ttc -ms-GulimChe-bold-i-normal–0-0-0-0-m-0-iso8859-1

vl=y:eb=y:fn=2:gulim.ttc -ms-Dotum-medium-r-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=2:ai=0.5:gulim.ttc -ms-Dotum-medium-o-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=2:ai=0.5:gulim.ttc -ms-Dotum-medium-i-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=2:ab=y:gulim.ttc -ms-Dotum-bold-r-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=2:ai=0.5:ab=y:gulim.ttc -ms-Dotum-bold-o-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=2:ai=0.5:ab=y:gulim.ttc -ms-Dotum-bold-i-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=2:gulim.ttc -ms-Dotum-medium-r-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=2:ai=0.5:gulim.ttc -ms-Dotum-medium-o-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=2:ai=0.5:gulim.ttc -ms-Dotum-medium-i-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=2:ab=y:gulim.ttc -ms-Dotum-bold-r-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=2:ai=0.5:ab=y:gulim.ttc -ms-Dotum-bold-o-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=2:ai=0.5:ab=y:gulim.ttc -ms-Dotum-bold-i-normal–0-0-0-0-c-0-ksc5601.1987-1

eb=y:fn=2:gulim.ttc -ms-Dotum-medium-r-normal–0-0-0-0-p-0-iso8859-1

eb=y:fn=2:ai=0.5:gulim.ttc -ms-Dotum-medium-i-normal–0-0-0-0-p-0-iso8859-1

eb=y:fn=2:ab=y:gulim.ttc -ms-Dotum-bold-r-normal–0-0-0-0-p-0-iso8859-1

eb=y:fn=2:ai=0.5:ab=y:gulim.ttc -ms-Dotum-bold-i-normal–0-0-0-0-p-0-iso8859-1

vl=y:eb=y:fn=3:gulim.ttc -ms-DotumChe-medium-r-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=3:ai=0.5:gulim.ttc -ms-DotumChe-medium-o-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=3:ai=0.5:gulim.ttc -ms-DotumChe-medium-i-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=3:ab=y:gulim.ttc -ms-DotumChe-bold-r-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=3:ai=0.5:ab=y:gulim.ttc -ms-DotumChe-bold-o-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=3:ai=0.5:ab=y:gulim.ttc -ms-DotumChe-bold-i-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=3:gulim.ttc -ms-DotumChe-medium-r-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=3:ai=0.5:gulim.ttc -ms-DotumChe-medium-o-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=3:ai=0.5:gulim.ttc -ms-DotumChe-medium-i-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=3:ab=y:gulim.ttc -ms-DotumChe-bold-r-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=3:ai=0.5:ab=y:gulim.ttc -ms-DotumChe-bold-o-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=3:ai=0.5:ab=y:gulim.ttc -ms-DotumChe-bold-i-normal–0-0-0-0-c-0-ksc5601.1987-1

eb=y:fn=3:gulim.ttc -ms-DotumChe-medium-r-normal–0-0-0-0-m-0-iso8859-1

eb=y:fn=3:ai=0.5:gulim.ttc -ms-DotumChe-medium-i-normal–0-0-0-0-m-0-iso8859-1

eb=y:fn=3:ab=y:gulim.ttc -ms-DotumChe-bold-r-normal–0-0-0-0-m-0-iso8859-1

eb=y:fn=3:ai=0.5:ab=y:gulim.ttc -ms-DotumChe-bold-i-normal–0-0-0-0-m-0-iso8859-1

——————————————————————

# vi /usr/share/fonts/ms-batang/fonts.dir

——————————————————————

64

vl=y:eb=y:fn=0:batang.ttc -ms-Batang-medium-r-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=0:ai=0.5:batang.ttc -ms-Batang-medium-o-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=0:ai=0.5:batang.ttc -ms-Batang-medium-i-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=0:ab=y:batang.ttc -ms-Batang-bold-r-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=0:ai=0.5:ab=y:batang.ttc -ms-Batang-bold-o-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=0:ai=0.5:ab=y:batang.ttc -ms-Batang-bold-i-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=0:batang.ttc -ms-Batang-medium-r-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=0:ai=0.5:batang.ttc -ms-Batang-medium-o-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=0:ai=0.5:batang.ttc -ms-Batang-medium-i-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=0:ab=y:batang.ttc -ms-Batang-bold-r-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=0:ai=0.5:ab=y:batang.ttc -ms-Batang-bold-o-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=0:ai=0.5:ab=y:batang.ttc -ms-Batang-bold-i-normal–0-0-0-0-c-0-ksc5601.1987-1

eb=y:fn=0:batang.ttc -ms-Batang-medium-r-normal–0-0-0-0-p-0-iso8859-1

eb=y:fn=0:ai=0.5:batang.ttc -ms-Batang-medium-i-normal–0-0-0-0-p-0-iso8859-1

eb=y:fn=0:ab=y:batang.ttc -ms-Batang-bold-r-normal–0-0-0-0-p-0-iso8859-1

eb=y:fn=0:ai=0.5:ab=y:batang.ttc -ms-Batang-bold-i-normal–0-0-0-0-p-0-iso8859-1

vl=y:eb=y:fn=1:batang.ttc -ms-BatangChe-medium-r-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=1:ai=0.5:batang.ttc -ms-BatangChe-medium-o-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=1:ai=0.5:batang.ttc -ms-BatangChe-medium-i-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=1:ab=y:batang.ttc -ms-BatangChe-bold-r-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=1:ai=0.5:ab=y:batang.ttc -ms-BatangChe-bold-o-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=1:ai=0.5:ab=y:batang.ttc -ms-BatangChe-bold-i-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=1:batang.ttc -ms-BatangChe-medium-r-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=1:ai=0.5:batang.ttc -ms-BatangChe-medium-o-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=1:ai=0.5:batang.ttc -ms-BatangChe-medium-i-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=1:ab=y:batang.ttc -ms-BatangChe-bold-r-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=1:ai=0.5:ab=y:batang.ttc -ms-BatangChe-bold-o-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=1:ai=0.5:ab=y:batang.ttc -ms-BatangChe-bold-i-normal–0-0-0-0-c-0-ksc5601.1987-1

eb=y:fn=1:batang.ttc -ms-BatangChe-medium-r-normal–0-0-0-0-m-0-iso8859-1

eb=y:fn=1:ai=0.5:batang.ttc -ms-BatangChe-medium-i-normal–0-0-0-0-m-0-iso8859-1

eb=y:fn=1:ab=y:batang.ttc -ms-BatangChe-bold-r-normal–0-0-0-0-m-0-iso8859-1

eb=y:fn=1:ai=0.5:ab=y:batang.ttc -ms-BatangChe-bold-i-normal–0-0-0-0-m-0-iso8859-1

vl=y:eb=y:fn=2:batang.ttc -ms-Gungseo-medium-r-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=2:ai=0.5:batang.ttc -ms-Gungseo-medium-o-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=2:ai=0.5:batang.ttc -ms-Gungseo-medium-i-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=2:ab=y:batang.ttc -ms-Gungseo-bold-r-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=2:ai=0.5:ab=y:batang.ttc -ms-Gungseo-bold-o-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=2:ai=0.5:ab=y:batang.ttc -ms-Gungseo-bold-i-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=2:batang.ttc -ms-Gungseo-medium-r-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=2:ai=0.5:batang.ttc -ms-Gungseo-medium-o-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=2:ai=0.5:batang.ttc -ms-Gungseo-medium-i-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=2:ab=y:batang.ttc -ms-Gungseo-bold-r-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=2:ai=0.5:ab=y:batang.ttc -ms-Gungseo-bold-o-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=2:ai=0.5:ab=y:batang.ttc -ms-Gungseo-bold-i-normal–0-0-0-0-c-0-ksc5601.1987-1

eb=y:fn=2:batang.ttc -ms-Gungseo-medium-r-normal–0-0-0-0-p-0-iso8859-1

eb=y:fn=2:ai=0.5:batang.ttc -ms-Gungseo-medium-i-normal–0-0-0-0-p-0-iso8859-1

eb=y:fn=2:ab=y:batang.ttc -ms-Gungseo-bold-r-normal–0-0-0-0-p-0-iso8859-1

eb=y:fn=2:ai=0.5:ab=y:batang.ttc -ms-Gungseo-bold-i-normal–0-0-0-0-p-0-iso8859-1

vl=y:eb=y:fn=3:batang.ttc -ms-GungseoChe-medium-r-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=3:ai=0.5:batang.ttc -ms-GungseoChe-medium-o-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=3:ai=0.5:batang.ttc -ms-GungseoChe-medium-i-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=3:ab=y:batang.ttc -ms-GungseoChe-bold-r-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=3:ai=0.5:ab=y:batang.ttc -ms-GungseoChe-bold-o-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=3:ai=0.5:ab=y:batang.ttc -ms-GungseoChe-bold-i-normal–0-0-0-0-c-0-ksc5601.1987-0

vl=y:eb=y:fn=3:batang.ttc -ms-GungseoChe-medium-r-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=3:ai=0.5:batang.ttc -ms-GungseoChe-medium-o-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=3:ai=0.5:batang.ttc -ms-GungseoChe-medium-i-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=3:ab=y:batang.ttc -ms-GungseoChe-bold-r-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=3:ai=0.5:ab=y:batang.ttc -ms-GungseoChe-bold-o-normal–0-0-0-0-c-0-ksc5601.1987-1

vl=y:eb=y:fn=3:ai=0.5:ab=y:batang.ttc -ms-GungseoChe-bold-i-normal–0-0-0-0-c-0-ksc5601.1987-1

eb=y:fn=3:batang.ttc -ms-GungseoChe-medium-r-normal–0-0-0-0-m-0-iso8859-1

eb=y:fn=3:ai=0.5:batang.ttc -ms-GungseoChe-medium-i-normal–0-0-0-0-m-0-iso8859-1

eb=y:fn=3:ab=y:batang.ttc -ms-GungseoChe-bold-r-normal–0-0-0-0-m-0-iso8859-1

eb=y:fn=3:ai=0.5:ab=y:batang.ttc -ms-GungseoChe-bold-i-normal–0-0-0-0-m-0-iso8859-1

—————————————————————–

# vi /etc/X11/fs/config

—————————————————————–



catalogue 부분을앞에서 추가한

/usr/share/fonts/ms-gulim,

/usr/share/fonts/ms-batang

두줄을 주석처리 한다.

—————————————————————–

1.3 한텀 설치 하기

한텀 폰트로는 sun-roundgothic 체가 가장 좋다. ( 개인의견 )

# mkdir bin

# cd bin

# vi ht

——————————————————————

hanterm -hfn -sun-roundgothic-bold-r-normal–12-120-75-75-c-120-ksc5601.1987-0 \\ -fn -sun-fixed-medium-r-normal–14-140-75-75-c-70-iso8859-1 &

——————————————————————

# chmod 755 ht

만일 윈도우 굴림체를 이용하고 싶다면 아래를 ..

——————————————————————

/usr/X11R6/bin/hanterm -hfn

-ms-gulim-bold-r-normal–12-120-75-75-c-120-ksc5601.1987-0 -fn \\

-sun-fixed-medium-r-normal–14-140-75-75-c-70-iso8859-1 -bg black -fg white &

——————————————————————

2. Window Manager 꾸미기

– WindowMaker 설치 하기

# tar xzvf WindowMaker-0.80.2.tar.gz

# cd WindowMaker-0.80.2

# ./configure –enable-gnome –enable-kde # make && make install

– X 기본 manager 로 WindowMaker 선택하기

사용자 홈디렉토리에 .xinitrc 파일을 만들고, 파일안에 다음 내용을 입력한다.

$ vi .xinitrc

——————————————————————

exec wmaker

– WindowMaker 실행

$ startx

2.1 윈도우 메이커 개인 환경  꾸미기

사용자 홈디렉토리 밑에 GNUstep/Defaults 디렉토리에 가면 windowmaker테마에 관련된 설정 파일 들이 있다.

– WMGLOBAL : X Manager 인터페이스의 폰트와 기본 설정 관련

—————————————————————————————-

{

  DefaultFontSize = 9;

  DoubleClickTime = 250;

  MouseWheelUp = Button4;

  SystemFont = “-adobe-helvetica-medium-r-*-*-12-120-*-*-*-*-*-*,\\

                -sun-roundgothic-medium-r-normal–12-120-75-75-c-120-ksc5601.1987-0,\\

                -baekmuk-gulim-medium-r-normal–12-120-75-75-m-120-ksc5601.1987-0,\\

                -*-kodig-medium-r-*-*-*-120-*-*-*-*-ksc5601.1987-*,\\

                -*-*-*-*-*–12-*-*-*-c-*-ksc5601.1987-*”;

  BoldSystemFont = “-adobe-helvetica-medium-r-*-*-12-120-*-*-*-*-*-*,\\

                    -sun-roundgothic-medium-r-normal–12-120-75-75-c-120-ksc5601.1987-0,\\

                    -baekmuk-gulim-medium-r-normal–12-120-75-75-m-120-ksc5601.1987-0,\\

                    -*-kodig-medium-r-*-*-*-120-*-*-*-*-ksc5601.1987-*,\\

                    -*-*-*-*-*–12-*-*-*-c-*-ksc5601.1987-*”;

  MouseWheelDown = Button5;

  MultiByteText = YES;

  FloppyPath = “/floppy”;

}

—————————————————————————————

– WMState : side dock app 설정

—————————————————————————————

{

  Dock = {

    Lowered = Yes;

    Applications1024 = (

      {

        Name = Logo.WMDock;

        DropCommand = “%a”;

        Lock = No;

        AutoLaunch = No;

        Command = “%a”;

        Position = “0,0”;

        Forced = No;

        BuggyApplication = No;

      },

      {

        Name = Htadmin.Htadmin;

        Lock = No;

        AutoLaunch = No;

        Command = hta;

        Position = “0,1”;

        Forced = No;

        BuggyApplication = No;

      },

      {

        Name = hanterm.Hanterm;

        DropCommand = “ht %d”;

        Lock = No;

        AutoLaunch = No;

        Command = ht;

        Position = “0,2”;

        Forced = No;

        BuggyApplication = No;

      },

.

.

—————————————————————————————

– WMWindowAttributes : Dock App 의 Icon 관련 설정이다. side dock icon을 클릭하면 해당 프로그램이 하나가 실행된다. 한텀과 같이 동일 프로그램을 여러개 실행해야 할 필요가 있을 경우는 이곳에서 아래 설정과 같이 NoAppIcon = Yes; 설정을 추가해 준다.

—————————————————————————————

  hanterm.Hanterm = {

    NoAppIcon = Yes;

    Icon = “gnome-term-linux.png”;

  };

—————————————————————————————

– WindowMaker : WindowMaker 의 Menu Selector 의 폰트와 색깔등을 지정하는 이다.

————————————————————————————–

{

  HighlightColor = “#5971a6”;

  CycleWorkspaces = YES;

  LowerKey = None;

  AClipColor = “#e0c398”;

  RaiseKey = None;

  MenuTextFont =

“-adobe-helvetica-medium-r-*-*-12-120-*-*-*-*-*-*,-sun-roundgothic-medium-r-normal–12-120-75-75-c-120-ksc5601.1987-0,*”;

  MoveResizeKey = None;

  UTitleBack = (

    mdgradient,

    “#000000”,

    “#eeeeee”,

    “#ab7516”,

    “#49320e”,

    “#867551”,

    “#9f9a90”

  );

————————————————————————————–

– GNUstep/Library/WindowMaker/menu.ko : Menu Selector 의 메뉴 설정 파일이다.

여기서 사용자 취향에 맞는 메뉴 구성을 만들 수 있다. 아래 샘플을 참고하라.

————————————————————————————–

“syszone” MENU

    “[ Hanterm-sunfont ]”   EXEC ht

    “[ Netscape7.2 ]” EXEC /usr/local/netscape/netscape

    “[ Netscame-mail ]” EXEC /usr/local/netscape/netscape -mail

    “MSN [ Gaim ]” EXEC gaim

    “RealPlayer [ Realplay ]” EXEC realplay

    “XmmsPlayer [ Winamp ]” EXEC xmms

    “[ Command prompt ]” EXEC %a( 🙂

    “[ Tsclient ]” EXEC /usr/bin/tsclient

    “[ Remote_connect ]” MENU

        “wts.clunix.com” EXEC wincnt_clunixts

        “demo.manpa.net” EXEC win2k_demo

        “alang.clunix.com” EXEC win2k_alang

        “wts.snu.ac.kr” EXEC win2k_snu

    “[ Remote_connect ]” END

    “[ Networkmanager ]” MENU

        “Tracerout” EXEC xmtr

    “[ Networkmanager ]” END

    “BookMark” MENU

        “sysmng.com” EXEC /usr/local/netscape/netscape http:\\/\\/www.sysmng.com

        “google.com” EXEC /usr/local/netscape/netscape http:\\/\\/www.google.com

    “BookMark” END

    “[ script ]” MENU

        “script_submenu”  OPEN_MENU /home/alang/bin

    “[ script ]” END

“syszone” END

—————————————————————————————

2.2 윈도우 메이커 테마 꾸미기

테마 다운 받기

http://themes.freshmeat.net/browse/918/?topic_id=918

다운 받은 테마파일을 GNUstep/Library/WindowMaker/Themes 옮겨 놓고 압축을 푼다.

# tar xzvf 3dLines.themed.tgz

# cd 3dLines.themed

각 테마 디렉토리안에 들어가면 style 파일이 존재한다. 이 파일을 열어서 원하는 폰트로 설정을 수정해 주면 된다.

# vi style

—————————————————————————————

{

  TitleJustify = center;

  ClipTitleFont =

“-adobe-helvetica-medium-r-*-*-12-120-*-*-*-*-*-*,-sun-roundgothic-medium-r-normal–12-120-75-75-c-120-ksc5601.1987-0,*”;

  WindowTitleFont =

“-adobe-helvetica-medium-r-*-*-12-120-*-*-*-*-*-*,-sun-roundgothic-medium-r-normal–12-120-75-75-c-120-ksc5601.1987-0,*”;

  MenuTitleFont =

“-adobe-helvetica-medium-r-*-*-12-120-*-*-*-*-*-*,-sun-roundgothic-medium-r-normal–12-120-75-75-c-120-ksc5601.1987-0,*”;

  MenuTextFont =

“-adobe-helvetica-medium-r-*-*-12-120-*-*-*-*-*-*,-sun-roundgothic-medium-r-normal–12-120-75-75-c-120-ksc5601.1987-0,*”;

  IconTitleFont =

“-adobe-helvetica-medium-r-*-*-12-120-*-*-*-*-*-*,-sun-roundgothic-medium-r-normal–12-120-75-75-c-120-ksc5601.1987-0,*”;

  DisplayFont =

“-adobe-helvetica-medium-r-*-*-12-120-*-*-*-*-*-*,-sun-roundgothic-medium-r-normal–12-120-75-75-c-120-ksc5601.1987-0,*”;

  LargeDisplayFont =

“-*-helvetica-bold-r-normal–24-*,-sun-roundgothic-medium-r-normal–12-120-75

-75-c-120-ksc5601.1987-0,*”;

  HighlightColor = “#000000”;

  HighlightTextColor = “#fff7ff”;

  ClipTitleColor = white;

  CClipTitleColor = white;

  FTitleColor = “#ffffff”;

  PTitleColor = “#8e8686”;

  UTitleColor = “#22224f”;

  FTitleBack = (spixmap, barLinesFo.jpg, white);

  PTitleBack = (mhgradient, blue, “#bcbfc9”, “#7a8589”);

  UTitleBack = (spixmap, barLinesUn.jpg, white);

  ResizebarBack = (spixmap, barLinesUn.jpg, white);

  MenuTitleColor = “#fbffff”;

  MenuTextColor = “#b6b6b6”;

  MenuDisabledColor = “#cfc7be”;

  MenuTitleBack = (spixmap, menutitle1.jpg, white);

  MenuTextBack = (spixmap, menuitem1.jpg, white);

  IconBack = (spixmap, dock11.jpg, “#27272e”);

  IconTitleColor = gray;

  IconTitleBack = “#2e2e2e”;

  MenuStyle = Flat;

  WorkspaceBack = (spixmap, svans3dmaxLines.jpg, gray20); }

—————————————————————————————–

2.3 유용한 Dock Application 설치 하기

ftp://syszone.co.kr/pub/linux/desktop/dockapp.tgz

적절한 곳에 압축을 풀고 설치를 한다.

설치 이후 GNUstep/Library/WindowMaker/autostart 파일을 열어서 명령어 경로를 지정해 둔다. autostart 는 X 가 실행 될때 자동으로 실행되어야 하는 명령을 추가 하는 곳이다.

# cat ~alang/GNUstep/Library/WindowMaker/autostart

—————————————————————————————-

xset m 20/10 4

wmami &

wmxmms &

wmtop &

wmsensormon -lt 40 -ls 30 -lf 5000 -lv 183 167 -f & mount.app & spaceclock /home/alang/bin/dock/theme/brown-float.theme &

—————————————————————————————-

2.4 그놈 꾸미기

– 시스템 글꼴 바꾸기

시작 -> 환경설정 -> 글꼴  에서 시스템 폰트를 모두 “윈도우 굴림체”로 변경한다. 글꼴 크기는 모두 “9” 으로 고정

– GDM Greeter 테마 설치

http://art.gnome.org/themes/gdm_greeter/index.php 사이트에서 원하는 테마를 받는다.

# tar xzvf GDM-Simple-Gnome-Logo.tar.gz -C /usr/share/gdm/themes

– Splash screen(그놈2 시작화면) 설치

splash screen 은 550×330 대략 크기의 Png 형식의 이미지 이면 된다.

# mv ???.png /usr/share/pixmaps/splash

# ln -sf /usr/share/pixmaps/splash/???.png /usr/share/pixmaps/splash/gnome-splash.png  

– Metacity 테마 설치

# tar xzf Metacity/MCity-Hacked.tar.gz -C /usr/share/themes

– GTK2 테마 설치

# tar xzf GTK2/GTK2-Wonderland-Debian.tar.gz -C /usr/share/themes

– 아이콘 테마 설치

#tar xzvf ICON-Conectiva-Crystal-2.0.tar.gz -C /usr/share/icons

각 아이콘의 등록 정보에서 아이콘 PATH 를 /usr/share/icons/crystalsvg/48×48/app/

로 하면 이쁜 아이콘이 나온다.

3. 멀티 미디어 환경 구성하기

3.1 Xmms 꾸미기 ( MP3, Mpeg, Avi )

3.2 Mplayer 설치 하기

http://www.mplayerhq.hu/homepage/design7/dload.html

에서 다운 받을 수 있음.

DMCRadio-1.1.0-1.athlon.rpm

lame-3.96-1.athlon.rpm

lame-libs-3.96-1.athlon.rpm

lame-mp3x-3.96-1.athlon.rpm

libsap-1.54.1-1.athlon.rpm

mailm-0.3-1.athlon.rpm

mencoder-1.0pre4-3.athlon.rpm

mplayer-1.0pre4-3.athlon.rpm

mplayer-codecs-linux-real-2.0-2.i386.rpm

mplayer-codecs-linux-xanim-2.0-2.i386.rpm

mplayer-codecs-linux-xanim-3ivx-2.0-2.i386.rpm

mplayer-codecs-win32-2.0-2.i386.rpm

mplayer-codecs-win32-dmo-2.0-2.i386.rpm

mplayer-codecs-win32-indeo-2.0-2.i386.rpm

mplayer-codecs-win32-mjpeg2k-2.0-2.i386.rpm

mplayer-codecs-win32-qt-2.0-2.i386.rpm

mplayer-common-1.0pre4-3.athlon.rpm

mplayer-gui-1.0pre4-3.athlon.rpm

mplayer-skin-default-1.0-2.noarch.rpm

mplayer-tools-1.0pre4-3.athlon.rpm

mplayer-vidix-1.0pre4-3.athlon.rpm

mplayer-vidix-3DLabs-1.0pre4-3.athlon.rpm

mplayer-vidix-ATI-Radeon-1.0pre4-3.athlon.rpm

penguinsap-0.2-2.athlon.rpm

패키지 다운 받고 모두 설치 함.

3.3 Xine 로 DVD 보기

4. 브라우저 꾸미기

– 브라우저 한글화 하기

Edit -> Preferences ->  Appearance -> Languages/Content

각 Mozilla 버전에 맞는 korean 언어 Pack 을 다운 받는다.

– 브라우저 폰트 바꾸기

Edit -> Preferences ->  Appearance -> Fonts

모두 윈도우 굴림체로 바꾼다.

Size : 12

Minimum font size : 12

Display resolution : 96dpi

– 브라우저 플러그 인 설치 방법

http://plugindoc.mozdev.org/linux.html 에서 다운.

해당 플러그 인을 설치 하여 생성된 library 를

/usr/lib/mozilla-1.6/plugins 디렉토리 안에 넣어 둔다.

– flash plugin

# rpm -Uvh flash-plugin-7.0.25-1.i386.rpm

– java-vm plugin

# chmod 755 j2re-1_4_2_05-linux-i586.bin

# ./j2re-1_4_2_05-linux-i586.bin

# mv j2re-1_4_2_05-linux /usr/java/jre

# cd /usr/java/jre/plugin/i386/ns610-gcc32/

# ln -sf libjavaplugin_oji.so /usr/lib/mozilla-1.6/plugins/libjavaplugin_ouji.so

// 주의 java-vm 은 plugin file 을 copy 하면 안된다. browser 가 죽어 버린다.

– realplayer

# rpm -Uvh HelixPlayer-0.4.0.187-20040615.i586.rpm

# legacy-RealPlayer-0.4.0.186-20040615.i586.rpm

# cp /usr/local/HelixPlayer/mozilla/nphelix.so /usr/lib/mozilla-1.6/plugins

– adobe acrobat reader

# tar xzvf linux-509.tar.gz

# ./INSTALL

# cd /usr/local/Acrobat5/Browsers/intellinux

# cp nppdf.so /usr/lib/mozilla-1.6/plugins

– mplayer

# rpm -Uvh mplayerplug-in-2.66-fc2.i386.rpm

# cp /usr/lib/mozilla/plugins/mplayerplug-in.so /usr/lib/mozilla-1.6/plugins/

6. 기타 유용한 프로그램 설치 하기  

ncftp, rdesktop 등을 설치 한다.

7. 기타 환경 설정

서진우

서진우

슈퍼컴퓨팅 전문 기업 클루닉스/ 상무(기술이사)/ 정보시스템감리사/ 시스존 블로그 운영자

You may also like...

페이스북/트위트/구글 계정으로 댓글 가능합니다.

Copy Protected by Chetan's WP-Copyprotect.