User Tools

Site Tools


bsd:freebsd_14.1_xfce

Differences

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

Link to this comparison view

bsd:freebsd_14.1_xfce [2024/11/27 02:48] Sean Rhonebsd:freebsd_14.1_xfce [2025/05/16 21:39] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
   * FreeBSD ((https://www.freebsd.org/))   * FreeBSD ((https://www.freebsd.org/))
-  * 14.1 ((https://www.freebsd.org/releases/14.1R/relnotes/)) ((https://www.freebsd.org/releases/14.1R/announce/))+  * 14.1-RELEASE (([[https://www.freebsd.org/releases/14.1R/relnotes/|relnotes]], [[https://www.freebsd.org/releases/14.1R/announce/|announce]]))
   * Xfce ((https://www.xfce.org/))   * Xfce ((https://www.xfce.org/))
  
Line 16: Line 16:
   * Wine ''wine.bin'' kill desktop launcher   * Wine ''wine.bin'' kill desktop launcher
   * Xfce Sticky Keys notification ([[https://forums.freebsd.org/threads/disable-random-notification-about-sticky-keys.94929/|thread]])   * Xfce Sticky Keys notification ([[https://forums.freebsd.org/threads/disable-random-notification-about-sticky-keys.94929/|thread]])
-  * i915 GuC/HuC firmware ([[https://forums.freebsd.org/threads/is-intel-gpu-guc-huc-firmware-used-hw-i915kms-enable_guc.94924/|thread]]) 
   * Android ''adb'' ([[https://forums.freebsd.org/threads/adb-android-tools.93731/#post-670844|post]])   * Android ''adb'' ([[https://forums.freebsd.org/threads/adb-android-tools.93731/#post-670844|post]])
-  * [[https://svnweb.freebsd.org/ports/head/devel/git/Makefile?view=markup&pathrev=564784#l73|Git tiny/lite differences]]+  * Spinesnap Dell Latitude 5591 laptop ((Intel UHD 630, no TB, no dGPU)) 
 +  * Stepmania and Clone Hero
  
 ====== Download ====== ====== Download ======
Line 31: Line 31:
 ===== Partitioning ===== ===== Partitioning =====
  
-==== ZFS ==== +  Auto (UFS) 
- +  * Entire Disk 
-  TODO: UFS instead +  * GPT
- +
-  * Auto ZFS on Root +
-  * Pool Type/Disks: stripe: 1 disk (''nda0'', [[linux;notes;drive_wipe|512e Sectors, wiped NVMe]]) +
-  * :!: ''NO'' Force 4K Sectors+
  
 ===== System Configuration ===== ===== System Configuration =====
  
   * [x] ''local_unbound''   * [x] ''local_unbound''
-  * ''sshd'' unchecked +  * Everything else unchecked
-  * ''moused'' unchecked +
-  * [x] ''ntpd'' +
-  * [x] ''ntpd_sync_on_start'' +
-  * ''powerd'' unchecked +
-  * ''dumpdev'' unchecked+
  
 ===== System Hardening ===== ===== System Hardening =====
Line 96: Line 87:
   /etc/netstart   /etc/netstart
  
-====== Time ======+====== Time Sync ======
  
   su -l   su -l
Line 125: Line 116:
  
   * https://docs.freebsd.org/en/books/handbook/x11/#x-install   * https://docs.freebsd.org/en/books/handbook/x11/#x-install
 +  * 2024/11/25: ''drm-61-kmod'' over ''drm-kmod'', ''gpu-firmware'' for CFL Intel UHD 630
  
   su -l   su -l
  
-  pkg install xorg drm-61-kmod gpu-firmware-intel-kmod-kabylake+  pkg install xorg 'drm-61-kmod' 'gpu-firmware-intel-kmod-kabylake'
  
   pw groupmod video -m espionage724   pw groupmod video -m espionage724
Line 225: Line 217:
  
   flightgear flightgear-data   flightgear flightgear-data
- 
-==== Other ==== 
- 
-**** 
- 
-  minecraft-client 
  
 ===== Tor Browser ===== ===== Tor Browser =====
Line 300: Line 286:
  
 <code>%l:%M %P</code> <code>%l:%M %P</code>
 +
 +==== Power Manager ====
 +
 +  * Display -> Blank after and Put to sleep after: Never
 +  * Display -> Switch off after: 5 minutes
  
 ==== Terminal ==== ==== Terminal ====
Line 309: Line 300:
 ==== Window Manager ==== ==== Window Manager ====
  
-  * Style -> Theme -> Greybird-dark+  * Style -> Theme -> Greybird-dark ((Greybird themes makes window borders tiny for mouse grab; Alt + Right-click hold-and-drag works nicely, [[https://forum.xfce.org/viewtopic.php?id=10432|thread]])) 
 + 
 +==== Window Manager Tweaks ==== 
 + 
 +  * Compositor -> Uncheck ''Show shadows under popup windows'' 
 +  * Compositor -> Uncheck ''Show shadows under dock windows'' 
 +  * Compositor -> Opacity of window during move: 10 notches from right/Opaque 
 + 
 +==== Xfce Screensaver ==== 
 + 
 +  * Screensaver -> Floating Xfce 
 +  * Screensaver -> Regard the computer as idle after: ''1'' minutes 
 +  * Lock Screen -> Lock the screen after the screensaver is active for: ''4'' minutes 
 +  * Lock Screen -> Disable Session Status Messages 
 +  * Lock Screen -> Disable User Switching
  
 ===== loader.conf ===== ===== loader.conf =====
Line 321: Line 326:
 <code> <code>
 autoboot_delay="2" autoboot_delay="2"
-hw.usb.usbhid.enable="1"</code> +hw.usb.usbhid.enable="1" 
- +hw.i915kms.enable_guc="3"
-=== Testing === +
- +
-**** +
- +
-<code>+
 hw.i915kms.modeset="1" hw.i915kms.modeset="1"
 hw.i915kms.fastboot="1" hw.i915kms.fastboot="1"
Line 397: Line 397:
   ee '/etc/sysctl.conf'   ee '/etc/sysctl.conf'
  
-<code>dev.hwpstate_intel.0.epp=0</code>+<code> 
 +kern.sched.preempt_thresh=224 
 +dev.hwpstate_intel.0.epp=0</code>
  
 ===== device.hints ===== ===== device.hints =====
Line 407: Line 409:
  
   * For built-in speaker and 3.5mm headphone jack auto-switch   * For built-in speaker and 3.5mm headphone jack auto-switch
-  * Last tested: 2024/11/18+  * Last tested: 2024/11/27
  
   su -l   su -l
Line 514: Line 516:
   * Security -> [x] Use DuckDuckGo service to download website icons   * Security -> [x] Use DuckDuckGo service to download website icons
  
-==== Add Database Password to GNOME Keyring ====+==== Database Password on Keyring ====
  
-****+  For [[#keyboard_shortcuts|Keyboard Shortcut]]
  
   secret-tool store --label='KeePass' 'keepass' 'default'   secret-tool store --label='KeePass' 'keepass' 'default'
Line 528: Line 530:
 ==== UFS ==== ==== UFS ====
  
-  * :!: TODO: Test without partition mounted+  * :!: TODO: Figure this and ''preen'' out
  
   su -l   su -l
Line 543: Line 545:
  
 ==== Full RGB HDMI ==== ==== Full RGB HDMI ====
- 
-  * ''xrandr'' lines go above ''xfce4/xinitrc'' 
  
   ee ~/'.xinitrc'   ee ~/'.xinitrc'
  
 <code> <code>
-xrandr --output HDMI-1 --set "Broadcast RGBFull +xrandr --output 'HDMI-1--set 'Broadcast RGB' 'Full' 
-xrandr --output HDMI-1 --set "content typeGame</code>+xrandr --output 'HDMI-1--set 'content type' 'Game
 +'.' '/usr/local/etc/xdg/xfce4/xinitrc'</code>
  
 ====== Firefox ====== ====== Firefox ======
Line 558: Line 559:
 ====== Notable Folders and Commands ====== ====== Notable Folders and Commands ======
  
-===== Font Cache ===== +  See [[bsd;notes;misc]]
- +
-**** +
- +
-  fc-cache -r -v +
- +
-===== Drive Wipe ===== +
- +
-  gpart show +
- +
-  gpart destroy -F 'da0' +
- +
-===== USB Flash Drive ===== +
- +
-  camcontrol devlist +
- +
-  usbconfig -d '/dev/ugen0.6' power_off +
- +
-===== User/Group ===== +
- +
-  awk -F":" '{print $1}' /etc/passwd +
- +
-  awk -F":" '{print $1}' /etc/group +
- +
-  pw userdel 'x' -r +
- +
-  pw groupdel 'x' +
- +
-===== pkg ===== +
- +
-  * ''x'' is package name +
- +
-  pkg info -l x +
- +
-  pkg autoremove +
- +
-===== Handbook ===== +
- +
-  pkg info -l 'en-freebsd-doc' +
- +
-  gio open '/usr/local/share/doc/freebsd/en/books/handbook' +
- +
-===== CPU Frequency ===== +
- +
-**** +
- +
-  su -l root -c "sysctl 'dev.cpu.0.freq' 'dev.cpu.1.freq' 'dev.cpu.2.freq' 'dev.cpu.3.freq' 'dev.cpu.4.freq' 'dev.cpu.5.freq' 'dev.cpu.6.freq' 'dev.cpu.7.freq'" +
- +
-===== Network Restart ===== +
- +
-  su -l +
- +
-  '/etc/netstart' +
- +
-  service 'netif' restart +
- +
-===== hw-probe ===== +
- +
-  * https://bsd-hardware.info/ +
-  * https://bsd-hardware.info/?view=howto +
-  * 2024/09/13: [[https://bsd-hardware.info/?probe=99f8e55057|Spinesnap]] +
- +
-  su -l +
- +
-  pkg install 'hw-probe' +
- +
-  hw-probe -all -upload +
- +
-===== Crashdump Clean-up ===== +
- +
-**** +
- +
-  rm -fv ~/*'.core' +
- +
-===== Xfce Settings Reset ===== +
- +
-  rm -fv ~/'.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml' +
- +
-  gio open ~/'.config/xfce4/xfconf/xfce-perchannel-xml' +
- +
-  gio open ~/'.config/xfce4/xfconf' +
- +
-===== Audio Output Switch ===== +
- +
-  * https://docs.freebsd.org/en/books/handbook/multimedia/#sound-mixer +
-  * https://man.freebsd.org/cgi/man.cgi?query=mixer +
- +
-  mixer -a +
- +
-  echo ' Headphones ' && mixer -d 'pcm1' -f '/dev/mixer1' +
- +
-  echo ' Onboard ' && mixer -d 'pcm0' -f '/dev/mixer0' +
- +
-===== Logs ===== +
- +
-  newsyslog -v -CC -N +
- +
-  cat '/dev/null' > '/var/log/all.log' +
- +
-  cat '/dev/null' > '/var/log/Xorg.0.log' +
- +
-  gio open '/var/log' +
- +
-  ls -la '/var/log' +
- +
-==== syslog.conf ==== +
- +
-=== all.log === +
- +
-== Enable == +
- +
-  * Uncomment +
- +
-  su -l +
- +
-  ee '/etc/syslog.conf' +
- +
-<code>#*.*                                            /var/log/all.log</code> +
- +
-== Permissions == +
- +
-  su -l +
- +
-  touch '/var/log/all.log' && chmod '600' '/var/log/all.log' +
- +
-== View == +
- +
-  su -l +
- +
-  ee '/var/log/all.log' +
- +
-===== Other Files/Paths ===== +
- +
-  * TODO+
  
/srv/www/wiki/data/attic/bsd/freebsd_14.1_xfce.1732693737.txt.gz · Last modified: by Sean Rhone