歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Unix知識 >> BSD >> Freebsd下安裝xfce

Freebsd下安裝xfce

日期:2017/2/28 17:19:33   编辑:BSD

http://www.xfce.org/

xfce setup

freebsd# whereis xfce

freebsd# cd /usr/ports/x11-wm/xfce

freebsd# make install

/usr/ports/x11-wm/xfce

===> Vulnerability check disabled, database not found

===> Found saved configuration for xfce-3.8.18_5

=> xfce-3.8.18.tar.gz doesn't seem to exist in /usr/ports/distfiles/.

=> Attempting to fetch from

http://heanet.dl.sourceforge.net/sourceforge/xfce/.

xfce-3.8.18.tar.gz 100% of 5045 kB 120 kBps

00m00s===> Extracting for xfce-3.8.18_5

=> MD5 Checksum OK for xfce-3.8.18.tar.gz.

=> SHA256 Checksum OK for xfce-3.8.18.tar.gz.

===> Patching for xfce-3.8.18_5

===> Applying FreeBSD patches for xfce-3.8.18_5

===> xfce-3.8.18_5 depends on executable in : pkg-config - found

===> xfce-3.8.18_5 depends on shared library: audiofile.0 - not found

===> Verifying install for audiofile.0 in /usr/ports/audio/libaudiofile

===> Vulnerability check disabled, database not found

=> audiofile-0.2.6.tar.gz doesn't seem to exist in /usr/ports/distfiles/.

=> Attempting to fetch from http://www.68k.org/~michael/audiofile/.

-

-

-

-

-

-

===> Compressing manual pages for xfce-3.8.18_5

===> Registering installation for xfce-3.8.18_5

freebsd# cd /var/db/pkg

freebsd# ls

ORBit2-2.14.3 libiconv-1.9.2_2

OpenEXR-1.2.2_1 libmad-0.15.1b_2

Xaw3d-1.5E_1 libogg-1.1.3,3

a2ps-letter-4.13b_3 libsamplerate-0.1.2_2

aalib-1.4.r5_2 libsndfile-1.0.17

afterstep-1.0_1 libtool-1.5.22_2

akode-2.0.1,1 libvorbis-1.1.2,3

akode-plugins-mpc-2.0.1,1 linux_base-fc-4_9

akode-plugins-mpeg-2.0.1,1 perl-5.8.8

akode-plugins-oss-2.0.1,1 pkg-config-0.21

akode-plugins-resampler-2.0.1,1 png-1.2.12_1

akode-plugins-xiph-2.0.1,1 speex-1.0.5_1,1

asclock-1.0 tiff-3.8.2

bitstream-vera-1.10_2 xfce-3.8.18_5

expat-2.0.0_1 xorg-clients-6.9.0_3

fftw3-3.1.2 xorg-documents-6.9.0

flac-1.1.2_1 xorg-fonts-100dpi-6.9.0_1

fontconfig-2.3.2_6,1 xorg-fonts-75dpi-6.9.0_1

freetype2-2.2.1_1 xorg-fonts-cyrillic-6.9.0_1

gdk-pixbuf-0.22.0_5 xorg-fonts-encodings-6.9.0_1

gettext-0.14.5_2 xorg-fonts-miscbitmaps-6.9.0_1

glib-1.2.10_12 xorg-fonts-truetype-6.9.0

glib-2.12.4 xorg-fonts-type1-6.9.0

gmake-3.81_1 xorg-fontserver-6.9.0_1

gtk-1.2.10_17 xorg-libraries-6.9.0

imake-6.9.0 xorg-manpages-6.9.0

jpeg-6b_4 xorg-nestserver-6.9.0_1

libIDL-0.8.7 xorg-printserver-6.9.0_2

libXft-2.1.7_1 xorg-server-6.9.0_5

libaudiofile-0.2.6 xorg-vfbserver-6.9.0_2

libdrm-2.0.2 xterm-220

freebsd# whereis xfce

xfce: /usr/local/bin/xfce /usr/local/man/man1/xfce.1.gz /usr/ports/x11-

wm/xfce

啟動界面

freebsd# /usr/local/bin/startxfce

說明

如果你要使用 ports 安裝軟件,你必須先確認 /usr/ports 這個目錄是否有安裝。如

果沒有的話,使用 freebsd# /usr/sbin/sysinstall來安裝 ports 的目錄:

以 root 執行 /stand/sysinstall

選擇 Configure 後按 Enter

選擇 Distributions 後按 Enter

選擇 ports 後按空格鍵

選擇 Exit 後按 Enter

選擇你要從 CDROM 或 FTP 安裝等

跟著選單照做,最後離開 sysinstall

下面附一些幫助文件

Using XFce4

Getting started

Use startxfce4 to start an XFce session, which includes the panel, the

window manager and the desktop manager. All programs, or symbolic links to

programs, in ~/Desktop/Autostart/ will be run on startup.

To customize the behaviour of startxfce4, copy the file

${sysconfdir}/xfce4/xinitrc to your personal ~/.xfce4/ directory and edit

that file.

for me

freebsd# cp /usr/local/etc/xfce/xinitrc /root/.xfce

freebsd# /usr/local/bin/startxfce

Depending on your installation method the location of the system xinitrc

file may be different. If you install from source, ${sysconfdir} defaults to

/usr/local/etc. For binary packages it is often set to /etc; you can use

your package manager to find out.

Finally, the copied xinitrc file has to be made executable:

When you first start xfce, it creates an empty configuration file

(.xfce3rc) in your home directory.

Copyright © Linux教程網 All Rights Reserved