freebsd12.0 xfce桌面
freebsd12.1安装不上桌面,换12.0版本尝试。
https://wiki.freebsdchina.org/doc/x/freebsd_desktop_xfce
https://www.freebsd.org/doc/zh_CN/books/handbook/x-install.html
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html
https://www.freebsd.org/doc/zh_TW.UTF-8/books/handbook/x-fonts.html
https://wiki.freebsd.org/Graphics
https://jingyan.baidu.com/article/3ea514899f440552e61bbaaa.html
http://blog.nvacg.org/2019/08/29/freebsd-12-0%e5%ae%89%e8%a3%85kde5%e6%a1%8c%e9%9d%a2%e7%8e%af%e5%a2%83nuc5i3ryh/
pkg install xorg
pkg install xf86-video-intel
pkg install libva-intel-driver
cd /usr/ports/graphics/drm-fbsd12.0-kmod
make install clean
ee /etc/rc.conf
kld_list="/boot/modules/i915kms.ko"
linux_enable="YES"
dbus_enable="YES"
hald_enable="YES"
/boot/loader.conf
kern.vty=vt
pw groupmod video -m clychee || pw groupmod wheel -m clychee
startx
xrandr
pkg install wqy-fonts
安装xfce
pkg install xfce
echo ". /usr/local/etc/xdg/xfce4/xinitrc" > /home/clychee/.xinitrc
pkg install firefox
在新页面中点击 “添加到FireFox”按钮,将自动下载Chinese Simplified (zh-CN) Language Pack到你的电脑,下载完成后,地址栏中输入 about:config,在about:config中设置:intl.locale.requested 的值为 zh-CN,如果没有此string,则自行创建此string即可。
https://jingyan.baidu.com/article/3ea514899f440552e61bbaaa.html
pkg install chromium
For installing Chromium on your FreeBSD type the following steps as root:
Code:
# pkg install chromium
For correct operation, shared memory support has to be enabled
in Chromium by performing the following command as root :
Code:
# sysctl kern.ipc.shm_allow_removed=1
To preserve this setting across reboots, append the following
to /etc/sysctl.conf:
Code:
kern.ipc.shm_allow_removed=1
Remember the executable for Chromium is /usr/local/bin/chrome, not /usr/local/bin/chromium.
https://forums.freebsd.org/threads/install-chrome-on-freebsd.53976/
ee /etc/profile
export LANG=zh_CN.UTF-8
export LC_CTYPE=zh_CN.UTF-8
pkg install vscode
exfat
$ cd /usr/ports/sysutils/ exfat-utils/
$ sudo make install clean
$ cd /usr/ports/sysutils/ fusefs-exfat/
$ sudo make install clean
$ sudo vim /etc/rc.conf
----------------------------------------
# fuse configure
fuse_enable="YES"
----------------------------------------
$ sudo vim /boot/loader.conf
------------------------------------------
# fuse configure
fuse_load="YES"
------------------------------------------
$ sudo camcontrol devlist
$ sudo mount.exfat /dev/da1s4 /mnt/
https://www.linuxidc.com/Linux/2016-07/132969p4.htm
https://www.liurongxing.com/freebsd-mount-extfat.html