Spinesnap = Dell Latitude 5591
1)
PRETTY_NAME
TODOs
Download
Fedora-Workstation-Live-43-1.6.x86_64.iso
Installation Notes
Partitioning
DEVICE MAJ:MIN SIZE TYPE LABEL MOUNT
nda0 0:86 954G GPT - -
nda0p1 0:88 260M efi gpt/efiboot0 /boot/efi
nda0p2 0:90 2.0G freebsd-swap gpt/freebsd-swap SWAP
nda0p3 0:92 952G freebsd-zfs gpt/freebsd-zfs <ZFS>
System Components
System Configuration
System Hardening
FreeBSD Firmware Installation
User
Network
Network
Wifi
USB Tethering
-

Might apply to any type of USB network device that shows up under
ue#
su -
sysrc ifconfig_ue0=SYNCDHCP
/etc/netstart
Initial Set-up
Time Sync
Update
pkg update -f
pkg upgrade
Firmware
Xorg
pkg install xorg 'drm-66-kmod'
pw groupmod video -m espionage724
sysrc kld_list+=i915kms
Xfce
pkg install 'xfce'
ee /etc/fstab
# Xfce
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
Etc
exit at end to log-into regular user before reboot
pkg install xdg-user-dirs filezilla firefox-esr
sync && exit
XDG User Dirs
espionage724
xdg-user-dirs-update --force
sync && exit
Login
Software
General
su -
pkg install evince-lite filezilla foliate gbrainy gimp keepassxc libreoffice mate-calc ristretto thunar-archive-plugin thunderbird-esr transmission-gtk vlc xfce4-screensaver xfce4-screenshooter-plugin xfce4-whiskermenu-plugin android-tools aria2 cups en-freebsd-doc en-hunspell gnome-keyring gstreamer1-plugins-good gstreamer1-plugins-ugly gstreamer1-libav gtk-sharp30 htop icoutils libressl mesa-demos mesa-dri mesa-devel mesa-libs noto unar wget xarchiver xrandr yt-dlp
Specs
Wine
wine wine-gecko wine-mono winetricks
wine-devel
wine-devel wine-gecko-devel wine-mono-devel winetricks
Intel
Games
DevilutionX
Doomsday Engine
OpenVPN
Tor Browser
Settings
MIME
gio mime 'text/plain' 'org.xfce.mousepad.desktop'
gio mime 'image/jpeg' 'org.xfce.ristretto.desktop'
gio mime 'image/png' 'org.xfce.ristretto.desktop'
gio mime 'image/bmp' 'org.xfce.ristretto.desktop'
gio mime 'application/pdf' 'org.gnome.Evince.desktop'
gio mime 'application/epub+zip' 'com.github.johnfactotum.Foliate.desktop'
Xfce
Appearance
Style → Chicago95
Icons → Chicago95
Desktop
Menus → Desktop Menu → [ ] Include applications menu on desktop right click
Menus → Window List Menu → [ ] Show window list menu on desktop middle click
Toggle Background → Color to Horizontal gradient and back to Solid color
Panel 1
Display
Items
Whisker Menu
Window Buttons
Separator (Style: Transparent, [x] Expand)
Workspace Switcher
Separator (Style: Transparent, [ ] Expand)
Status Tray Plugin (Fixed icon size: 16, [ ] Square items)
Power Manager Plugin (Show label None)
Clock
General → Show as list
General → [ ] Show generic application names
General → [x] Show category names
General → [x] Show application tooltips
General → [ ] Show application descriptions
General → Application icon size: Small
General → Category icon size: Smaller
General → Menu width: 425
General → Menu height: 525
General → Background opacity: 100
Appearance → Menu → [ ] Position categories horizontally
Appearance → Menu → [ ] Position categories on left
Appearance → Menu → [ ] Position profile on bottom
Appearance → Menu → [x] Position search entry on bottom
Appearance → Menu → [x] Position commands next to search entry
Appearance → Menu → Profile: Hidden
Appearance → [x] Show button labels
Appearance → [ ] Show flat buttons
Appearance → [ ] Show handle
Appearance → [x] Show tooltips
Appearance → Sorting order: None, allow drag-and-drop
Behaviour → Middle click action: Nothing
Behaviour → [ ] Group windows by application
Behaviour → [ ] Restore minimized windows to current workspace
Behaviour → [ ] Draw window frame when hovering a button
Behaviour → [ ] Switch windows using the mouse wheel
Filtering → [ ] Show windows from all workspaces
Filtering → [ ] Show only minimized windows
Filtering → [x] Show windows from all monitors
Clock
Clock Options → Layout: Date, then time
Clock Options → Date → Format: Custom Format (1st)
Clock Options → Time → Format: Custom Format (2nd)
%a, %b %d
%l:%M %P
Power Manager
Terminal
General → Scrollback: 10000
Appearance → [x] Use system font
Appearance → Background → Transparent Background 0.80
Window Manager
Window Manager Tweaks
Compositor → Uncheck Show shadows under popup windows
Compositor → Uncheck Show shadows under dock windows
Compositor → Uncheck Zoom desktop with mouse wheel
Compositor → Opacity of window during move: 10 notches from right/Opaque
Screensaver
Settings
xfconf-query --channel 'xfwm4' --property '/general/vblank_mode' --type 'string' --set 'off' --create
xfconf-query --channel 'xfce4-session' --property '/general/SaveOnExit' --type 'bool' --set 'false' --create && rm -Rf ~/'.cache/sessions'
Fonts
xfconf-query --channel 'xsettings' --property '/Xft/Antialias' --type 'int' --set '1' --create
xfconf-query --channel 'xsettings' --property '/Xft/HintStyle' --type 'string' --set 'hintnone' --create
xfconf-query --channel 'xsettings' --property '/Xft/RGBA' --type 'string' --set 'none' --create
xfconf-query --channel 'xsettings' --property '/Xft/DPI' --type 'int' --set '96' --create
Keyboard
Behavior
Repeat delay: 400
Repeat speed: 30
Shortcuts
'/bin/sh' -c "'/usr/local/bin/secret-tool' lookup 'keepass' 'default' | '/usr/local/bin/keepassxc' --pw-stdin ~/'Documents/keepass.kdbx'"
'/bin/sh' -c "'/usr/local/bin/xfce4-terminal' -T 'FreeBSD Updater' -x su 'root' -c ~/'.local/scripts/freebsd-updater.sh'"
xfconf-query
xfconf-query --channel 'xfce4-keyboard-shortcuts' --property '/commands/custom/Super_L' --type 'string' --set 'xfce4-popup-whiskermenu' --create
xfconf-query --channel 'xfce4-keyboard-shortcuts' --property '/commands/custom/MonBrightnessUp' --type 'string' --set "backlight incr '10'" --create
xfconf-query --channel 'xfce4-keyboard-shortcuts' --property '/commands/custom/MonBrightnessDown' --type 'string' --set "backlight decr '10'" --create
xfconf-query --channel 'xfce4-keyboard-shortcuts' --property '/commands/custom/AudioRaiseVolume' --type 'string' --set "mixer 'pcm'='+5%'" --create
xfconf-query --channel 'xfce4-keyboard-shortcuts' --property '/commands/custom/AudioLowerVolume' --type 'string' --set "mixer 'pcm'='-5%'" --create
xfconf-query --channel 'xfce4-keyboard-shortcuts' --property '/commands/custom/AudioMute' --type 'string' --set "mixer 'pcm'='mute=toggle'" --create
loader.conf
Spinesnap
su -
ee '/boot/loader.conf'
autoboot_delay=1
hw.acpi.video.lcd0.fullpower=100
hw.em.enable_aim=0
hw.em.eee_setting=0
hw.i915kms.modeset=1
hw.i915kms.nuclear_pageflip=1
hw.i915kms.fastboot=1
hw.i915kms.enable_psr=0
hw.i915kms.enable_psr2_sel_fetch=0
hw.i915kms.panel_use_ssc=0
hw.i915kms.enable_ips=0
hw.i915kms.enable_fbc=0
hw.i915kms.enable_dc=0
hw.i915kms.disable_power_well=0
hw.i915kms.enable_guc=3
hw.i915kms.guc_log_level=0
hw.i915kms.verbose_state_checks=0
hw.i915kms.error_capture=0
compat.linuxkpi.iwlwifi_mvm_power_scheme=1
speaker_load="YES"
kern.vt.enable_bell=1
rc.conf
Spinesnap
su -
sysrc ifconfig_em0+="tso"
ee '/etc/rc.conf'
clear_tmp_enable="YES"
syslogd_flags="-ss"
hostname="Spinesnap"
ifconfig_em0="inet 192.168.1.150 netmask 255.255.255.0 tso"
defaultrouter="192.168.1.1"
ifconfig_em0_ipv6="inet6 accept_rtadv"
moused_nondefault_enable="NO"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
zfs_enable="YES"
kld_list="i915kms acpi_video"
dbus_enable="YES"
sysctl.conf
Spinesnap
su -
ee '/etc/sysctl.conf'
dev.hwpstate_intel.0.epp=0
hw.snd.default_unit=2
security.bsd.see_other_uids=0
security.bsd.see_other_gids=0
security.bsd.see_jail_proc=0
security.bsd.unprivileged_read_msgbuf=0
security.bsd.unprivileged_proc_debug=0
kern.randompid=1
dev.hwpstate_intel.0.epp=0
hw.snd.default_unit=2
Printer
ipp://192.168.1.164/ipp/print
Kole
KeePassXC
Settings
Database Password on Keyring
secret-tool store --label='KeePass' 'keepass' 'default'
fstab
XFS
Swap
EFI
,discard,tz=UTC,shortname=winnt,usefree
Drive Maintenance
Trim
sudo systemctl enable 'fstrim.timer' --now && sudo systemctl start 'fstrim' && sudo systemctl status 'fstrim' -l
XFS
Tweaks
sudo -e '/etc/profile.d/general-tweaks.sh'
# General
export LD_BIND_NOW='1'
# GTK
export GSK_RENDERER='vulkan'
export GTK_A11Y='none'
# Intel
export ANV_NO_GPL='1'
export force_guc_low_latency='true'
# Mesa
export MESA_NO_ERROR='1'
export mesa_glthread='false'
export MESA_DISK_CACHE_DATABASE='0'
export MESA_DISK_CACHE_SINGLE_FILE='0'
# End
Firefox
-
Thunderbird uses some settings too
3)
Colors
Scripts
Updater
mkdir -p ~/'.local/scripts' && nano ~/'.local/scripts/fedora-updater.sh' && chmod +x ~/'.local/scripts/fedora-updater.sh'
#!/bin/bash
rm -Rf ~/'.cache/mesa_shader_cache'*
sync
read -p 'Done. Press Enter to exit.' 'x'
sleep '2'
# End
Notable Folders and Commands