User w grupie wheel

% pw group mod wheel -m <login>

Bash

% chsh -s bash

Edytor

% sed -i "" 's/^\(setenv[[:space:]]EDITOR[[:space:]]\)vi$/\1vim/' ~/.cshrc
% sed -i "" 's/^EDITOR=vi;/EDITOR=vim;/' ~/.profile
% sed -E -i "" 's/^(set[[:space:]](EDITOR|VISUAL)=)vi$/\1vim/' ~/.mailrc
% echo 'export EDITOR=vim' >>~/.profile

Rozdzielczość w konsoli

Monitor z rozdzielczością natywną: 1280x1024.

  1. Po staremu: sc

    % vidcontrol -i mode
    

    /boot/loader.conf:

    kern.vty=sc
    hw_vga_textmode=1
    

    /etc/rc.conf:

    allscreens_flags="MODE_283"
    
  2. Po nowemu: vt

    /etc/rc.conf:

    kld_list="i915kms"
    

    Jeżeli chcesz uruchamiać X-y:

    /boot/loader.conf:

    kern.vty=vt
    hw.vga.textmode=0
    

    Jeśli trzeba wymusić inną rozdzielczość:

    /boot/loader.conf:

    kern.vt.fb.default_mode="1280x1024"
    

    Może być potrzebna instalacja drm-kmod.

    % pkg install drm-kmod
    Updating FreeBSD repository catalogue...
    FreeBSD repository is up to date.
    All repositories are up to date.
    The following 3 package(s) will be affected (of 0 checked):
    
    New packages to be INSTALLED:
    drm-fbsd13-kmod: 5.4.144.g20210908
    drm-kmod: g20190710_1
    gpu-firmware-kmod: g20210330
    
    Number of packages to be installed: 3
    
    The process will require 62 MiB more space.
    7 MiB to be downloaded.
    
    Proceed with this action? [y/N]: y
    [1/3] Fetching drm-kmod-g20190710_1.pkg: 100%    816 B   0.8kB/s    00:01
    [2/3] Fetching drm-fbsd13-kmod-5.4.144.g20210908.pkg: 100%    2 MiB   2.3MB/s    00:01
    [3/3] Fetching gpu-firmware-kmod-g20210330.pkg: 100%    5 MiB   2.6MB/s    00:02
    Checking integrity... done (0 conflicting)
    [1/3] Installing gpu-firmware-kmod-g20210330...
    [1/3] Extracting gpu-firmware-kmod-g20210330: 100%
    [2/3] Installing drm-fbsd13-kmod-5.4.144.g20210908...
    [2/3] Extracting drm-fbsd13-kmod-5.4.144.g20210908: 100%
    [3/3] Installing drm-kmod-g20190710_1...
    =====
    Message from drm-fbsd13-kmod-5.4.144.g20210908:
    
    --
    The drm-fbsd13-kmod port can be enabled for amdgpu (for AMD GPUs starting
    with the HD7000 series / Tahiti) or i915kms (for Intel APUs starting with
    HD3000 / Sandy Bridge) through kld_list in /etc/rc.conf. radeonkms for older
    AMD GPUs can be loaded and there are some positive reports if EFI boot is NOT
    enabled (similar to amdgpu).
    
    For amdgpu: kld_list="amdgpu"
    For Intel: kld_list="i915kms"
    For radeonkms: kld_list="radeonkms"
    

Boot time delay

/boot/loader.conf:

autoboot_delay="0"

X /TODO/

  • xf86-intel

pkg

System:

  • bash
  • bash-completion
  • vim
  • lf
  • git
  • gmake
  • gnupg
  • stow
  • beep
  • ccze
  • tmux
  • htop
  • wget

X:

  • qalculate
  • nsxiv
  • surf
  • firefox
  • thunderbird
  • libreoffice
  • pl-libreoffice
  • gimp
  • inkscape
  • zenity
  • mupdf
  • google-fonts
  • pinentry-gtk2

More information

Refs

https://www.unixsheikh.com/tutorials/how-to-setup-freebsd-with-a-riced-desktop-part-1-basic-setup.html