| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| linux:distros:debian_13_xfce [2026/08/03 06:34] – [General] Sean Rhone | linux:distros:debian_13_xfce [2026/08/05 06:58] (current) – Sean Rhone |
|---|
| |
| ====== Repositories ====== | ====== Repositories ====== |
| |
| ===== nonfree ===== | |
| |
| * https://wiki.debian.org/SourcesList | |
| |
| sudo -e '/etc/apt/sources.list' | |
| |
| non-free | |
| |
| ===== WineHQ ===== | ===== WineHQ ===== |
| ===== General ===== | ===== General ===== |
| |
| sudo apt install --install-recommends atril filezilla foliate gimp gnome-disk-utility keepassxc-minimal mate-calc obs-studio transmission-gtk thunderbird viewnior vlc 7zip aria2 adb fastboot fastfetch fonts-noto gvfs-backends htop libsecret-tools mesa-utils unar yt-dlp | 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 ===== | ===== Games ===== |
| |
| xfce4-mime-settings | xfce4-mime-settings |
| | |
| | ===== Onboard ===== |
| | |
| | ==== LightDM ==== |
| | |
| | sudo -e '/etc/lightdm/lightdm-gtk-greeter.conf' |
| | |
| | <code>keyboard=onboard |
| | indicators=~a11y</code> |
| | |
| | ==== Autostart ==== |
| | |
| | * ''[x]'' Onboard |
| | |
| | xfce4-session-settings |
| | |
| | ==== Settings ==== |
| | |
| | * ''[x]'' Start Onboard hidden |
| | |
| | onboard-settings |
| |
| ===== General ===== | ===== General ===== |
| <code>'/usr/bin/bash' -c "'/usr/bin/secret-tool' lookup 'keepass' 'default' | LIBGL_ALWAYS_SOFTWARE='1' '/usr/bin/keepassxc' --pw-stdin ~/'Documents/keepass.kdbx'"</code> | <code>'/usr/bin/bash' -c "'/usr/bin/secret-tool' lookup 'keepass' 'default' | LIBGL_ALWAYS_SOFTWARE='1' '/usr/bin/keepassxc' --pw-stdin ~/'Documents/keepass.kdbx'"</code> |
| |
| <code>'/usr/bin/bash' -c "'/usr/bin/xfce4-terminal' --window --default-working-directory='/tmp' -T 'Debian Updater' -e ~/'.local/scripts/debian-updater.sh'"</code> | <code>'/usr/bin/bash' -c "'/usr/bin/xfce4-terminal' -T 'Debian Updater' -e ~/'.local/scripts/debian-updater.sh'"</code> |
| |
| <code>'/usr/bin/bash' -c "'/usr/bin/xfce4-terminal' --window --default-working-directory='/tmp' -T 'Max Performance' -e ~/'.local/scripts/max-perf.sh'"</code> | <code>'/usr/bin/bash' -c "'/usr/bin/xfce4-terminal' -T 'Max Performance' -e ~/'.local/scripts/max-perf.sh'"</code> |
| |
| ==== Etc ==== | ==== Etc ==== |
| export mesa_glthread='false' | export mesa_glthread='false' |
| export vblank_mode='0' | export vblank_mode='0' |
| #export MESA_VK_WSI_PRESENT_MODE='immediate' | export MESA_VK_WSI_PRESENT_MODE='immediate' |
| export allow_higher_compat_version='true' | export allow_higher_compat_version='true' |
| export block_on_depleted_buffers='true' | export block_on_depleted_buffers='true' |
| <code> | <code> |
| # Staging | # Staging |
| export WINE_LARGE_ADDRESS_AWARE='1' | #export WINE_LARGE_ADDRESS_AWARE='1' |
| export STAGING_SHARED_MEMORY='1' | #export STAGING_SHARED_MEMORY='1' |
| export STAGING_WRITECOPY='1' | #export STAGING_WRITECOPY='1' |
| |
| # Logging | # Logging |
| |
| * [[linux:notes:misc#sysctl_checks|Verify]] | * [[linux:notes:misc#sysctl_checks|Verify]] |
| | |
| | ==== Magic SysRq key ==== |
| | |
| | echo 'kernel.sysrq = 1' | sudo tee '/etc/sysctl.d/99-sysrq.conf' |
| |
| ==== BPF Disable ==== | ==== BPF Disable ==== |
| |
| echo 'kernel.unprivileged_bpf_disabled=0' | sudo tee '/etc/sysctl.d/99-bpf-disable.conf' | echo 'kernel.unprivileged_bpf_disabled=0' | sudo tee '/etc/sysctl.d/99-bpf-disable.conf' |
| |
| ==== Legacy MMap ==== | |
| |
| echo 'vm.legacy_va_layout=1' | sudo tee '/etc/sysctl.d/99-vm-legacy-va.conf' | |
| |
| ==== Perf Counters ==== | ==== Perf Counters ==== |
| |
| echo 'dev.i915.perf_stream_paranoid=0' | sudo tee '/etc/sysctl.d/99-i915-perf.conf' | echo 'dev.i915.perf_stream_paranoid=0' | sudo tee '/etc/sysctl.d/99-i915-perf.conf' |
| |
| ==== Magic SysRq key ==== | |
| |
| echo 'kernel.sysrq = 1' | sudo tee '/etc/sysctl.d/99-sysrq.conf' | |
| |
| ==== Memory Map Count ==== | |
| |
| echo 'vm.max_map_count=2147483642' | sudo tee '/etc/sysctl.d/99-vm-max-map.conf' | |
| |
| ==== Swappiness ==== | |
| |
| echo 'vm.swappiness = 0' | sudo tee '/etc/sysctl.d/99-swappiness.conf' | |
| |
| ===== GRUB ===== | ===== GRUB ===== |
| |
| * [[linux;notes;kernel_parameters|More Kernel Parameters]] | * [[linux;notes;kernel_parameters|More Kernel Parameters]] |
| * Last updated: 2026/08/02 | |
| |
| sudo -e '/etc/default/grub' && sudo update-grub | sudo -e '/etc/default/grub' && sudo update-grub |
| |
| GRUB_CMDLINE_LINUX="" | GRUB_CMDLINE_LINUX="" |
| |
| <code>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='full' iommu='pt' memory_corruption_check='0' init_on_alloc='0' init_on_free='0' align_va_addr='on' drm_kms_helper.poll='0' drm_kms_helper.fbdev_emulation='1' rootflags='data=writeback'</code> | |
| |
| ==== Hailrake ==== | ==== Hailrake ==== |
| |
| * Last updated: 2026/08/02 | * Last updated: 2026/08/03 |
| |
| <code>nohugeiomap nogbpages add_efi_memmap acpi_osi='!' acpi_osi='Windows 2015' mem_sleep_default='s2idle' reboot='efi' module_blacklist='iTCO_wdt,intel_oc_wdt' nowatchdog tsc='nowatchdog' pci='noaer,assign-busses,nocrs,no_e820,skip_isa_align,pcie_bus_perf,ecrc=off,realloc,noari,noats,pcie_scan_all,big_root_window' pcie_ports='compat' pcie_port_pm='off'</code> | <code>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'</code> |
| | |
| | drm.edid_firmware='eDP-1:edid/785-1080p-detailed-eDP.bin' |
| |
| ==== Boulderback ==== | ==== Boulderback ==== |
| |
| * Last updated: 2026/08/02 | * Last updated: 2026/08/05 |
| * TODO: Check ''pcie_bus_perf'' vs ''pcie_bus_tune_off'' | * TODO: Check ''pcie_bus_perf'' vs ''pcie_bus_tune_off'' |
| |
| <code>nohugeiomap nogbpages acpi_osi='Linux' mem_sleep_default='s2idle' reboot='pci' module_blacklist='iTCO_wdt,intel_oc_wdt' nowatchdog tsc='nowatchdog' pci='noaer,assign-busses,nocrs,no_e820,skip_isa_align,pcie_bus_perf,ecrc=off,realloc,noari,noats,pcie_scan_all,big_root_window' pcie_ports='compat' pcie_port_pm='off' cpufreq.default_governor='performance'</code> | <code>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'</code> |
| |
| ==== Cgroups ==== | ==== Cgroups ==== |
| |
| ==== xrandr ==== | ==== xrandr ==== |
| | |
| | * Trigger: ''on login'' |
| |
| xfce4-session-settings | xfce4-session-settings |
| * :!: Reboot to ''(recovery mode)'' | * :!: Reboot to ''(recovery mode)'' |
| * ''Ctrl + Alt + Del'' to reboot | * ''Ctrl + Alt + Del'' to reboot |
| | |
| | * Legacy has partition at beginning (''sda1'' vs EFI ''sda2'') |
| | |
| | mount | grep '/ type ext4' |
| |
| sudo -e '/ext4.sh' && sudo chmod +x '/ext4.sh' | sudo -e '/ext4.sh' && sudo chmod +x '/ext4.sh' |
| rm -Rf ~/'.cache/mozilla/firefox/'* ~/'.cache/thunderbird/'* | rm -Rf ~/'.cache/mozilla/firefox/'* ~/'.cache/thunderbird/'* |
| |
| sudo '/usr/sbin/fstrim' -v -a | #sudo '/usr/sbin/fstrim' -v -a |
| |
| read -n '1' -s -r -p 'Done. Press any key to exit.' | read -n '1' -s -r -p 'Done. Press any key to exit.' |
| |
| * See [[linux:notes:misc]] | * See [[linux:notes:misc]] |
| | |
| | ===== Repositories ===== |
| | |
| | ==== nonfree ==== |
| | |
| | * https://wiki.debian.org/SourcesList |
| | |
| | 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 ==== |
| | |
| | * ''[ ]'' Screen Locker (''light-locker'') |
| | * Trigger: ''on login'' |
| | |
| | xfce4-session-settings |
| | |
| | '/usr/bin/bash' -c "vblank_mode='3' '/usr/bin/xscreensaver' --no-splash" |
| | |
| | ===== Debian Wine ===== |
| | |
| | sudo apt install 'wine' |
| | |
| | ==== Gecko/Mono ==== |
| | |
| | * https://gitlab.winehq.org/wine/wine/-/wikis/Gecko |
| | * https://gitlab.winehq.org/wine/wine/-/wikis/Wine-Mono |
| | * Seemingly auto-installs Gecko when-needed if ''.msi'' exists in ''.cache'' ((WotLK's installer requires for license; pre-patches blank without)) |
| | |
| | mkdir -p ~/'.cache/wine' |
| | |
| | ~/'.cache/wine/wine-gecko-2.47.4-x86.msi' |
| |