This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
Xfce/Guide
이 안내서는 빠르고, 가벼우며 완벽한 기능을 갖춘 데스크톱 환경 XFCE를 자세하게 소개합니다.
도입부
Xfce 데스크톱 환경
Xfce 은 유닉스 계열 운영체제용 빠르고 가벼운 데스크톱 환경입니다. 생산성에 역점을 두어 설계했으며 Freedesktop 명세에 따라 상당 부분을 설정할 수 있습니다.
Gnome과 KDE 같은 거대 규모 데스크톱과는 달리 Xfce는 상당히 적은 시스템 자원을 활용합니다. 게다가 굉장한 모듈화와 적은 의존성을 지니고 있습니다. 하드 디스크 공간을 적게 차지하며 설치에 적은 시간이 걸립니다.
이 안내서에는 최소한의 Xfce 환경에 대한 설치 설정만 보여주는 것이 아니라, "가벼움, 빠름, 모듈화" Xfce 철학에 따른 완전한 기능을 갖춘 데스크톱을 만드는 옵션을 살펴보기도 합니다.
이 안내서의 마지막 부분에는 새 Xfce 릴리즈로 업그레이드 한 후 실행할 약간의 명령을 보여주므로, 이전 버전에서 업그레이드 할 경우 해당 명령 절차를 따랐는지 확인하십시오.
설치
기본
먼저 Xorg 안내서에 따라 Xorg를 설정했는지 확인하십시오. 남은 단계가 있다면 이 안내서의 남은 부분을 끝낼 수 없습니다.
In order to have the best experience, the basic desktop profile should be chosen which has many of the common settings XFCE needs.
An example for the amd64 architecture:
root #
eselect profile list
Available profile symlink targets: [1] default/linux/amd64/13.0 [2] default/linux/amd64/13.0/selinux [3] default/linux/amd64/13.0/desktop * [4] default/linux/amd64/13.0/desktop/gnome [5] default/linux/amd64/13.0/desktop/gnome/systemd [6] default/linux/amd64/13.0/desktop/kde [7] default/linux/amd64/13.0/desktop/kde/systemd [8] default/linux/amd64/13.0/desktop/plasma [9] default/linux/amd64/13.0/desktop/plasma/systemd [10] default/linux/amd64/13.0/developer [11] default/linux/amd64/13.0/no-multilib [12] default/linux/amd64/13.0/systemd [13] default/linux/amd64/13.0/x32 [14] hardened/linux/amd64 [15] hardened/linux/amd64/selinux [16] hardened/linux/amd64/no-multilib [17] hardened/linux/amd64/no-multilib/selinux [18] hardened/linux/amd64/x32 [19] hardened/linux/musl/amd64 [20] hardened/linux/musl/amd64/x32 [21] default/linux/uclibc/amd64 [22] hardened/linux/uclibc/amd64
Emerge
Now that the USE variables have been set in /etc/portage/make.conf, it is time to install Xfce.
root #
emerge --ask xfce-base/xfce4-meta
원한다면 다음 일반 사용자를 cdrom
, cdrw
, usb
그룹에 추가하여 카메라, 광 드라이브, USB 메모리를 마운트하고 사용할 수 있도록 하십시오.
root #
for x in cdrom cdrw usb ; do gpasswd -a username $x ; done
시스템 환경 변수를 업데이트하십시오:
root #
env-update && source /etc/profile
새 데스크톱 환경에서 계속 작업을 하려면 그래픽 터미널이 필요할지도 모릅니다. Xfce에 맞추려면 x11-terms/xfce4-terminal가 적절합니다. Xfce에 맞춰 만들었습니다. 터미널 설치는 다음과 같습니다:
root #
emerge --ask x11-terms/xfce4-terminal
설정
Xfce 시작
Now that Xfce is now installed, we'll configure it to be the default desktop environment when we issue the startx command. Exit your root shell and log on as a regular user.
user $
echo "exec startxfce4" > ~/.xinitrc
If you have ConsoleKit installed, your ~/.xinitrc should instead contain exec startxfce4 --with-ck-launch. Otherwise, some of your applications may stop working. You'll also need to add consolekit to the default runlevel by running the following command as root: rc-update add consolekit default.
Now start your graphical environment by typing startx:
user $
startx
새 Xfce 데스크톱 환경으로의 진입을 축하하며 환경합니다. 이제 이리저리 둘러보십시오. 여러분이 필요로 하는 요건을 맞추려 Xfce 설정을 어떻게 할 수 있는지 배우기 위해 계속 읽어내려가십시오.
세션과 시동
If you've installed (or plan to install) popular Gnome or KDE applications such as k3b, nautilus, kmail, evolution, etc. then you should make sure that Xfce launches the appropriate services for these at startup. Navigate to Menu --> Settings --> Sessions & Startup. On the Advanced tab, select the appropriate checkbox. This might slightly increase Xfce startup times, but it decreases load times for KDE and Gnome applications.
Xfce는 세션 및 시동 메뉴의 일반 탭에서 세션 설정과 실행중인 프로그램을 저장하는 기능을 갖추고 있습니다. 로그아웃히 자동으로 저장하거나 Xfce가 각각의 순간마다 물어보도록 할 수 있습니다. 이 기능은 잘못된 설정을 되돌릴때 유용합니다. 실수로 패널을 죽였습니까? 현재 세션에서 저장하겠느냐는 물음에 그냥 "아니요"라고 하시면 다음 Xfce 시작할 때 이전 데스크톱을 복구합니다. 다음에 로그인할 때 웹 브라우저, 터미널, 전자메일 클라이언트를 자동으로 실행하겠습니까? 로그아웃 전에 세션을 저장하기만 하십시오.
이제 설치하고 설정한 환경의 기본 동작이 어떻게 되는지를 아셨습니다. 그런데, 더 뭘 할 수 있는가에 대해 관심이 있으시다고요? 계속 읽어내려가보십시오!
추가 프로그램
모든 사용자는 쓸만한 프로그램과 유틸리티 일부 또는 전체의 설치를 고려하시는 것이 좋습니다:
root #
emerge --ask xfce-extra/xfce4-mixer xfce-extra/xfce4-taskmanager x11-themes/xfwm4-themes app-office/orage app-editors/mousepad xfce-extra/xfce4-power-manager x11-terms/xfce4-terminal xfce-base/thunar
Package | Description |
---|---|
xfce-extra/xfce4-pulseaudio-plugin | Pulseaudio volume control. (xfce4-mixer is deprecated and removed from Gentoo. Others can install media-sound/volumeicon or similar tray audio mixer) |
xfce-extra/xfce4-taskmanager | Displays a list of all running programs, and the CPU and memory consumption each one takes up. By right-clicking an item, you can kill a misbehaving application, pause and restart it, or even alter its run time priority, which lets you fine-tune how much of a demand it puts on your system's resources. |
x11-themes/xfwm4-themes | Adds several window manager themes. You may want to add a more full-coverage icon theme such as x11-themes/tango-icon-theme just to round out your desktop. |
app-office/orage | A simple, handy calendar. |
app-editors/mousepad | Is a bare bones text editor that starts up extremely quickly. |
xfce-extra/xfce4-power-manager | An application to monitor and manage power usage. This is especially important for laptops! The power manager allows user to adjust screen brightness, choose maximum performance or battery-saving modes, and setup hibernate, suspend, and shutdown actions when the lid is shut or buttons are pressed. xfce4-power-manager can be set to provide warning when the battery reaches certain levels, or even turn off the machine. The application comes with a couple of helpful panel plugins to display battery/charging status, and a brightness control. |
x11-terms/xfce4-terminal | An X11 terminal emulator, far more configurable and useful than the barebones xterm. xfce4-terminal supports Unicode text, color schemes, pseudo-transparency and hardware-accelerated transparency via Xfce's built-in compositor, all out-of-the-box. Just make sure that the default action on the terminal launcher of your panel runs /usr/bin/Terminal instead of xterm. Right-click the launcher and choose Properties to change the command. |
xfce-base/thunar | Xfce's default graphical file manager. It is fast yet quite powerful, can support several plugins for even more functionality; just install them with emerge. These plugins include: xfce-extra/thunar-archive-plugin which lets users create and extract archive files using the right-click menu. It provides a handy front-end for graphical archiving applications such as xarchiver and file-roller. |
xfce-extra/tumbler | Lets users preview certain types of files from within Thunar, such as images and fonts. |
xfce-extra/thunar-volman | Automatically manages removable media and drives. |
Desktop applications
이제 Xfce의 철학을 간직한 쓸모있고 가벼운 데스크톱 프로그램의 추가를 살펴보도록 하겠습니다.
app-editors/mousepad는 충분히 기본적인 텍스트 편집기로서 괜찮은 존재지만, 완전한 기능을 갖추었으나 리버오피스 같은 난잡함을 갖추지 않은 워드 프로세서를 원한다면 app-office/abiword를 이머지해보십시오. AbiWord는 더 가볍고 빠르며 산업 표준 문서 형식을 완전히 자체적으로 다룰 수 있는 프로그램입니다.
mail-client/thunderbird나 mail-client/evolution 정도의 수요가 없는 괜찮은 전자메일/뉴스리더가 필요합니까? mail-client/claws-mail을 이머지 해보십시오.
For your internet chat needs, net-irc/irssi is an excellent, tiny, incredibly configurable IRC client that runs in your terminal. If you prefer a compact all-in-one client that handles nearly all chat protocols, you may want to emerge net-im/pidgin.
If you need movie and music players, look no further than media-video/mplayer and media-sound/exaile. They can play most every media format available quite nicely.
Finally, you'll need a web browser. Nearly all graphical web browsers require more resources than most of your other desktop applications. Still, Firefox and Midori are always good choices. Alternatively, you may find Opera to be quite fast. However, Opera is not available on as many processor architectures as Firefox, and it has more dependencies unless you override them with a few USE flags.
root #
emerge --ask www-client/firefox
root #
emerge --ask www-client/midori
root #
echo "www-client/opera gtk -kde" >> /etc/portage/package.use
root #
emerge --ask www-client/opera
이제 데스크톱을 다듬는데 몇가지 괜찮은 제안을 확인해보았으니 Xfce 경험 디자인을 개선할 다른 방법을 살펴보도록 하겠습니다.
패널 플러그인
이 챕터에서는, Xfce에서 매일 사용할 쓸모있는 플러그인과 프로그램에 대해 이야기하도록 하겠습니다.
There are many plugins for the panel available in Portage; see for yourself with emerge --search xfce. Though for the most part their names are self-explanatory, a few deserve extra attention, as they are quite helpful. To use them, simply emerge them. They'll be added to the list of available items in the Add New Items menu shown when you right-click on the panel.
Package | Description |
---|---|
xfce-extra/xfce4-battery-plugin | Perfect for laptop users. It displays battery percentage, time remaining, power source (AC or battery), fan status, warnings, and can even be configured to execute commands at certain power levels. This feature can be used to put the laptop into hibernate mode when the battery is almost exhausted. |
xfce-extra/xfce4-verve-plugin | A small command line embedded into the panel. It is quicker than opening up a terminal to run a command. |
xfce-extra/xfce4-mount-plugin | Provides a handy method of mounting devices listed in /etc/fstab just by clicking the mouse. |
xfce-extra/xfce4-sensors-plugin | Lets users monitor hardware sensors, such as CPU temperature, fan RPM, hard drive temp, motherboard voltage, and more. |
그래픽 로그인
~/.xinitrc 파일에 startxfce4를 추가하던 때를 기억하십니까? 이게 로그인 한 다음 startx를 입력하고 나서 데스크톱에 진입하도록 해야할 일의 전부입니다. 텍스트 기반의 부팅, 로그인을 선호한다면 이만하면 됐습니다만, 디스플레이 관리자를 사용하여 부팅한 후에 Xfce를 자동으로 시작하도록 하겠습니다(그래서 그래픽 환경에서 로그인할 수 있습니다).
먼저 Xfce를 부팅할때 불러오는지 확인해보도록 하겠습니다:
root #
rc-update add xdm default
아직 끝나지 않았습니다. 디스플레이 관리자를 골라야 하고 적당한 변수값을 잡아야 합니다. 포티지에 몇가지 선택지가 있지만, 이 안내서에서는 SLiM으로 정하겠습니다.
x11-misc/slim은 빠르고 가벼우며 최소한의 의존성을 지니고 있습니다. Xfce엔 딱입니다!
root #
emerge --ask x11-misc/slim
Then edit the DISPLAYMANAGER variable in /etc/conf.d/xdm:
'"`UNIQ--pre-00000002-QINU`"'
This is a deprecated template. Help us update this template!
/etc/env.d/90xsession에 XSESSION="Xfce4"
을 추가하면 SLiM에서 자동으로 Xfce 세션을 시작할 수 있습니다:
root #
echo XSESSION=\"Xfce4\" > /etc/env.d/90xsession
root #
env-update && source /etc/profile
데스크톱을 아름답게 꾸미기
데스크톱 모양새를 조금 고쳐보면 꽤 오랫동안 사용할 수 있습니다. Xfce에는 최신 데스크톱 환경에서 여러분이 기대하는 글꼴 앤티에릴리어싱 설정, 색상 스킴, 다양한 창 장식, 테마 등에 대한 모든 옵션을 갖추고 있습니다. 이걸로 충분하지 않다면 서드파티 테마, 아이콘 모음, 마우스 커서 테마, 배경을 설치하는건 식은죽 먹기입니다.
젠투가 선정한 다양한 해상도의 멋들어진 젠투 배경은 젠투 웹사이트 에서 제공합니다. 아이콘 모음, 완전한 Xfce 테마를 찾고 있다면, Xfce-Look에서 방대한 양의 모음을 찾아볼 수 있습니다. 서드파티 눈요기감에 대해 기억해야 할 중요한 사항은 보통 다운로드한 파일을 적당한 디렉터리에 압축을 푼 다음 설치해야 한다는 것입니다. 아이콘은 /usr/share/icons/로, 테마는 /usr/share/themes/로 넣어야 합니다. 모든 사용자가 테마와 아이콘 모음에 접근할 수 있게 하려면 이들 디렉터리를 사용하십시오. 각각의 사용자는 ~/.themes/와 ~/.icons/ 자체 홈 디렉터리에 설치할 수 있습니다.
SLiM을 디스플레이 관리자로 설치했다면, 메인 젠투 저장소에 있는 x11-themes/slim-themes 패키지에서 다양한 테마를 찾아볼 수 있습니다. 물론 또한 테마 페이지에서 더 많은 테마를 찾아보기도 하십시오. 여러분 자신이 SLiM 테마를 만드는건 상당히 쉽습니다. 그냥 Themes HowTo 한번 읽어보십시오. 젠투에 또한 emerge
할 수 있게 slim-themes
패키지를 실어놓았습니다.
마지막으로 Xfce는 자체적으로 창 투명도를 관리하는 내장 화면 합성 기능을 갖추고 있습니다. 이 옵션은 메뉴 --> 설정 --> 창 관리자에서 찾을 수 있습니다. 최상의 성능을 위해, 하드웨어 가속 렌더링을 지원하는 그래픽 카드와 드라이버의 실행이 필요합니다. xcomposite
USE 플래그를 사용하여 xfce-base/xfwm4를 이머지 했는지 확인해보십시오. 다음 /etc/X11/xorg.conf에 다음 섹션을 추가하여 화면 합성 기능을 활성화해야 합니다:
xorg.conf
Enabling compositeSection "Extensions" Option "Composite" "Enable" EndSection
This is the bare minimum configuration required for Xfce and Xorg-X11. However, setting up hardware-accelerated rendering depends on the system's graphics card, and is beyond the scope of this guide. Various articles exist in our wiki that assist in the setup of hardware-accelerated rendering for various graphic cards.
멋진 Xfce 데스크톱의 설정을 끝내면, 사진을 찍어서 친구에게 공유하는 일이 남았습니다. xfce-extra/xfce4-screenshooter를 바로 설치하시고 모두에게 자랑할 곳에 그림을 올려보세요.
요약
여기까지 참 많은 일들로 고생하셨습니다! 컴퓨터로 일을 하는데 필요한 견고한 프로그램 모음을 갖추어 빠른 데스크톱 환경을 설치하고 설정했습니다.
업그레이드
이전 주요 버전(4.x)에서 Xfce를 업그레이드 하려 한다면, 새 릴리즈와 호환되지 않는 이전에 캐시에 적재된 세션과 프로파일을 제거해야 합니다. 각각의 사용자에 따라 이전의 비호환 캐시 세션과 프로파일을 제거하기 위해 다음 명령을 실행하십시오:
root #
rm -r ~/.cache/sessions
root #
rm -r ~/.config/xfce*
root #
rm -r ~/.config/Thunar
새롭게 빛나는 인터페이스가 사용자를 반기겠지만 각자의 설정은 분실되었을 것입니다. 애석하게도, 설정 내용을 옮겨오는 방법은 없습니다.
외부 자료
Xfce를 설정하고 사용하는데 더 많은 도움이 필요합니까? 더 가벼운 프로그램이 필요합니까? 다음을 고려해보십시오:
- 젠투 포럼
- 설치한 도움말 파일과 Xfce에서 제공하는 다른 문서: /usr/share/xfce4/doc/C/index.html. 브라우저에서 이 경로를 열고 읽기 시작하시면 됩니다. 도움말 파일에 "숨겨진" 많은 설정 옵션에 대해 자세하게 다루기도 합니다.
This page is based on a document formerly found on our main website gentoo.org.
The following people contributed to the original document: nightmorph
They are listed here because wiki history does not allow for any external attribution. If you edit the wiki article, please do not add yourself here; your contributions are recorded on each article's associated history page.