23. xorg-x11 과 pango 에 대해 Bold 패치를 하여 그 ebuild 를 /usr/local/portage 의 해당 디렉토리를 만들어 넣은 후 gnome 을 emerge 한다. Bold 패치된 ebuild 는 http://www.gentoo.or.kr 의 팁게시판에서 검색하면 찾을 수 있다. Bold 패치를 쓰지 않으려면 그냥 아래의 명령을 수행하고, 30-1번의 /etc/fonts/fonts.conf 내용 추가 하는 것도 생략한다.
gentoo1 root # mkdir /root/temp
gentoo1 root # cd /root/temp
gentoo1 root # tar -zxvf /mnt/cdrom/vmware-linux-tools.tar.gz
26. 아래의 내용에 따라 소스를 수정한다. 패치파일을 만들어서 적용시켜도 되겠다.
-- vmware-tools-distrib/bin/vmware-config-tools.pl 2004-06-11 02:52:10.000000000 +0200
+++ vmware-tools-distrib/bin/vmware-config-tools.pl 2004-07-05 20:35:27.084636944 +0200
@@ -2849,7 +2849,7 @@
}
sub xserver4 {
- return xserver_bin() . '/XFree86';
+ return xserver_bin() . '/Xorg';
}
sub xserver3 {
@@ -3052,7 +3052,7 @@
# string. Maybe it will once it settles down.
if ($xversionAll eq "0.0.0") {
$xversionAll = direct_command(shell_string(xserver4()) . ' -version 2>&1') =~
- /X.org Foundation/ ? '4.4.0' : '0.0.0';
+ /X.org Foundation/ ? '4.3.0' : '4.3.0';
}
# This search order is issued from the XF86Config man page.
@@ -3063,6 +3063,8 @@
file_name_exist('/usr/X11R6/etc/X11/' . $ENV{'XF86CONFIG'})) {
$xconfig_path = '/usr/X11R6/etc/X11';
$xconfig_file_name = $ENV{'XF86CONFIG'};
+ } elsif (file_name_exist($xconfig_path . '/xorg.conf')) {
+ $xconfig_file_name = 'xorg.conf';
} elsif (file_name_exist($xconfig_path . '/XF86Config-4')) {
$xconfig_file_name = 'XF86Config-4';
} elsif (file_name_exist($xconfig_path . '/XF86Config')) {
@@ -3568,6 +3570,7 @@
if ($major == 4 && $minor >= 2 &&
file_name_exist($cX4MouseDriverFile)) {
$line =~ s/%MOUSE_DRIVER%/vmmouse/g;
+ $line =~ s-/dev/mouse-/dev/input/mice-;
} else {
$line =~ s/%MOUSE_DRIVER%/mouse/g;
}
27. vmware-tools 를 인스톨한다.
gentoo1 root # cd /etc
gentoo1 root # mkdir rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d
gentoo1 root # cd /root/temp/vmware-tools-distrib
gentoo1 root # emerge pciutils
gentoo1 root # ./vmware-install.pl
gentoo1 root # rc-update add vmware-tools default
gentoo1 root # /etc/init.d/vmware-tools start
모든 물음에 그냥 엔터만 쳐도 잘 진행된다. 마지막 해상도를 묻는 질문에서 적당한 값을 정해주면 된다. 필자는 3번으로 "1024x768" 로 정했다. /etc/ 아래의 rc0.d ~ rc6.d 까지의 디렉토리들은 이후 지워도 된다.
28. windows 폰트 파일을 /usr/share/fonts/windows 아래로 넣는다.
29. /etc/X11/fs/config 파일을 편집한다.
gentoo1 root # vi /etc/X11/fs/config
catalogue = /usr/share/fonts/75dpi,
...
...
에 /usr/share/fonts/windows 를 추가한다.
30-1. /etc/fonts/fonts.conf 도 편집한 후 xfs 를 시작시킨다.
gentoo1 root # vi /etc/fonts/fonts.conf
아래의 내용을 추가한다.
<!--
Artificial bold for fonts without an bold version
-->
<match target="font">
<test name="weight" compare="less_eq">
<const>medium</const>
</test>
<test target="pattern" name="weight" compare="more">
<const>medium</const>
</test>
<edit name="weight" mode="assign">
<const>bold</const>
</edit>
</match>
<!--
Enable Autohint
-->
<match target="font">
<test qual="any" name="family">
<string>Gulim</string>
<string>GulimChe</string>
<string>Batang</string>
<string>BatangChe</string>
<string>Dotum</string>
<string>DotumChe</string>
<string>Gungsuh</string>
<string>GungsuhChe</string>
</test>
<test name="pixelsize" compare="more_eq">
<double>8</double>
</test>
<test name="pixelsize" compare="less_eq">
<double>14</double>
</test>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
</match>
30-2. 더불어 "Baekmuk " 문자열을 모두 지우고 "Batang" 문자열을 "Gulim" 으로 바꾼다.
vi 의 명령모드에서 ":1,$ s/Baekmuk //g" 와 ":1,$ s/Batang/Gulim/g" 입력으로 쉽게 할 수 있다.
gentoo1 root # rc-update add xfs default
gentoo1 root # /etc/init.d/xfs start
31. X 설정을 잡는다.
gentoo1 root # mv /etc/X11/XF86Config-4 /etc/X11/xorg.conf
gentoo1 root # vi /etc/X11/xorg.conf
Files 섹션의 FontPath 에 해당하는 줄을 모두 지우고 다음 한 줄을 추가한다.
FontPath "unix/:-1"
Section "InputDevice" 의 Identifier "Keyboard" 부분의 Driver 를 "Keyboard" 에서 "kbd" 로 바꾼다.
32. 한글입력기를 설정한다.
gentoo1 root # emerge nabi
gentoo1 root # vi /etc/env.d/02locale
gentoo1 root # env-update
32. 시작시 X 로그인 화면이 뜨도록 설정한다.
gentoo1 root # rc-update add xdm default
gentoo1 root # vi /etc/rc.conf
# XSESSION="Gnome" 줄을 찾아 앞의 # 를 없앤다.
# DISPLAYMANAGER="xdm" 를 찾아 # 를 없애고 xdm 을 gdm 으로 바꾼다.
33. 리부팅하면 아래와 같은 화면을 볼 수 있다.
그 후 위쪽 panel 의 "프로그램" 메뉴의 "기본설정" -> "고급" -> "세션" 을 열어 다음 그림과 같이 세션 옵션을 설정을 변경하고 닫기를 누른다. 로그아웃 하면 nabi 에 대한 설정은 저장되어 다음에 다시 로그인 할 때도 nabi 가 떠 한글입력이 가능해진다.
35. 테마를 받아오면 아래 그림과 같이 예쁘게(?) 설정도 가능하다. 이 테마는 MacOS-X Aqua Theme 이다.