User Tools

Site Tools


bsd:freebsd_14.1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bsd:freebsd_14.1 [2024/09/06 00:04] – [Software] Sean Rhonebsd:freebsd_14.1 [2024/09/06 04:21] (current) – removed Sean Rhone
Line 1: Line 1:
-====== Information ====== 
- 
-  * FreeBSD ((https://www.freebsd.org/)) 
-  * 14.1 ((https://www.freebsd.org/releases/14.1R/relnotes/)) ((https://www.freebsd.org/releases/14.1R/announce/)) 
-  * Xfce ((https://www.xfce.org/)) 
- 
-====== TODOs ====== 
- 
-  * TODO :p 
- 
-====== Download ====== 
- 
-  * https://download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/14.1/ 
-  * ''dvd1.iso'' can be ''dd'' to USB drives according to [[https://www.freebsd.org/releases/14.1R/announce/|Announcement]] ((''dvd1: Additionally, this can be written to a USB memory stick (flash drive) for the amd64 architecture and used to do an install on machines capable of booting off USB drives.'')), and works 
- 
-  FreeBSD-14.1-RELEASE-amd64-dvd1.iso 
- 
-====== Installation Notes ====== 
- 
-  * Add user to ''wheel'' group 
- 
-===== Partitioning ===== 
- 
-  * Auto ZFS on Root 
-  * Pool Type/Disks: stripe: 1 disk 
-  * Partition Scheme: GPT (UEFI) 
- 
-====== Xorg ====== 
- 
-  * https://docs.freebsd.org/en/books/handbook/x11/#x-install 
-  * TODO: libva vs media driver 
- 
-  su - 
- 
-  pkg install xorg drm-kmod 
- 
-  pw groupmod video -m espionage724 
- 
-  sysrc kld_list+=i915kms 
- 
-====== Xfce ====== 
- 
-  * https://docs.freebsd.org/en/books/handbook/desktop/#xfce-environment 
-  * TODO: Lockscreen 
- 
-  su - 
- 
-  pkg install xfce 
- 
-  ee '/etc/fstab' 
- 
-  proc /proc procfs rw 0 0 
- 
-  sysrc dbus_enable="YES" 
- 
-  echo '. /usr/local/etc/xdg/xfce4/xinitrc' > /home/espionage724/.xinitrc 
- 
-  chown espionage724:espionage724 /home/espionage724/.xinitrc 
- 
-  startx 
- 
-====== Software ====== 
- 
-  su - 
- 
-  pkg install firefox keepassxc libreoffice 
- 
-====== Repositories ====== 
- 
-====== Software ====== 
- 
-===== List ===== 
- 
-  * http://download.opensuse.org/tumbleweed/repo/ 
- 
-===== Disable USB Source ===== 
- 
-**** 
- 
-  sudo zypper modifyrepo --disable --medium-type 'hd' 
- 
-===== Update ===== 
- 
-==== System ==== 
- 
-**** 
- 
-  sudo zypper clean --all && sudo zypper refresh --force --services && sudo zypper dist-upgrade --details --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change && sync 
- 
-===== GNU nano ===== 
- 
-  * Installs ''nano'' 
-  * Sets ''VISUAL'' and ''EDITOR'' to ''nano'' via environment variable 
-  * Sets ''nowrap'' for current user 
- 
-  sudo zypper install 'nano' && export 'VISUAL=nano' && export 'EDITOR=nano' && echo -e 'export VISUAL=nano\nexport EDITOR=nano' | sudo tee '/etc/profile.d/editor-nano.sh' > '/dev/null' && cat '/etc/profile.d/editor-nano.sh' && mkdir -p ~/'.config/nano' && echo 'set nowrap' | tee ~/'.config/nano/nanorc' > '/dev/null' && cat ~/'.config/nano/nanorc' 
- 
-===== General ===== 
- 
-  * 2024/01/02: ''libopenh264-7'' seems fragile if it changes versions 
- 
-  sudo zypper install evolution filezilla foliate gbrainy gimp google-noto-*-fonts gstreamer-plugin-openh264 keepassxc libreoffice mpv transmission-gtk rhythmbox android-tools aria2 binutils chrony htop icoutils libnotify-tools libopenh264-7 nano 7zip secret-tool sensors unar wget xrandr yt-dlp  
- 
-===== Intel ===== 
- 
-**** 
- 
-  ucode-intel intel-media-driver intel-gpu-tools intel-opencl libvulkan_intel 
- 
-===== Games ===== 
- 
-**** 
- 
-  minetest vkquake xonotic 
- 
-===== Wine ===== 
- 
-**** 
- 
-  wine-staging libvulkan_intel-32bit libpulse0-32bit gstreamer-plugins-bad-32bit gstreamer-plugins-base-32bit gstreamer-plugins-good-32bit gstreamer-plugins-libav-32bit gstreamer-plugins-ugly-32bit 
- 
-===== Tor Browser ===== 
- 
-**** 
- 
-  torbrowser-launcher 
- 
-====== Settings ====== 
- 
-===== Keyboard Shortcuts ===== 
- 
-  bash -c "secret-tool lookup 'keepass' 'default' | keepassxc --pw-stdin ~/'Documents/keepass.kdbx'" 
- 
-  xfce4-terminal --command "sudo sh -c 'zypper clean --all && zypper refresh --force --services && zypper dist-upgrade --details --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change && sync && sync && fstrim --all --verbose && sync && read -n '1' -s -r -p 'Done' && sleep '2''" 
- 
-==== Keys ==== 
- 
-  * Listed respectively to above 
- 
-  * Ctrl + Alt + Z 
-  * Pause, Menu, or Launch1 
- 
-===== Printer ===== 
- 
-  * http://localhost:631/admin 
- 
-  * :!: Log-in as ''root'' 
-  * Internet Printing Protocol (ipps) -> HP -> IPP Everywhere 
-  * Color Mode: Device Gray 
-  * Administration -> Set As Server Default 
- 
-  ipp://192.168.1.164/ipp/print 
- 
-===== Network ===== 
- 
-  * See [[notes:dns_servers]] for other servers 
- 
-<code>9.9.9.9,149.112.112.112</code> 
- 
-<code>2620:fe::fe,2620:fe::9</code> 
- 
-===== Rhythmbox ===== 
- 
-  * See [[Information:Internet Radio|Internet Radio]] 
- 
-===== Terminal ===== 
- 
-  * Background -> Transparent Background -> Opacity: ''0.90'' 
- 
-===== Dell Fan Profile ===== 
- 
-  * https://www.dell.com/support/kbdoc/en-us/000177768/guide-to-dell-power-manager 
- 
-  sudo zypper install -y 'python3-smbios-utils' && sudo smbios-thermal-ctl --set-thermal-mode='performance' && sudo zypper remove --clean-deps -y 'python3-smbios-utils' 
- 
-===== GRUB ===== 
- 
-==== Config ==== 
- 
-  * :!: [[linux;notes;kernel_parameters|More Kernel Parameters]] 
- 
-==== Spinesnap ==== 
- 
-  * YaST Boot Loader -> Kernel Parameters 
- 
-  * [ ] Graphical console (uncheck) 
-  * CPU Mitigations: Off 
-  * Remove ''splash=silent'' ''quiet'' parameters 
- 
-  * Last updated: 2024/09/05 
- 
-<code>rootflags='data=writeback' enable_mtrr_cleanup preempt='full' nohz='off' acpi_osi='Linux' tsc='nowatchdog' iomem='relaxed' pcie_aspm='off' pcie_port_pm='off' pcie_ports='native' pci='nocrs,pcie_bus_perf,realloc,pcie_scan_all,big_root_window' swiotlb='noforce' iommu='force' intel_iommu='on' reboot='pci' ahci.mobile_lpm_policy='1' nvme_core.default_ps_max_latency_us='0' nowatchdog modprobe.blacklist='iTCO_wdt' usbcore.autosuspend='-1' iwlmvm.power_scheme='1' snd_hda_intel.power_save='0' i915.enable_fbc='0' i915.enable_psr='0' i915.panel_use_ssc='0' i915.enable_guc='3' i915.guc_log_level='0' nvme.noacpi='1' nvme.use_threaded_interrupts='1' nvme.poll_queues='4'</code> 
- 
-=== i915 Mitigations === 
- 
-  * YaST Boot Loader erases any mentions of ''mitigations='' so ''i915.mitigations=x'' needs set from ''modprobe.d'' 
- 
-<code>echo 'options i915 mitigations=off' | sudo tee '/etc/modprobe.d/99-i915-mitigations.conf' > '/dev/null' && cat '/etc/modprobe.d/99-i915-mitigations.conf'</code> 
- 
-<code>sudo -e '/etc/modprobe.d/99-i915-mitigations.conf'</code> 
- 
-<code>sudo systool -v -m 'i915' | grep 'mitigations'</code> 
- 
-===== Xfce ===== 
- 
-==== Tweaks ==== 
- 
-  sudo -e '/etc/profile.d/99-tweaks.sh' 
- 
-<code> 
-# Mesa 
-export MESA_DISK_CACHE_SINGLE_FILE='1' 
-export MESA_DISK_CACHE_DATABASE='1' 
-export MESA_DISK_CACHE_COMBINE_RW_WITH_RO_FOZ='1' 
-export VAAPI_MPEG4_ENABLED='1' 
-export mesa_glthread='true' 
-export MESA_NO_ERROR='1' 
- 
-# End</code> 
- 
-===== KeePassXC ===== 
- 
-==== Settings ==== 
- 
-  * General -> [ ] Load previous databases on startup 
-  * Security -> [x] Use DuckDuckGo service to download website icons 
- 
-==== Add Database Password to GNOME Keyring ==== 
- 
-**** 
- 
-  secret-tool store --label='KeePass' 'keepass' 'default' 
- 
-===== lm_sensors ===== 
- 
-  sudo sensors-detect --auto 
- 
-  sudo -e '/etc/sysconfig/lm_sensors' 
- 
-===== mpv ===== 
- 
-  mkdir -p ~/'.config/mpv' && nano ~/'.config/mpv/mpv.conf' 
- 
-<code> 
-save-position-on-quit 
-sub-auto=fuzzy 
-force-window=yes 
-profile=gpu-hq 
-scale=ewa_lanczossharp 
-cscale=ewa_lanczossharp 
-video-sync=display-resample 
-interpolation 
-tscale=oversample 
-hwdec=vaapi 
-hwdec-codecs=all</code> 
- 
-===== Secure Shell ===== 
- 
-  * See [[clients:secure_shell|Client]] notes to generate/restore public key 
- 
-===== Drive Maintenance ===== 
- 
-==== Swap ==== 
- 
-  * Add ''discard'' after ''defaults'' for the ''swap'' mountpoint ((defaults,discard)) 
-  * According to the ''swapon'' man page, setting this in ''fstab'' is acceptable 
- 
-  sudo -e '/etc/fstab' 
- 
-  ,discard=once 
- 
-==== Trim ==== 
- 
-**** 
- 
-  sudo systemctl enable 'fstrim.timer' --now && sudo systemctl start 'fstrim' && sync && sudo systemctl status 'fstrim' -l 
- 
-===== Wine ===== 
- 
-  * See [[notes:wine|Wine]] 
- 
-===== Xorg ===== 
- 
-==== Full RGB HDMI ==== 
- 
-  * With ''xf86-video-intel'', use ''HDMI1'' 
- 
-  sudo -e '/etc/bash.bashrc.local' 
- 
-<code> 
-xrandr --output 'HDMI-1' --set 'Broadcast RGB' 'Full' 
-xrandr --output 'HDMI-1' --set 'content type' 'Game'</code> 
- 
-====== Firefox ====== 
- 
-  * See [[notes:firefox|Firefox]] if old configuration is needed, otherwise use Firefox Sync 
-  * https://wiki.archlinux.org/title/Firefox/Privacy 
- 
-===== about:config ===== 
- 
-  * See [[notes:firefox#aboutconfig|about:config]] for more info 
- 
-  extensions.screenshots.disabled 
- 
-  extensions.pocket.enabled 
- 
-===== Extensions ===== 
- 
-  * [[https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/|uBlock Origin]] 
-  * [[https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/|Decentraleyes]] 
-  * [[https://addons.mozilla.org/en-US/firefox/addon/privacy-badger17/|Privacy Badger]] 
- 
-==== uBlock Origin ==== 
- 
-==== Filters list ==== 
- 
-**** 
- 
-<code> 
-https://www.fanboy.co.nz/fanboy-problematic-sites.txt 
-https://www.fanboy.co.nz/r/fanboy-ultimate.txt 
-https://www.fanboy.co.nz/fanboy-cookiemonster_ubo.txt 
-https://www.fanboy.co.nz/enhancedstats.txt</code> 
- 
-==== My filters ==== 
- 
-**** 
- 
-<code> 
-! Hide RuneScape Wiki clocks 
-! 2023/12/13 
-oldschool.runescape.wiki###utcdate > [href="#"] 
-oldschool.runescape.wiki###footer-info-lastmod 
-runescape.wiki##[href="/w/Clock_(interface)"] 
-runescape.wiki###footer-info-lastmod 
- 
-! End</code> 
- 
-===== DNS over HTTPS ===== 
- 
-  * See [[notes:dns_servers]] for other addresses 
- 
-<code>https://dns.quad9.net/dns-query</code> 
- 
-====== Server ====== 
- 
-  * For workstations that run servers as a secondary directive 
-  * For headless servers, use [[distros:opensuse_tumbleweed_server|openSUSE TW (Server)]] 
- 
-===== Automatic Updates ===== 
- 
-==== Service ==== 
- 
-  sudo -e '/etc/systemd/system/suse-up.service' 
- 
-<code> 
-[Service] 
-Type=oneshot 
-ExecStartPre='/usr/bin/zypper' clean --all 
-ExecStart='/usr/bin/zypper' --non-interactive refresh --force --services 
-ExecStart='/usr/bin/zypper' --non-interactive dist-upgrade --auto-agree-with-licenses --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change 
-ExecStartPost='/usr/bin/sync' 
-ExecStartPost='/usr/bin/systemctl' reboot</code> 
- 
-==== Timer ==== 
- 
-  * 06:00 Oak 
- 
-  sudo -e '/etc/systemd/system/suse-up.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'suse-up.timer' --now 
- 
-<code> 
-[Unit] 
-Description=Software Package Maintenance and Updater 
-After=network-online.target 
-Wants=network-online.target 
- 
-[Timer] 
-OnCalendar=*-*-* 06:00:00 
-Persistent=true 
- 
-[Install] 
-WantedBy=timers.target</code> 
- 
-====== Notable Folders and Commands ====== 
- 
-**** 
- 
-  pkg autoremove 
  
/srv/www/wiki/data/attic/bsd/freebsd_14.1.1725595455.txt.gz · Last modified: (external edit)