FreeBSD_11-系统管理——{Part_1-xfce 桌面}
一、首先安装 Xorg
安装 xorg
-
- pkg install xorg
- pkg install xorg
清除旧文件(如果已前安装过 xorg)
-
- /etc/X11/xorg.conf
- /usr/local/etc/X11/xorg.conf
- /usr/local/etc/X11/xorg.conf.d/*
添加用户到 video 或 wheel 組
-
- pw groupmod video -m John
查看显卡信息
-
- pciconf -lv | grep -B3 display
- pciconf -lv | grep -B3 display
二、然后安装 Xfce
安装
-
- pkg install xfce
- pkg install xfce
配置
-
echo ". /usr/local/etc/xdg/xfce4/xinitrc" > ~/.xinitrc
Programs
-
- pkg install ibus ibus-table firefox-esr cmake vim ...
Drivers
-
- # /etc/make.conf
-
MODULES_OVERRIDE+=sound drm2 i2c
- # /boot/loader.conf
-
i915kms_load="YES" snd_hda_load="YES"
Chinese Environment
-
- # /etc/login.conf
-
chinese|Chinese Users Accounts:\ :charset=UTF-8:\ :lang=zh_CN.UTF-8:\ :tc=default:
- cap_mkdb /etc/login.conf
- pw usermod USERNAME -L chinese
-
# About Chinese fonts mkdir -p /usr/local/share/fonts/msfonts cp KaiTi.ttf !$ cd !$ mkfontdir && mkfontscale && fc-cache -fv
...
HADEX_ FROM HELL.