Xfce/ko

From Gentoo Wiki
Jump to:navigation Jump to:search
This page is a translated version of the page Xfce and the translation is 25% complete.
Outdated translations are marked like this.

xfce.org에서 인용하자면 "xfce는 UNIX 계열 운영체제용 가벼운 데스크톱 환경입니다. 시각적인 매력을 끌고 사용자에게 친숙하면서도 빠른 속도를 지니고 적은 시스템 자원을 차지하는 것을 목표로 하였습니다."

Selecting a profile

중요
Read relevant documentation before performing any profile changes.

Using the basic desktop profile will provide a good set of defaults for Xfce. Other profiles can be used, but this gives a good balance between dependencies and usability, all else aside. To select the desktop profile:

root #eselect profile set default/linux/amd64/17.0/desktop

불필요한 의존성 피하기

app-text/poppler-qt5 USE 플래그를 기본값으로 설정해야합니다:

파일 /etc/portage/package.use/xfcepoppler 및 cmake의 qt5 USE 플래그 설정 해제
app-text/poppler -qt5

물론 원한다면, /etc/portage/make.conf-qt5를 시스템 전체적으로 설정할 수도 있습니다.

xfce4-notifyd

This is an optional step to install xfce-extra/xfce4-notifyd in place of x11-misc/notification-daemon. Skip this section if the choice of notification daemon is unimportant.

Emerging xfce-base/xfce4-meta will pull in the virtual/notification-daemon dependency. This virtual dependency is designed to insure that Xfce will be provided with a notification-daemon, whatever suitable software the user chooses to fulfill this role.

By default, virtual/notification-daemon will satisfy this dependency by drawing in GNOME's x11-misc/notification-daemon package. Xfce users may prefer to use xfce-extra/xfce4-notifyd, if a notification-daemon has not already been installed.

By installing xfce-extra/xfce4-notifyd before emerging Xfce, the virtual package virtual/notification-daemon will use xfce4-notifyd, and pull in no other packages. Use the --oneshot option to avoid adding xfce4-notifyd to the world file:

root #emerge --ask --oneshot xfce-extra/xfce4-notifyd

Now proceed with the installation.

설치

USE flags

USE flags for xfce-base/xfce4-meta The Xfce Desktop Environment (meta package)

archive Install app-arch/xarchiver.
calendar Add support for calendars (not using mcal!)
cdr Add support for CD writer hardware
editor Install the app-editors/mousepad text editor.
image Install the media-gfx/ristretto image viewer.
media Install the media-video/parole media player.
minimal Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features)
mpd Install the media-sound/xfmpc MPD client.
pulseaudio Add sound server support via media-libs/libpulse (may be PulseAudio or PipeWire)
remote-fs Install the x11-misc/gigolo frontend to manage remote filesystem connections.
search Install the dev-util/catfish search tool frontend.
svg Add support for SVG (Scalable Vector Graphics)
upower Enable power management support

Emerge

Emerge xfce-base/xfce4-meta for a default set of Xfce packages, to get a reasonably complete desktop environment:

root #emerge --ask xfce-base/xfce4-meta


The xfce-base/xfce4-meta package will provide the following user-facing applications, plus some libraries and system software:

Package Description
x11-terms/xfce4-terminal Terminal emulator that integrates well with Xfce, "friendlier" than the standard xterm program.
xfce-base/xfce4-panel Desktop panel with application launchers, panel menus, a workspace switcher, and more.
xfce-base/xfce4-settings Configuration system for the Xfce desktop environment, providing configuration dialogs and tools.
xfce-base/thunar Thunar is Xfce's file manager.
xfce-base/xfce4-appfinder Application finder.
xfce-base/thunar-volman Manages removable media and drives.
xfce-base/tumbler File previewer for Thunar.
xfce-base/xfce4-power-manager An application to monitor and manage power usage (especially important for laptops). Choose maximum-performance or battery-saving modes. Adjust screen brightness and setup hibernate, suspend, and shutdown actions (i.e., when the lid is shut or buttons are pressed). Can warn when the battery reaches certain levels, or even turn off the machine. Includes panel plugins to display battery/charging status, and control brightness.
xfce-extra/xfce4-pulseaudio-plugin Volume control for the panel. media-sound/volumeicon may be an option for systems without pulseaudio.

To see everything that is installed by xfce-base/xfce4-meta, see the dependency tab for that package on packages.gentoo.org.

물론 필요한 꾸러미만 선택할 수 있습니다:

추가 프로그램

xfce의 일부인 다른 추가 프로그램도 있습니다.

Package Description
app-cdr/xfburn CD burning application.
app-editors/mousepad Lightweight text editor.
x11-themes/xfwm4-themes Several window-manager themes.
xfce-extra/thunar-archive-plugin Plugin for Thunar to work with archives; uses app-arch/file-roller.
xfce-extra/xfce4-battery-plugin 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, which can be used to put the laptop into hibernate mode when the battery is almost exhausted.
xfce-extra/xfce4-mount-plugin One-click mounting of devices listed in /etc/fstab.
xfce-extra/xfce4-sensors-plugin Monitor hardware sensors, such as CPU temperature, fan RPM, hard drive temp, motherboard voltage, and more.
xfce-extra/xfce4-verve-plugin A small command line embedded into the panel; quicker than opening up another terminal to run a command.

This is just a partial selection of packages available in the Gentoo repository, see xfce-extra , or use eix (eix --category xfce-extra), to see packages from the xfce-extra category. See also https://www.xfce.org/projects/ for more information.

다음 프로그램은 xfce에서 잘 동작하며 기본 데스크톱 환경에 어우러지도록 잘 다듬었습니다.

Package Description
x11-misc/alacarte GNOME's menu editor works fine in Xfce.
x11-terms/tilda Lightweight quake-style terminal emulator.

Usage

Launching Xfce

Xfce can either be run from a terminal after login, launched automatically after login, or be started by a graphical display manager that will greet the user and ask for login details.

디스플레이 관리자 없이 Xfce 시작하기

startxstartxfce4 명령은 디스플레이 관리자를 거치지 않고 Xfce를 시작하는 손쉬운 선택지 입니다.

startx

startx 명령을 사용한다면, ~/.xinitrc 파일을 만들어 다음 내용을 넣으십시오:

파일 ~/.xinitrcstartx 실행할 때 xfce4 시작하기
exec startxfce4

If experiencing authorization or permissions issues, see the troubleshooting section.

startxfce4

Xfce4 데스크톱을 실행하려면 startxfce4를 명령줄에 입력하고 Enter 키를 누르십시오

user $startxfce4

디스플레이 관리자

Xfce를 시작할 때 디스플레이 관리자를 사용할 수 있습니다. 디스플레이 관리자 설정을 알아보려면 디스플레이 관리자en를 참고하세요

대부분의 디스플레이 관리자에서는 존재하는 세션을 설정할 때

  • .desktop 파일을 사용합니다. 다음 파일은 예제 .desktop 파일입니다:
파일 xfce4.desktop디스플레이 관리자용 Xfce4 desktop 파일
[Desktop Entry]
Encoding=UTF-8
Name=Xfce4
Comment=Use this session to run Xfce 4 as desktop environment
Exec=/usr/bin/startxfce4
Icon=/usr/share/pixmaps/xfce4_xicon1.png
Type=Application

디스플레이 관리자에서 동작하도록 .desktop 파일을 올바른 곳에 놓을 수 있습니다.

설정

Xfce는 데스크톱 환경이며 (대부분의)모든 사용자가 필요한대로 이리저리 설정하고 다듬을 수 있습니다. 이 부분에서는 잘 알려진(또는 새로 접하는) 여러 부분을 다루겠습니다.

음량 조절 키

음량 조절 키를 관리하려면 xfce-extra/xfce4-volumed를 설치하십시오(오래된 프로그램이므로 media-sound/tudor-volumed와 같은 대체 프로그램, 창 관리자의 단축 키 바인딩또는 별도의 음량 조절 프로그램을 추천합니다).

root #emerge --ask xfce-extra/xfce4-volumed-pulse

media-sound/tudor-volumed may be an option for systems not using pulseaudio.

단축키를 지정하려면 xfce4-keyboard-settings을 실행하십시오:

  • volume up 단추: amixer 주 음량을 5% 증가
  • volume down 단추: amixer 주 음량을 5% 감소
  • mute 단추: amixer 주 음량 상태를 전환

일관된 GTK+ 3 테마

다른 선택지가 있다면 Greybird 테마를 사용하는 방안입니다. 이 테마는 GTK+ 2, GTK+ 3, xfwm4, 에메랄드, 메타시티를 지원합니다:

root #emerge --ask x11-themes/greybird

Xfce 메뉴 -> 설정 -> 모양새로 이동하십시오. 또는 xfce4-appearance-settings를 실행하십시오. "방식" 목록에서 "Greybird"를 선택하십시오.

이제 GTK+ 2 프로그램과 GTK+ 3 프로그램이 동일한 모양새로 나타납니다.

GTK client side decorations

XFCE by default disables GTK client side decorations. If one wishes to enable them, they can set GTK_CSD=1 environment variable. Apps like Firefox use client side decorations to hide their own title bar.

다른 테마

포티지에는 Xfce와 호환되며 이머지할 수 있는 다른 테마도 있습니다:

root #emerge --ask x11-themes/clearlooks-phenix x11-themes/gnome-themes-standard x11-themes/gtk-engines-aurora x11-themes/light-themes x11-themes/murrine-themes x11-themes/nimbus x11-themes/oxygen-molecule x11-themes/redhat-artwork x11-themes/shiki-colors x11-themes/tactile3 x11-themes/zukini

문제 해결

수직 창 자동 고정 활성화

대부분의 최신 데스크톱 환경에서는 기본적으로 수직 창 자동 고정 기능이 있습니다. Xfce 에서도 이 기능을 활용할 수 있지만 기본적으로는 사용할 수 없습니다. 이 기능을 활성화하려면, 설정창 관리자고급탭으로 이동하십시오.

  • "화면 경계에 따라 움직임" 확인 상자에 "표시" 했는지 확인하십시오.
  • "화면 가장자리에 도달하면 작업 공간 전환" 표시를 껐는지 확인하십시오. 이 설정이 수직 창 자동 고정 시 혼동을 줄 수 있습니다.

확인 상자에 표시하고 나면 화면의 오른쪽 또는 왼쪽 가장자리로 창을 끌어다 놓았을 때 화면의 절반 가량으로 창 폭을 조절하며 자동으로 창을 고정합니다.

이 동작을 처리할 키보드 바로 가기 키는 보통 Super+ 또는 Super+ 키로 설정할 수 있습니다. 설정창 관리자키보드 탭으로 이동하십시오.

"왼편으로 창 바둑판 모양 배치" 및 "오른편으로 창 바둑판 모양 배치" 동작에 Super+Super+ 키 입력 조합을 설정하십시오.

오디오 음량 조절기에서 pavucontrol 바이너리가 없다고 징징댑니다

패널의 스피커(오디오) 아이콘을 누르신 후 오디오 음량 조절기...를 누르면 "pavucontrol 바이너리가 없습니다"라는 메시지가 뜹니다.

media-sound/pavucontrol을 설치하여 해결하십시오:

root #emerge --ask media-sound/pavucontrol

Xfce4-screensaver unable to unlock

Xfce-screensaver uses gnome-keyring by default to authenticate. By applying the installation method above, gnome-keyring will not be pulled and pam will be unable to service the default configuration installed in /etc/pam.d/xfce4-screensaver. Either pull gnome-keyring, otherwise the file should be modified to allow system-auth to be used on passwords:

파일 /etc/pam.d/xfce4-screensaver
auth include system-auth
password include system-auth

Authorization or permissions issues

When experiencing authorization or permissions issues within xfce4 in an OpenRC profile (symptoms include being unable to open power manager and unable to suspend/hibernate) make sure that sys-auth/elogind is installed and properly configured, and that the elogind USE flag is globally enabled.

If launching with startx, replace the appropriate line in ~/.xinitrc with the following:

파일 ~/.xinitrcstartx를 실행할 때 올바른 방식으로 xfce4 시작하기
ck-launch-session dbus-launch --sh-syntax --exit-with-session xfce4-session

Dual-monitors get mirrored after monitor suspend

There are (at least) three ways to solve this issue. First is to save the display settings as the default monitor layout profile, then enable that profile as "new monitors connect". There's also the option to show a dialog whenever new monitors are detected, which will default to the profile instead of mirroring, when one is available. Navigate to Settings -> Display -> Advanced to find these options. Remember to configure the display settings before saving the first profile.

2nd way is to kill xfsettingsd after logging to the Xfce session. However this will also make some functionality unavailable, such as global hotkeys. A custom script can be created that kills the service, and add that to the autostarting applications list.

3rd is to have a custom script that can be executed via a .desktop icon on the desktop, panel, or ran manually each time the monitors are turned on.

Review the monitor IDs using the xrandr command.

The custom script could look something like the following:

파일 ~/bin/configuremonitors.shconfiguremonitors.sh
xrandr --output HDMI-A-0 --right-of DisplayPort-0 --auto

추가 참조

  • 젠투 안내서 - 설치 및 설정 과정을 상당시 자세하게 안내합니다. 새콤달콤(?)한 젠투의 모든 자세한 내용은 이 글을 통해 알아보세요!