# cd /usr/ports/x11/xorg/ && make install clean# cd /usr/ports/x11-wm/xfce4 && make install clean #注意有个 4# cd /usr/ports/x11/xfce4-goodies/ && make install clean# cd /usr/ports/x11-fonts/wqy/ && make install clean# cd /usr/ports/x11/lightdm/ && make install clean# cd /usr/ports/x11/lightdm-gtk-greeter/ && make install clean# cd /usr/ports/devel/xdg-user-dirs/ && make install clean# cd /usr/ports/x11/xfce4-goodies/ && make install clean
# cd /usr/ports/x11/xfce4-appmenu-plugin/ && make install clean# cd /usr/ports/x11/gtk-app-menu/ && make install clean# cd /usr/ports/x11/appmenu-registrar/ && make install clean
还有推荐 xfce 的一个桌面插件。叫 verve。配合设置智能书签,可以查网页内容。 我这里设置了 FreeBSD 的 man 手册,就可以通过搜索框搜索需要的内容。
故障排除
FreeBSD 的 xfce 终端动态标题不显示问题
sh: ~/.profile 写入配置
bash: ~/.bash_profile 或 ~/.profile 写入配置
zsh: ~/.zprofile 写入配置
csh: ~/.cshrc 写入配置
tcsh: ~/.tcshrc 写入配置
zsh:
precmd() a functionwhich is executed just before each promptchpwd() a functionwhich is executed whenever the directory is changed\eescapesequenceforescape (ESC)\aescapesequenceforbell (BEL)%nexpandsto $USERNAME%mexpandstohostnameuptofirst'.'%~expandstodirectory,replacing $HOME with'~'
tcsh:
precmd() a functionwhich is executed just before each promptcwdcmd() a functionwhich is executed whenever the directory is changed%nexpandstousername%mexpandstohostname%~expandstodirectory,replacing $HOME with'~'%#expandsto'>'fornormalusers,'#'forrootusers%{...%}includesastringasaliteralescapesequence