Hailrake = Dell Inspiron 24 5459 AIO
1)
Boulderback = Dell Precision M6500
2)
Debian GNU/Linux 13 (trixie)
Download
debian-13.6.0-amd64-netinst.iso
Installation Notes
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 976M 0 part /boot/efi
├─sda2 8:2 0 456.9G 0 part /
└─sda3 8:3 0 7.9G 0 part [SWAP]
Software selection
Repositories
WineHQ
sudo dpkg --add-architecture 'i386'
rm -fv '/tmp/winehq.key' '/tmp/winehq-archive.key' && wget -O '/tmp/winehq.key' 'https://dl.winehq.org/wine-builds/winehq.key' && gpg --dearmor --output '/tmp/winehq-archive.key' '/tmp/winehq.key' && sudo mv -fv '/tmp/winehq-archive.key' '/etc/apt/keyrings' && wget -O '/tmp/winehq-trixie.sources' 'https://dl.winehq.org/wine-builds/debian/dists/trixie/winehq-trixie.sources' && sudo mv -fv '/tmp/winehq-trixie.sources' '/etc/apt/sources.list.d'
Software
Update
sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo apt clean
General
sudo apt install --install-recommends atril filezilla foliate gimp gnome-disk-utility keepassxc-minimal mate-calc obs-studio onboard transmission-gtk thunderbird viewnior vlc 7zip aria2 adb fastboot fastfetch fonts-noto gvfs-backends htop libsecret-tools mesa-utils unar yt-dlp
Games
Wine
winehq-staging winbind icoutils mesa-vulkan-drivers libgl1-mesa-dri:i386 mesa-vulkan-drivers:i386 libgl1:i386 libnss-mdns:i386
Intel
intel-gpu-tools i965-va-driver
rtw88
Specs
clear && fastfetch && uname -a && date
sudo intel_gpu_top -s '500' -p -m
Xfce
Theme
Default Apps
gio mime 'text/plain' 'org.xfce.mousepad.desktop'
gio mime 'image/jpeg' 'viewnior.desktop'
gio mime 'image/png' 'viewnior.desktop'
gio mime 'image/bmp' 'viewnior.desktop'
gio mime 'application/pdf' 'atril.desktop'
gio mime 'application/epub+zip' 'com.github.johnfactotum.Foliate.desktop'
xdg-settings set 'default-web-browser' 'firefox.desktop'
Terminal
Onboard
LightDM
sudo -e '/etc/lightdm/lightdm-gtk-greeter.conf'
keyboard=onboard
indicators=~a11y
Autostart
Settings
General
xfconf-query --channel 'xfwm4' --property '/general/use_compositing' --type 'bool' --set 'false' --create
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/DPI' --type 'int' --set '-1' --create
xfconf-query --channel 'xsettings' --property '/Xft/Hinting' --type 'int' --set '0' --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
Keyboard
xfconf-query --channel 'keyboards' --property '/Default/KeyRepeat/Delay' --type 'int' --set '400' --create
xfconf-query --channel 'keyboards' --property '/Default/KeyRepeat/Rate' --type 'int' --set '30' --create
Keyboard Shortcuts
xfce4-keyboard-settings
'/usr/bin/bash' -c "'/usr/bin/secret-tool' lookup 'keepass' 'default' | LIBGL_ALWAYS_SOFTWARE='1' '/usr/bin/keepassxc' --pw-stdin ~/'Documents/keepass.kdbx'"
'/usr/bin/bash' -c "'/usr/bin/xfce4-terminal' -T 'Debian Updater' -e ~/'.local/scripts/debian-updater.sh'"
'/usr/bin/bash' -c "'/usr/bin/xfce4-terminal' -T 'Max Performance' -e ~/'.local/scripts/max-perf.sh'"
Etc
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/AudioRaiseVolume' --type 'string' --set "'/usr/bin/amixer' -D 'pulse' set 'Master' '5%+' > '/dev/null'" --create
xfconf-query --channel 'xfce4-keyboard-shortcuts' --property '/commands/custom/AudioLowerVolume' --type 'string' --set "'/usr/bin/amixer' -D 'pulse' set 'Master' '5%-' > '/dev/null'" --create
xfconf-query --channel 'xfce4-keyboard-shortcuts' --property '/commands/custom/AudioMute' --type 'string' --set "'/usr/bin/amixer' -D 'pulse' set 'Master' 'toggle' > '/dev/null'" --create
xfce4-terminal
xfconf-query --channel 'xfce4-terminal' --property '/scrolling-lines' --type 'int' --set '10000' --create
xfconf-query --channel 'xfce4-terminal' --property '/misc-cursor-blinks' --type 'bool' --set 'true' --create
xfconf-query --channel 'xfce4-terminal' --property '/font-use-system' --type 'bool' --set 'false' --create
xfconf-query --channel 'xfce4-terminal' --property '/misc-show-unsafe-paste-dialog' --type 'bool' --set 'false' --create
Settings
Root Password
Network
nm-connection-editor
1.1.1.2,1.0.0.2
2606:4700:4700::1112,2606:4700:4700::1002
Printer
ipp://192.168.1.164/ipp/print
Kole
KeePassXC
'/usr/bin/secret-tool' store --label='KeePass' 'keepass' 'default'
Firefox
Time
timedatectl set-timezone 'America/New_York' && sudo timedatectl 'set-ntp' 'true' && sudo hwclock --systohc && timedatectl status
Tweaks
Environment
General
sudo -e '/etc/X11/Xsession.d/99-general-tweaks'
# General
export LD_BIND_NOW='1'
export LD_PREFER_MAP_32BIT_EXEC='1'
# Mozilla
export MOZ_CRASHREPORTER_DISABLE='1'
export MOZ_USE_XINPUT2='1'
# GTK
export GDK_DEBUG='gl-prefer-gl'
export GDK_RENDERING='image'
export GSK_RENDERER='cairo'
export GTK_A11Y='none'
export NO_AT_BRIDGE='1'
export GTK_OVERLAY_SCROLLING='0'
# Mesa
export MESA_DEBUG='silent'
export MESA_NO_ERROR='1'
export mesa_glthread='false'
export vblank_mode='0'
export MESA_VK_WSI_PRESENT_MODE='immediate'
export allow_higher_compat_version='true'
export block_on_depleted_buffers='true'
export disable_throttling='true'
export force_integer_tex_nearest='true'
export vk_wsi_force_bgra8_unorm_first='true'
export vk_x11_ignore_suboptimal='true'
export vk_xwayland_wait_ready='false'
# Shader Cache
#export MESA_SHADER_CACHE_DISABLE='true'
export MESA_DISK_CACHE_DATABASE='0'
export MESA_DISK_CACHE_SINGLE_FILE='0'
# End
Intel
sudo -e '/etc/X11/Xsession.d/99-intel-tweaks'
# Intel
export LIBVA_DRIVER_NAME='i965'
export ANV_NO_GPL='1'
export anv_disable_link_time_optimization='true'
export MESA_GL_VERSION_OVERRIDE='4.6COMPAT'
export force_guc_low_latency='false'
export allow_compressed_fallback='true'
# End
Wine
sudo -e '/etc/X11/Xsession.d/99-wine-tweaks'
# Staging
#export WINE_LARGE_ADDRESS_AWARE='1'
#export STAGING_SHARED_MEMORY='1'
#export STAGING_WRITECOPY='1'
# Logging
export WINEDEBUG='-all'
export VKD3D_DEBUG='none'
export VKD3D_SHADER_DEBUG='none'
export DXVK_LOG_LEVEL='none'
# DXVK
export DXVK_SHADER_CACHE='0'
export DXVK_STATE_CACHE='0'
# End
Kernel Options
Magic SysRq key
echo 'kernel.sysrq = 1' | sudo tee '/etc/sysctl.d/99-sysrq.conf'
BPF Disable
echo 'kernel.unprivileged_bpf_disabled=0' | sudo tee '/etc/sysctl.d/99-bpf-disable.conf'
Perf Counters
echo 'kernel.perf_event_paranoid=-1' | sudo tee '/etc/sysctl.d/99-perf-events.conf'
Intel Perf Counters
echo 'dev.i915.perf_stream_paranoid=0' | sudo tee '/etc/sysctl.d/99-i915-perf.conf'
GRUB
sudo -e '/etc/default/grub' && sudo update-grub
GRUB_CMDLINE_LINUX=""
Hailrake
dis_ucode_ldr bgrt_disable initcall_blacklist='sysfb_init,init_ima' lsm='' audit='0' ima_appraise='off' mitigations='off' mce='off' ras='cec_disable' hibernate='no' idle='halt' nohz='off' preempt='none' iommu='pt' memory_corruption_check='0' init_on_alloc='0' init_on_free='0' drm_kms_helper.poll='0' drm_kms_helper.fbdev_emulation='1' rootflags='data=writeback' reboot='efi' module_blacklist='iTCO_wdt,intel_oc_wdt' nowatchdog tsc='nowatchdog' pci='pcie_bus_perf' pcie_ports='compat' pcie_port_pm='off'
drm.edid_firmware='eDP-1:edid/785-1080p-detailed-eDP.bin'
Boulderback
dis_ucode_ldr bgrt_disable initcall_blacklist='sysfb_init,init_ima' lsm='' audit='0' ima_appraise='off' mitigations='off' mce='off' ras='cec_disable' hibernate='no' idle='halt' nohz='off' preempt='none' iommu='pt' memory_corruption_check='0' init_on_alloc='0' init_on_free='0' drm_kms_helper.poll='0' drm_kms_helper.fbdev_emulation='1' rootflags='data=writeback' reboot='pci' module_blacklist='iTCO_wdt,intel_oc_wdt' nowatchdog tsc='nowatchdog' pci='pcie_bus_perf' pcie_ports='compat' pcie_port_pm='off' cpufreq.default_governor='performance'
Cgroups
cgroup_disable='cpuset,cpu,cpuacct,blkio,memory,devices,freezer,net_cls,perf_event,net_prio,hugetlb,pids,rdma,misc,dmem' rcu_nocbs noautogroup
Check
initramfs
sudo -e '/etc/initramfs-tools/conf.d/tweaks'
MODULES='dep'
COMPRESS='zstd'
COMPRESSLEVEL='0'
# End
echo 'i915' | sudo tee -a '/etc/initramfs-tools/modules'
sudo update-initramfs -k 'all' -c
modprobe.d
journald
sudo mkdir -p '/etc/systemd/journald.conf.d' && sudo -e '/etc/systemd/journald.conf.d/99-tweaks.conf' && sudo journalctl --vacuum-time='1s' --rotate
[Journal]
Storage=none
Compress=false
MaxLevelStore=0
MaxLevelSyslog=0
MaxLevelKMsg=0
MaxLevelConsole=0
MaxLevelWall=0
# End
sudo journalctl --vacuum-time='1s' --rotate
Xorg
xrandr
Hailrake
'/usr/bin/bash' -c "'/usr/bin/xrandr' --output 'eDP1' --set 'Colorspace' 'RGB_WIDE_FLOAT' --set 'max bpc' '12' --set 'Broadcast RGB' 'Full' --set 'scaling mode' 'Full aspect'"
Boulderback
fstab
ext4
data=writeback requires it in GRUB too
,noatime,nobarrier,data=writeback
EFI
Swap
Drive Maintenance
Trim
sudo systemctl enable 'fstrim.timer' --now && sudo systemctl start 'fstrim'
sudo fstrim -v --all
EFI
sudo umount '/boot/efi' && sudo fsck.fat -a -t -w -v '/dev/sda1' && sudo mount '/boot/efi'
ext4
mount | grep '/ type ext4'
sudo -e '/ext4.sh' && sudo chmod +x '/ext4.sh'
#!/bin/bash
cd '/tmp'
'/usr/bin/umount' '/'
'/usr/sbin/e2fsck' -D -E 'discard,optimize_extents,inode_count_fullmap' -f -v -y '/dev/sda2'
# End
'/ext4.sh'
Scripts
Updater
mkdir -p ~/'.local/scripts' && nano ~/'.local/scripts/debian-updater.sh' && chmod +x ~/'.local/scripts/debian-updater.sh'
#!/bin/bash
cd '/tmp'
sudo '/usr/bin/apt' clean
sudo '/usr/bin/apt' update
sudo '/usr/bin/apt' full-upgrade -y
sudo '/usr/bin/apt' autoremove -y
#rm -Rf ~/'.cache/mesa_shader_cache/'*
rm -Rf ~/'.cache/thumbnails/'*
rm -Rf ~/'.cache/mozilla/firefox/'* ~/'.cache/thunderbird/'*
#sudo '/usr/sbin/fstrim' -v -a
read -n '1' -s -r -p 'Done. Press any key to exit.'
sleep '2'
# End
~/'.local/scripts/debian-updater.sh'
sudo apt install 'linux-cpupower'
mkdir -p ~/'.local/scripts' && nano ~/'.local/scripts/max-perf.sh' && chmod +x ~/'.local/scripts/max-perf.sh'
#!/bin/bash
cd '/tmp'
# CPU
sudo '/usr/sbin/x86_energy_perf_policy' --all 'performance' --turbo-enable '1' --force
sudo '/usr/bin/cpupower' frequency-set -g 'performance' -r
echo 'Max performance states set!'
sleep '3'
# End
~/'.local/scripts/max-perf.sh'
Notable Folders and Commands
Repositories
nonfree
sudo -e '/etc/apt/sources.list'
non-free
XScreenSaver
Dependencies
sudo apt remove xscreensaver xscreensaver-gl
Settings
Display Modes → Mode: Only One Screen Saver
Maze 3D
Blank After 1 minutes
Cycle After 0 minutes
[x] Lock Screen After 4 minutes
Maze 3D Settings → [x] Show frame rate, adjust Speed and Frame rate, then [ ] Show frame rate
xscreensaver-settings
xfconf-query --channel 'xfce4-session' --property '/general/LockCommand' --set 'xscreensaver-command -quiet -lock' --create
Autostart
xfce4-session-settings
'/usr/bin/bash' -c "vblank_mode='3' '/usr/bin/xscreensaver' --no-splash"
Debian Wine
Gecko/Mono
-
-
Seemingly auto-installs Gecko when-needed if
.msi exists in
.cache 3)
mkdir -p ~/'.cache/wine'
~/'.cache/wine/wine-gecko-2.47.4-x86.msi'