Size: 2080
Comment:
|
Size: 4011
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 30: | Line 30: |
pkg install slim xfce | pkg install xorg xfce pkg install chinese/arphicttf chinese/font-std hebrew/culmus hebrew/elmar-fonts japanese/font-ipa japanese/font-ipa-uigothic japanese/font-ipaex japanese/font-kochi japanese/font-migmix japanese/font-migu japanese/font-mona-ipa japanese/font-motoya-al japanese/font-mplus-ipa japanese/font-sazanami japanese/font-shinonome japanese/font-takao japanese/font-ume japanese/font-vlgothic x11-fonts/hanazono-fonts-ttf japanese/font-mikachan korean/aleefonts-ttf korean/nanumfonts-ttf korean/unfonts-core x11-fonts/anonymous-pro x11-fonts/artwiz-aleczapka x11-fonts/dejavu x11-fonts/inconsolata-ttf x11-fonts/terminus-font x11-fonts/cantarell-fonts x11-fonts/droid-fonts-ttf x11-fonts/doulos x11-fonts/ubuntu-font x11-fonts/isabella x11-fonts/junicode x11-fonts/khmeros x11-fonts/padauk x11-fonts/stix-fonts x11-fonts/charis x11-fonts/urwfonts-ttf russian/koi8r-ps x11-fonts/geminifonts x11-fonts/cyr-rfx x11-fonts/paratype x11-fonts/gentium-plus |
Line 69: | Line 70: |
{{{ pkg install nvidia-xconfig nvidia-settings }}} run nvidia-xconfig |
|
Line 76: | Line 83: |
Section "Module" Load "freetype" Load "bitmap" Load "type1" Load "glx" EndSection |
|
Line 85: | Line 100: |
{{{ pkg install slim }}} In ''/etc/rc.conf'': {{{ slim_enable="YES" }}} === XFCE === {{{ pkg install xscreensaver xdg-user-dirs redshift xrandr }}} .config/user-dirs.dirs {{{ XDG_DESKTOP_DIR="$HOME/desktop" XDG_DOWNLOAD_DIR="$HOME/downloads" XDG_TEMPLATES_DIR="$HOME/templates" XDG_PUBLICSHARE_DIR="$HOME/public" XDG_DOCUMENTS_DIR="$HOME/documents" XDG_MUSIC_DIR="$HOME/music" XDG_PICTURES_DIR="$HOME/pictures" XDG_VIDEOS_DIR="$HOME/videos" }}} .config/redshift.conf {{{ [redshift] temp-day=5700 temp-night=3600 gamma=0.8 adjustment-method=randr location-provider=manual [manual] lat=52.1 lon=5.2 }}} {{{ xscreensaver -no-splash & xdg-user-dirs-update & redshift & exec startxfce4 }}} |
Contents
Description
Installation
Boot disk
Create a bootable installation USB stick from FreeBSD.org. Install the disk by:
OS |
Command |
MacOS |
sudo dd if=FreeBSD-12.2-RELEASE-amd64-memstick.img of=/dev/diskX bs=4m |
Linux |
sudo dd if=FreeBSD-12.2-RELEASE-amd64-memstick.img of=/dev/sdX bs=4=M |
Disks
The best solution is using ZFS. Downside, it will take your whole disk. Encrypt your disk and swap file.
Configuration
Users
Add the users:
Kernel
svnlite checkout https://svn.freebsd.org/base/release/12.2.0 /usr/src
Window manager
pkg install xorg xfce pkg install chinese/arphicttf chinese/font-std hebrew/culmus hebrew/elmar-fonts japanese/font-ipa japanese/font-ipa-uigothic japanese/font-ipaex japanese/font-kochi japanese/font-migmix japanese/font-migu japanese/font-mona-ipa japanese/font-motoya-al japanese/font-mplus-ipa japanese/font-sazanami japanese/font-shinonome japanese/font-takao japanese/font-ume japanese/font-vlgothic x11-fonts/hanazono-fonts-ttf japanese/font-mikachan korean/aleefonts-ttf korean/nanumfonts-ttf korean/unfonts-core x11-fonts/anonymous-pro x11-fonts/artwiz-aleczapka x11-fonts/dejavu x11-fonts/inconsolata-ttf x11-fonts/terminus-font x11-fonts/cantarell-fonts x11-fonts/droid-fonts-ttf x11-fonts/doulos x11-fonts/ubuntu-font x11-fonts/isabella x11-fonts/junicode x11-fonts/khmeros x11-fonts/padauk x11-fonts/stix-fonts x11-fonts/charis x11-fonts/urwfonts-ttf russian/koi8r-ps x11-fonts/geminifonts x11-fonts/cyr-rfx x11-fonts/paratype x11-fonts/gentium-plus
NVIDIA
Updated the ports
distinfo
SHA256 (NVIDIA-FreeBSD-x86_64-460.27.04.tar.gz) = b9c0e676b5e66569d2f71a25ab1e782bb8a52cbcb3e413e854b72debc37b6623 SIZE (NVIDIA-FreeBSD-x86_64-460.27.04.tar.gz) = 103234112
Makefile
+DISTVERSION?= 460.27.04 -SUB_PATCHES= extra-patch-src-Makefile \ - extra-patch-src-nv-freebsd.h \ - extra-patch-src-nv-misc.h \ - extra-patch-src-nvidia_ctl.c \ - extra-patch-src-nvidia_dev.c \ - extra-patch-src-nvidia_linux.c \ - extra-patch-src-nvidia_pci.c -.if ${NVVERSION} >= 358.009 -# Initialize memory allocations to avoid spurious "lock re-initialization" -# errors. A little more detail can be found in bug 201340 starting around -# comment #50. -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_nvidia-modeset_nvidia-modeset-freebsd.c -.endif
removed some includes
In /boot/loader.conf:
nvidia-modeset_load="YES"
pkg install nvidia-xconfig nvidia-settings
run nvidia-xconfig
Xorg
Section "Device" Identifier "Card0" Driver "nvidia" # BusID "PCI:0:8:0:0" EndSection Section "Module" Load "freetype" Load "bitmap" Load "type1" Load "glx" EndSection
In /etc/rc.conf:
dbus_enable="YES" hald_enable="YES"
Login manager
pkg install slim
In /etc/rc.conf:
slim_enable="YES"
XFCE
pkg install xscreensaver xdg-user-dirs redshift xrandr
.config/user-dirs.dirs
XDG_DESKTOP_DIR="$HOME/desktop" XDG_DOWNLOAD_DIR="$HOME/downloads" XDG_TEMPLATES_DIR="$HOME/templates" XDG_PUBLICSHARE_DIR="$HOME/public" XDG_DOCUMENTS_DIR="$HOME/documents" XDG_MUSIC_DIR="$HOME/music" XDG_PICTURES_DIR="$HOME/pictures" XDG_VIDEOS_DIR="$HOME/videos"
.config/redshift.conf
[redshift] temp-day=5700 temp-night=3600 gamma=0.8 adjustment-method=randr location-provider=manual [manual] lat=52.1 lon=5.2
xscreensaver -no-splash & xdg-user-dirs-update & redshift & exec startxfce4