[데스크탑] Fedora 9을 이용한 리눅스 데스크탑 꾸미기

Fedora 9을 이용한 리눅스 데스크탑 꾸미기


작성일 : 2008년 12월 1일
작성자 : 서진우 (alang@syszone.co.kr)



– yum 패키지 관리


OS이미지 설치 후 yum을 이용하여 기본 패키지들을 업그레이드 한다.
아래는 yum에 대한 기본 사용법과 fedora에서 기본 이미지 설치 후 추가 rpm 제공 저장소 위치를 추가로 지정하는 방법들이다.


yum update


Usage: yum [options] < grouplist, localinstall, groupinfo, localupdate, resolvedep, erase, deplist,
 groupremove, makecache, upgrade, provides, shell, install, whatprovides, groupinstall, update,
repolist, groupupdate, info, search, check-update, list, remove, clean, grouperase >


Options:
  -h, –help            show this help message and exit
  -t, –tolerant        be tolerant of errors
  -C                    run entirely from cache, don’t update cache
  -c  [config file]     config file location
  -R  [minutes]         maximum command wait time
  -d  [debug level]     debugging output level
  -e  [error level]     error output level
  -y                    answer yes for all questions
  –version             show Yum version and exit
  –installroot=[path]  set install root
  –enablerepo=[repo]   enable one or more repositories (wildcards allowed)
  –disablerepo=[repo]  disable one or more repositories (wildcards allowed)
  -x [package], –exclude=[package]
                        exclude package(s) by name or glob
  –obsoletes           enable obsoletes processing during updates
  –noplugins           disable Yum plugins
  –nogpgcheck          disable gpg signature checking
  –disableplugin=[plugin] disable plugins by name


– example


yum search application_name 


yum list available


yum info application_name


yum install application_name


yum list extras
;; yum can list installed rpms for you from the repos you have enabled


yum remove application_name


yum localinstall /path/to/the/rpm
downloaded a rpm and cannot install it with rpm because of dependencies?


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


  yum-presto


    * This plugin speeds up the processing of packages and downloading of packages by downloading the difference between the new package and the old package. It is recommended to install it to reduce the quantity you download for updates. You can get it with this command:


su -c ‘yum -y install yum-presto’


  Livna


To install the Livna repository which can be left on by default.


su -c ‘rpm -i http://rpm.livna.org/livna-release-9.rpm’


  Protect your Repositories


Protect your repository so you do not break your Fedora installation.


su -c ‘yum -y install yum-protectbase’
su -c ‘perl -i -pe “s/(\[.*\])/\1\nprotect=yes/” /etc/yum.repos.d/{fedora*,livna*}’


  FreshRPMS


You can install the freshrpms package however it is recommended to change the enabled section to be manually enabled.


su -c ‘rpm -i http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/7/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm’


su -c ‘gedit /etc/yum.repos.d/freshrpms.repo’


You will need to change the enabled=1 to enabled=0 This is how it will be installed.


[freshrpms]
name=Fedora Core $releasever – $basearch – Freshrpms
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1


It needs to be changed to


[freshrpms]
name=Fedora Core $releasever – $basearch – Freshrpms
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1



Google
You will need to be root to create the file.


su –login


Then create the repo


cat <<EOF > /etc/yum.repos.d/google.repo
[google]
name=Google – i386
baseurl=http://dl.google.com/linux/rpm/stable/i386
enabled=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
EOF


기본 rpm 저장소 한글 사이트 변경


# vi /etc/yum.repos.d/fedora.repo
// 리포지터리 경로 설정 (한국 서버인 ftp.kaist.ac.kr 로 설정 합니다.)
▷ #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
▶ baseurl=ftp://ftp.kaist.ac.kr/fedora/linux/releases/$releasever/Everything/$basearch/os/
// yum 상태 리셋
# yum clean all



– NVIDIA 그래픽 카드 설치


http://www.nvidia.com/object/unix.html
NVIDIA에서 최신 그래픽 카드 드라이브를 다운로드 받는다.


kernel-devel rpm 패키지가 설치 되었는지를 확인하고, 설치한다.



#yum install kernel-mod
#yum install kmod-nvidia


– 한글입력


yum install scim
yum install scim-hangul
yum install scim-lang-korean


– 한글 로케일 변경


기본 로케일이 en_US.UTF-8 혹은 ko_KR.UTF-8로 되어 있다. 아직 리눅스의 한글
로케일은 eucKR이 아직 대세인지라 다양한 어플리케이션의 한글 지원을 위해서는
ko_KR.eucKR 로 로케일 변경을 권장한다.


# vi /etc/sysconfig/i18n


LANG=”ko_KR.eucKR”
SUPPORTED=”ko_KR.eucKR:ko_KR:ko:ko_KR.UTF-8:en_US.UTF-8″
SYSFONT=”Gulim”
SYSFONTACM=”lat0-sun16″
LC_ALL=”ko_KR.eucKR”
LC_CTYPE=”ko_KR.eucKR”
LC_NUMERIC=”ko_KR.eucKR”
LC_TIME=”ko_KR.eucKR”
LC_COLLATE=”ko_KR.eucKR”
LC_MONETARY=”ko_KR.eucKR”
LC_MESSAGES=”ko_KR.eucKR”
LINGUAS=”ko_KR.eucKR”


– 한글 로케일 변경 후 gnome 바탕화면 및 내문서 경로 변경하기


페도라 설치 시 ko_KR.UTF-8로 설치가 되는지라 설치 후 초기 그놈으로 로그인하면
기본 “내문서”,”바탕화면”,”다운로드”등의 기본 폴더가 UTF-8 인코팅으로 만들어짐.


ko_KR.eucKR로 로케일을 수정하면 기존에 UTF8로 만들어진 폴더가 모두 깨져 보인다.
해결 방법은 해당 경로를 수정해야 하는데…


$ vi ~/.config/user-dirs.dirs
XDG_DESKTOP_DIR=”$HOME/Desktop”
XDG_DOWNLOAD_DIR=”$HOME/download”
XDG_TEMPLATES_DIR=”$HOME/tmp”
XDG_PUBLICSHARE_DIR=”$HOME/public”
XDG_DOCUMENTS_DIR=”$HOME/doc”
XDG_MUSIC_DIR=”$HOME/music”
XDG_PICTURES_DIR=”$HOME/pictures”
XDG_VIDEOS_DIR=”$HOME/movie”



로 변경함.


;; 변경 시 gnome 에서는 로그아웃 한 상태에서 변경한다. 로그인 된 상태에서 변경하면
변경된 정보가 다시 기본 정보로 복구 된다.


– 기본 폰트 변경 ..


홈폴더 밑에 .fonts 디렉토리 생성 ..
사용할 윈도우 폰트들을 .fonts 디렉토리에 복사함.


$ fc-cache -v



– truetype font 적용


fedora8 이상 부터 truetype fonts 적용 방법이 기존과 조금 다르다.


# cd /etc/X11/fontpath.d/
# ln -sf /usr/share/fonts/hangul/sun sun-ko-fonts
# ln -sf /usr/share/fonts/hangul/sun/english sun-en-fonts


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



– 사용자계정 관리 권한 설정 (sudo)


# vi /etc/sudousers


.
.
alang        ALL=(ALL)       NOPASSWD: ALL



– 기본 테마 변경 ..


http://sourceforge.net/projects/mac4lin 프로젝트에서 테마 파일을 다운 받는다.


Mac4Lin_v1.0_RC1.tar.gz


cd /home/alang/download/Mac4Lin_v1.0_RC1
sh Mac4Lin_Install_v1.0_RC.sh


– 기본 아이콘 변경


홈폴더 밑에 .icons 디렉토리 생성
원하는 ICONS 테마를 다운 받고 해당 디렉토리 밑에 압축 해제..


gnome 테마는 http://gnome-look.org 에서 다운로드 받음.


이밖에 직접 테마 수정에서 바로 테마 압축 파일을 설치 가능하다.


– 3D 데스크탑 효과


# yum install compiz-fusion compiz-fusion-gnome compiz-fusion-extras compiz-fusion-extras-gnome compiz-manager emerald emerald-themes libcompizconfig ccsm fusion-icon


# rpm -e compiz-gnome
;; compiz-gnome 은 기본 설치된 패키지로 이것이 설치 되어 있으면 emerald 가 적용되지 않는다.


– 한텀 설치


# tar tzvf hanterm-xf-2.0.6-177.tar.gz
# cd hanterm-xf-2.0.6-177


# ./configure –enable-256-color –enable-doublechars –enable-chat –enable-i18n
# make && make install


# yum install xfs
# rpm -Uvh chkfontpath-1.10.1-2.fc9.i386.rpm
# rpm -Uvh sun-fonts-2.6-1.noarch.rpm



– 멀티미디어 설치
mp3
yum install xmms xmms-mp3 xmms-faad2 xmms-pulse xmms-skins
yum list *xmms\*
yum install audacious audacious-plugins-freeworld*
yum install rhythmbox gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg
yum install amarok amarok-extras-freeworld amarok-visualisation
yum install mpg321
yum install k3b-extras-freeworld


movie
# rpm –import /etc/pki/rpm-gpg/*
# rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-*


yum install mplayer mplayer-gui gecko-mediaplayer mencoder
wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2
mkdir -p /usr/lib/codecs
tar -jxvf all-20071007.tar.bz2 –strip-components 1 -C /usr/lib/codecs/
yum remove totem-mozplugin
mozilla-plugin-config -i


yum install vlc


rpm -ivh http://rpm.livna.org/livna-release-9.rpm
rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna
yum install libdvdcss


yyum install xine xine-lib-extras xine-lib-extras-freeworld



– 브라우저 플러그인 설치


– firefox 메뉴바 폰트 수정
~/.mozilla/firefox/default.y2m/chrome/userChrome.css


* { font-family: “굴림”, “Gulim” !important; font-size: 10pt !important; }



– gdesktop 설치


– awn-manager 설치
yum install vant-window-navigator
yum install awn-extras-applets


– gnome-terminal 설정
메뉴바 제거
gnome-terminal –hide-menubar
실행 시 크기 조정
gnome-terminal –geometry 61×27
<가로길이>x<세로길이>+<가로위치>+<세로위치>



 

서진우

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

You may also like...

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