그저께부터 잠을 줄여가며 고생하다가 겨우겨우 어느 정도 안정적으로 설치된 것 같습니다.
우분투 설치한 직 후 지금 순간까지 해온 모든 것들을 차례대로 정리해 봤습니다.
주의. 아래 내용은 ATI 그래픽 카드 사용자가 Compiz + Xgl 조합을 사용하고자 할 때 제공된 방법들입니다. 본문의 링크는
XGL/Compiz on ATI/Gnome 로 가시면 보실 수 있고, 아래 접어둔 내용은 단순히 제가 나중에라도 다시 쉽사리 볼 수 있도록 정리해둔 내용이니 오해 없으시길 바랍니다.
설치가 끝나고, 첫 로그인 후 Compiz + Xgl 조합 설치를 위해 할 것들
수정, Compiz + Xgl 조합은 실패했습니다... 그래도 글 작성해둔 게 아까우니 우선은 남겨둡니다. 아래의 Beryl + Xgl 조합은 성공했어요. :)
접어둔 글 읽어보기..
접어둔 글 읽어보기.. " tt_lesstext="
다시 접어두기.. " tt_id="1">
다시 접어두기.. " more="
접어둔 글 읽어보기.. ">1. Repositories 수정하기 (수정된 부분은 빨간색으로)
#
# deb cdrom:[Ubuntu 6.06.1 _Dapper Drake_ - Release i386 (20060807.1)]/ dapper main restricted
# deb cdrom:[Ubuntu 6.06.1 _Dapper Drake_ - Release i386 (20060807.1)]/ dapper main restricted
deb http://us.archive.ubuntu.com/ubuntu/ dapper main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ dapper universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper universe multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
# deb http://security.ubuntu.com/ubuntu dapper-security universe
# deb-src http://security.ubuntu.com/ubuntu dapper-security universe
2. aptitude update 및 dist-upgrade
sudo aptitude update
sudo aptitude dist-upgrade
3, Compiz + Xgl 조합을 위한 Repositories 업데이트
아래 내용을 /etc/apt/sources.list 에 추가해줍니다.
## quinstorm's and reggaemanus' repositories for XGL and Compiz
deb http://www.beerorkid.com/compiz/ dapper main
deb http://xgl.compiz.info/ dapper main
deb-src http://xgl.compiz.info/ dapper main
4. 위에서 추가한 quinstorm's repository 사용을 위한 gpg key 를 다운 받습니다.
wget http://www.beerorkid.com/compiz/quinn.key.asc -O - | sudo apt-key add -
5. aptitude update
sudo aptitude update
6. Compiz + Xgl 에 필요한 패키지 인스톨
sudo aptitude install compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 compiz-gnome
7. Xgl 시작을 위한 스크립트 생성
sudo vim /usr/bin/startxgl.sh
아래 내용으로 작성
Xgl -fullscreen :1 -ac -accel glx:pbuffer -accel xv:pbuffer & sleep 2 && DISPLAY=:1
# Start GNOME
exec gnome-session
작성한 스크립트 실행 가능하게 수정
sudo chmod 755 /usr/bin/startxgl.sh
8. Compiz 시작을 위한 스크립트 생성
sudo vim /usr/bin/startcompiz
아래 내용으로 작성
#!/bin/sh
killall gnome-window-decorator
wait
gnome-window-decorator &
compiz --replace gconf &
작성한 스크립트 실행 가능하게 수정
sudo chmod 755 /usr/bin/startcompiz
9. 새로운 세션 추가 (Xgl 용)
sudo vim /usr/share/xsessions/xgl.desktop
아래 내용으로 작성
[Desktop Entry]
Encoding=UTF-8
Name=XGl
Exec=/usr/bin/startxgl.sh
Icon=
Type=Application
10. 시작 프로그램 (system/preferences/sessions/startup programs)에 Compiz 시작 스크립트 추가
/usr/bin/startcompiz
11. aptitude update 및 dist-upgrade
sudo aptitude update
sudo aptitude dist-upgrade
12. 하드웨어 락업이 있으면 필수 추가 사항
sudo vim /etc/X11/xorg.conf
비디오 카드 드라이버 부분에 아래 사항을 추가해줍니다.
Option "KernelModuleParm" "agplock=0"
추가 및 수정 - Beryl + Xgl (fglrx) on ATI위의 Compiz 는 설치는 제대로 되었는 데 막상 실행이 제대로 되지 않아서 베릴 쪽으로 시도해봤습니다. 결과는! 좋군요. :D
3D Desktop (Beryl and Xgl) on Ubuntu Edgy Eft with ATI card.
(성공한 방법) 접어둔 글 읽어보기..
(성공한 방법) 접어둔 글 읽어보기.. " tt_lesstext="
다시 접어두기.. " tt_id="2">
다시 접어두기.. " more="
(성공한 방법) 접어둔 글 읽어보기.. ">1. Repositories 수정하기 (수정된 부분은 빨간색으로)
#
# deb cdrom:[Ubuntu 6.06.1 _Dapper Drake_ - Release i386 (20060807.1)]/ dapper main restricted
# deb cdrom:[Ubuntu 6.06.1 _Dapper Drake_ - Release i386 (20060807.1)]/ dapper main restricted
deb http://us.archive.ubuntu.com/ubuntu/ dapper main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ dapper universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ dapper universe multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
# deb http://security.ubuntu.com/ubuntu dapper-security universe
# deb-src http://security.ubuntu.com/ubuntu dapper-security universe
2. aptitude update 및 dist-upgrade
sudo aptitude update
sudo aptitude dist-upgrade
3, Beryl + Xgl 조합을 위한 Repositories 업데이트
아래 내용을 /etc/apt/sources.list 에 추가해줍니다.
## quinstorm's and reggaemanus' repositories for XGL and Compiz
deb http://www.beerorkid.com/compiz dapper main aiglx
deb http://media.blutkind.org/xgl/ dapper main aiglx
4. 위에서 추가한 quinstorm's repository 사용을 위한 gpg key 를 다운 받습니다.
wget http://www.beerorkid.com/compiz/quinn.key.asc -O - -o /dev/null | sudo apt-key add -
wget http://media.blutkind.org/xgl/quinn.key.asc -O - -o /dev/null | sudo apt-key add -
5. aptitude update
sudo aptitude update
6. Beryl + Xgl 에 필요한 패키지 & ATI 드라이버 인스톨
sudo apt-get install xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 beryl emerald-themes beryl-settings xorg-driver-fglrx linux-restricted-modules-`uname -r`
7. 인스톨된 드라이버 구동을 위해 설정 해주기
sudo aticonfig --initial
8. 드라이버가 제대로 인스톨 되었는 지 확인을 위해 xorg.conf 파일 확인 및 수정
sudo vim /etc/X11/xorg.conf
Driver "ati" 또는 Driver "radeon" 이라고 되어 있는 부분을
Driver "fglrx" 로 수정합니다.
또한, 아직 불안정한 composite 지원 문제가 있으므로 아래 사항을 추가
Section "Extensions"
Option "Composite" "0"
EndSection
9. Xgl 시작을 위한 스크립트 생성
sudo vim /usr/bin/startxgl
아래 내용으로 작성
#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
exec gnome-session
작성한 스크립트 실행 가능하게 수정
sudo chmod +x /usr/bin/startxgl
10. 새로운 세션 추가 (Xgl 용)
sudo vim /usr/share/xsessions/xgl.desktop
아래 내용으로 작성
[Desktop Entry]
Encoding=UTF-8
Name=Xgl
Comment=Start an Xgl Session
Exec=/usr/bin/startxgl
Icon=
Type=Application
10. 시작 프로그램 (system/preferences/sessions/startup programs)에 beryl-manager 추가 또는 따로 수동 실행
beryl-manager
11. aptitude update 및 dist-upgrade
sudo aptitude update
sudo aptitude dist-upgrade
영문 Locale (en_US.UTF8류) 에서 한글 입력을 위해 할 것들
1. 우선 Nabi 설치하기
Synaptic Package Manager 에서 Nabi 를 설치해줍니다. 물론 sudo apt-get install nabi 로도 가능하겠네요.
2. ~/.gnomerc 파일 생성 하기
cd ~/ 하면 자동으로 현재 사용자의 Home 디렉토리로 이동하게 됩니다.
절대 sudo 로 하지 마시고, 그냥
vim ~/.gnomerc
아래 내용으로 작성
export XMODIFIERS="@im=nabi"
export XIM_PROGRAM=/usr/bin/nabi
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
nabi &
3. 리붓
그냥 X-server 재시작로도 될련지 모르겠네요. X-server 재시작 방법은 Ctrl + Alt + Backspace
이 외에, 자바 JDK도 깔아야 겠고 펄, C 등 개발도구들 설치할 게 널렸네요 으흑 ㅜ_ㅜ
아 한글 폰트도 설치해야 겠네요... 그래도 Nabi 까지 제대로 작동되기 시작하면 그 다음은 수월한 편입니다.
peace 2006/12/17 01:34 # M/D Reply
우분투가 뭐시오? (무식쟁이 왈)
수많은 리눅스 distribution (이하 그냥 리눅스) 중 하나인데, 우분투는 데비안 기반이라지. 최근 강세인 리눅스 중 하나야. 설치도 편리하고, 하드웨어 인식율도 뛰어나서 굉장히 편해. :D