User Tools

Site Tools


bsd:notes:misc

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:notes:misc [2026/07/20 02:32] – Sean Rhonebsd:notes:misc [2026/10/14 12:54] (current) – [MBR Bootcode] Sean Rhone
Line 11: Line 11:
 ===== Font Cache ===== ===== Font Cache =====
  
-****+  fc-cache -r -f -v
  
-  fc-cache -r -v+  su 'root' -c "fc-cache -r -f -s -v"
  
 ===== Drive Wipe ===== ===== Drive Wipe =====
Line 82: Line 82:
  
   rm -f ~/'.sh_history' & exit   rm -f ~/'.sh_history' & exit
 +
 +==== TODO ====
 +
 +  * ''HISTFILE='' (empty)
 +
 +  rm -f ~/'.sh_history'
 +
 +  su 'root' -c "rm -f ~/'.sh_history'"
  
 ===== Handbook ===== ===== Handbook =====
Line 265: Line 273:
  
   gio open ~/'.local/share/applications'   gio open ~/'.local/share/applications'
 +
 +====== MBR Bootcode ======
 +
 +  * :?: [[https://forums.freebsd.org/threads/check-compare-current-mbr-bootcode-before-updating.104049/|Thread]]
 +
 +<code>
 +'/sbin/gpart' bootcode -b '/boot/mbr' 'ada0'
 +'/sbin/gpart' bootcode -b '/boot/boot' 'ada0s1'</code>
  
 ====== GSK_RENDERER ====== ====== GSK_RENDERER ======
  
   * https://api.pygobject.gnome.org/Gsk-4.0/class-Renderer.html#   * https://api.pygobject.gnome.org/Gsk-4.0/class-Renderer.html#
-  * 2025/11/03+  * https://docs.gtk.org/gtk4/running.html#gsk_gpu_disable
  
-  GSK_RENDERER='help' gtk4-demo --autoquit '1' +  GSK_RENDERER='help' GSK_GPU_DISABLE='help' gtk4-demo --autoquit '1'
- +
-<code> +
-     cairo - Use the Cairo fallback renderer +
-    opengl - Use the OpenGL renderer +
-       ngl - Use the OpenGL renderer +
-        gl - Use the OpenGL renderer +
-    vulkan - Use the Vulkan renderer +
-      help - Print this help</code>+
  
 ====== sysctl.conf ====== ====== sysctl.conf ======
Line 293: Line 301:
   su -   su -
  
-  pkg install 'acpia-tools'+  pkg install 'acpica-tools'
  
   acpidump -d | grep 'Windows '   acpidump -d | grep 'Windows '
  
/usr/local/www/wiki/data/attic/bsd/notes/misc.1784529135.txt.gz · Last modified: by Sean Rhone