XFCE 是基於 GTK2 的輕量級桌面環境。與 GNOME、KDE相比更爲快速低消耗。推薦低配置、喜歡簡潔的朋友使用。linux
若是不想手動安裝,推薦 Manjaro, 該發行版基於 Arch, 並提供 GUI installer 和 Live USB ISO。git
安裝 X Window 服務器和顯卡驅動,鍵入:github
pacman -S xorg-server xf86-video-*
xf86-video-vesa 適合全部顯卡(包括 Virtualbox),但性能差。 pacman -Ss xf86-video 可查看全部驅動。api
安裝 Xorg 包組包含 xorg-server、xf86-video-* 等 X Window 必須的組件以及工具。瀏覽器
安裝 XFCE:服務器
pacman -S xfce4 xfce4-goodies
xfce4 包組包含了 XFCE 的基本組件, xfce4-goodies 包含附件,好比小工具、Panel 插件。ide
安裝 Display Manager(LightDM, SDDM, GDM …),這裏選擇 LightDM,工具
pacman -S lightdm systemctl enable lightdm # 開機啓動
GUI 顯示器有列出桌面環境的選項。性能
若是是第一次啓動 XFCE 的話,會出現一個提示,能夠選擇 「Use dafault config」。字體
剛安裝的 XFCE 桌面看起來慘不忍睹。因此美化是必須的。 首先開啓 XFCE 窗口管理器的混合特性(compositing),到 Settings –> Window Manager Tweaks 選中 Enable display compositing。
我的喜歡 infinality 的顯示方式,但該項目已經再也不維護,目前 freetype 提供了 infinality 模式,在 /etc/profile.d/freetype2.sh 設置顯示模式爲 38:
export FREETYPE_PROPERTIES="truetype:interpreter-version=38"
這時的字體會平滑一些,可是默認的字體很是醜。咱們須要本身安裝一些字體,有必要的話能夠配置本身的 ~/.config/fontconfig/fonts.conf。
我喜歡用 Ubuntu 做爲程序的菜單字體, Monaco 做爲終端、代碼字體,PingFang、XHei 做爲中文字體。
設置應用程序字體,打開 Application Menu -> Settings -> Appreance 選擇 Fonts 選項卡,選擇 Ubuntu Regular,字體爲 10 號。
設置終端字體,打開一個終端,選擇 Edit -> Preferences -> Appreance 選擇 Monaco。
Appearance -> Fonts 有相似 GNOME2/Mate 直接字體渲染的選項,字體的顯示效果在不一樣的顯示器上可能不同,勾選 Enable anti-aliasing,Hinting 爲 None,Sub-pixel order 爲 RGB 時效果不錯。
推薦的幾個:
若是雙擊窗口沒法最大化,打開 Settings -> Settings Editor -> xsetting,找到 DoubleClickTime 改成 500
在 Gnome 下,若是你一個終端窗口在瀏覽器窗口的前面,這時鼠標滾輪能夠滾動網頁,但不會覆蓋終端的窗口。 在 XFCE 裏面,打開 Window Manager Tweaks 的 Accessibility,取消 Raise Windows when any mouse button is pressed 便可達到這種效果
Window Manager Tweaks -> Workspaces 取消 Use the mouse wheel on the desktop to switch workspaces
cat << EOF >> ~/.gtkrc-2.0 style "xfdesktop-icon-view" { XfdesktopIconView::label-alpha = 0 fg[NORMAL] = "#ffffff" fg[SELECTED] = "#ffffff" fg[ACTIVE] = "#ffffff" } widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view" EOF
推薦 fcitx-sogoupinyin
, 在 AUR 或 archlinuxcn 的庫裏有:
cat << EOF >> /etc/pacman.conf [archlinuxcn] SigLevel = Optional TrustedOnly Server = http://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch EOF pacman -Sy archlinuxcn-keyring && pacman -S fcitx-sogoupinyin fcitx-im fcitx-libpinyin fcitx-configtool
fcitx-im
包含 fcitx-gtk2 fcitx-gtk3 fcitx-qt4 fcitx-qt5
GUI 庫的 IM 模塊。 若是用 root 登入 sogou 可能不工做。
寫入如下內容到 ~/.xprofile,確保輸入法正常工做:
export LC_CTYPE=zh_CN.utf-8 # 這句是爲了讓 fcitx 在 Emacs 下能夠工做 export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export XMODIFIERS="@im=fcitx"
最好選擇兼容 GTK2 和 GTK3 的主題。不然這些 GTK3 程序會很難看。 QT4 用 qtconfig-qt4 ( pacman -S qt4
)配置,QT5 用 qt5ct ( pacman -S qt5ct
)。 若是輸入法不工做確保安裝了 fcitx-qt4 和 fcitx-qt5
要將當前用戶加入 fuse 組,不然不能自動掛在共享目錄,典型的狀況是打開文件空白:http://superuser.com/a/720528
groupadd fuse usermod -aG <username> fuse