여기서는

앞에서 다루지 않은 응용프로그램 설치와 설정에 대해서 설명한다. 젠투를 설치했다고 좋아하기는 이르다. 왜냐하면, 여러가지로 손 봐야 할 것이 많기 때문이다.
여기서 다루는 응용프로그램은 순전히 나의 경우를 이야기 하는 것이다. 각자 자기에게 맞는 것을 설치하면 되는 것이다.

응용 프로그램 설치

설치시간이 가장 많이 걸리는 것중 하나다. 앞이 문서에서도 얘기했지만, 자기전에 설치하기 바란다. 약 6시간 넘게 걸리는 듯 하다.

#emerge gnome

그놈을 설치하면, 자동으로 의존성으로 인해 설치되는 것들이 있다. 그중에서 중요한 것이 X윈도우 프로그램이다. 사람들이 잘못 알고 있는 것중 하나가, 그놈을 X윈도우로 알고 있는 것이다. 정확이 얘기하자면 그놈은 윈도우 매니저이다. KDE도 마찬가지이다. 예전 버전만 하더라도, xfree86 이라는 것을 썼다. 하지만, 어떤 이유였는지 몰라도 프로그램 이름이 바뀌었다. 설정하는 방법은 동일하다. 내가 보기에 이름만 바뀐 것 같다. 설정을 해보자!

#xorgconfig

자신에 맞게 설정해주기 바란다. 나는 다음과 같이 설정했다.

### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.
 
Section "Files"
	# if the local font server has problems, we can fall back on these
    FontPath 	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
    FontPath 	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath 	"/usr/local/share/fonts"
    FontPath 	"/usr/share/fonts"
    FontPath 	"/usr/X11R6/lib/X11/fonts"
    FontPath 	"/usr/share/fonts/override"
    FontPath 	"/usr/share/fonts/truetype"
    FontPath 	"/usr/share/fonts/type1"
    FontPath 	"/usr/X11R6/lib/X11/fonts/100dpi"
    FontPath 	"/usr/X11R6/lib/X11/fonts/75dpi"
    FontPath 	"/usr/X11R6/lib/X11/fonts/misc"
    FontPath 	"/usr/X11R6/lib/X11/fonts/Speedo"
    FontPath 	"/usr/X11R6/lib/X11/fonts/TrueType"
    FontPath 	"/usr/X11R6/lib/X11/fonts/Type1"
    FontPath 	"/usr/share/fonts/truetype/freefont"
    FontPath 	"/usr/share/fonts/truetype/openoffice"
    FontPath 	"/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath 	"/usr/share/fonts/type1/gsfonts"
    FontPath 	"/usr/X11R6/lib/X11/fonts/TrueType/freefont"
    FontPath 	"/usr/X11R6/lib/X11/fonts/TrueType/openoffice"
    FontPath 	"/usr/X11R6/lib/X11/fonts/TrueType/ttf-bitstream-vera"
    FontPath 	"/usr/lib/X11/fonts/Type1"
    FontPath 	"/usr/lib/X11/fonts/Speedo"
    FontPath 	"/usr/lib/X11/fonts/misc"
    FontPath 	"/usr/lib/X11/fonts/100dpi"
    FontPath 	"/usr/lib/X11/fonts/75dpi"
EndSection
 
Section "ServerFlags"
	Option "AllowMouseOpenFail"
	Option "RandR" "on"
EndSection
 
Section "Module"
	Load	"v4l"
	Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
	Load	"xv"
	Load	"pex5"
EndSection
 
Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us"
EndSection
 
Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
EndSection
 
Section "Device"
	Identifier	"Intel"
	Driver		"i810"
EndSection
 
Section "Monitor"
	Identifier	"Generic Monitor"
	HorizSync	28-49
	VertRefresh	43-72
	Option		"DPMS"
EndSection
 
Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel"
	Monitor		"Generic Monitor"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
EndSection
 
Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection
 
Section "DRI"
	Mode	0666
EndSection
 
### END DEBCONF SECTION

위에서 주의 깊게 볼 것은 모니터의 해상도와 그래픽 카드이다.

#emerge gaim
#emerge beep-media-player
#emerge gftp
#emerge vim
#emerge openoffice

마지막에 설치하는 오픈 오피스는 약 5-6 시간이 소요된다. 이 역시 자기전에 설치하기 바란다.

한글 설정

가장 중요한 작업이라고 볼 수 있겠다. 우선 가장 먼저 한글폰트를 설치해야 한다. 젠투에서는 기본적으로 백묵 폰트를 지원한다.

#emerge baekmuk-fonts

Gnome 부팅을 할 때 언어를 한국어로 해주면, 한글을 볼 수 있다. 하지만, 어딘지 모르게 어색하다. 글씨도 흐릿하고, 별로 맘에 들지 않는다.
윈도우에서 가져온 .ttf 폰트를 설치해주면, 깨끗한(?) 폰트를 볼 수 있다. 나의 경우 개성체를 가져와서 설치했다.
설치 방법은 간단하다.

#cp gaesung.ttf /usr/share/fonts/korean                 // korean 디렉토리는 손수 만들어 주었다.
#fc-cache

그리고 나서 그놈 프로그램 → 기본설정 → 글꼴 에 보면, 등록이 된 것을 볼 수 있다.
한글을 입력하기 위해서는 별도의 프로그램이 필요하다. 바로 나비이다.

#emerge nabi
#vi /etc/env.d/02userset

설치했다면, 다음과 같이 설정해주어야 한다.

LANG="ko_KR.euckr"
SUPPORTED="ko_KR.euckr:ko_KR:ko"
SYSFONT="lat0-sun16"
SYSFONTACM="iso01"
 
XMODIFILERS="@im=nabi"
XIM_PROGRAM=/usr/bin/nabi

그리고 적용시키기 위해서

#env-update

해준다.
오픈 오피스를 한글화 해보자!!

#export LANGUAGE=82
#emerge app-office/openoffice

이것 역시 컴파일 시간이 오래 걸리기로 유명하다. 자기전에 설치해두자. 현재 최신 버전은 1.1.2 이다.
설치후에 보면, 메뉴나 옵션 설정들이 네모나 글씨가 깨져 있을 것이다.
하지만, 걱정할 필요는 없다.
'도구(T)' → '옵션(O)' → 'OpenOffice.org' → '글꼴' 에서 'Andale Sans UI' → 'MD 개성체' 로 바꾸어 준다.
확인을 누르면, 깨지는 것이 없이 제대로 나올 것이다.

Bootsplash

요즘 사람들이 올려놓은 스크린 샷을 보면, 콘솔 바탕이 그림인 것을 알 수 있다. 예전까지만 해도, 콘솔 색상은 전통적인 검은 색이었다. 하지만, 커널의 프레임 버퍼와 bootsplash 가 나온 이후로는 원하는 그림을 콘솔 백그라운드로 쓸 수가 있다. 우선 설치를 해보자!!

#emerge bootsplash

이제 커널을 재 컴파일 해주어야 한다. 젠투의 경우 genkernel 을 이용해서 컴파일 했다면, 기본으로 커널 설정이 잡혀있기 때문에 다시 컴파일할 필요가 없다.

Code maturity level options  ---> 
    [*] Prompt for development and/or incomplete code/drivers 
Processor type and features  ---> 
    [*] MTRR (Memory Type Range Register) support 
Device Drivers  ---> 
    Block devices  ---> 
        <*> Loopback device support 
        <*> RAM disk support 
        (4096) Default RAM disk size 
        [*]   Initial RAM disk (initrd) support 
Graphics support  ---> 
    [*] Support for frame buffer devices 
    [*]   VESA VGA graphics support 
    Console display driver support  ---> 
        [*]   Video mode selection support 
        <*> Framebuffer Console support 
    Bootsplash configuration  ---> 
        [*] Bootup splash screen 

위의 옵션을 반드시 체크하기 바란다. 했다면, 컴파일을 하자! 이제 콘솔에 사용할 그림을 만들어야 할 차례다.

/sbin/splash -s -f /etc/bootsplash/default/config/bootsplash-1280x1024.cfg >> /boot/initrd-1280x1024

위의 커널 컴파일과 그림이 만들어 졌다면, 마지막으로 부트로더의 설정만 해주면 된다.

#mount /boot
#vi /boot/grub/grub.conf

다음과 같이 설정한다.

title=Gentoo Linux
root (hd0,0)
kernel (hd0,0)/boot/kernel-2.6.7-gentoo-r12 video=vesafb:ywrap,mtrr vga=792
initrd=/boot/initrd-1280x1024

시작할 때 자동으로 실행하기 위해서

#rc-update add bootsplash default

실행해준다.

  • computer/os/gentoo_프로그램_설치_및_설정.txt
  • Last modified: 3 years ago
  • by likewind