User Tools

Site Tools


linux:distros:debian_13_xfce

Information

  • :!: 2026/04/25: WIP
Debian GNU/Linux 13 (trixie)

Download

debian-13.4.0-amd64-netinst.iso

Installation Notes

  • No Domain name
  • :!: No root password
  • Entire disk, one partition

Repositories

nonfree

sudo -e '/etc/apt/sources.list'
non-free

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 filezilla foliate gimp gnome-disk-utility gnome-system-monitor keepassxc mate-calc thunderbird 7zip aria2 adb fastboot fonts-noto libsecret-tools mesa-utils obs-studio transmission-gtk vlc unar yt-dlp 

TODO

libglib2.0-bin gvfs-backends

Games

doomsday neverball

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

Settings

Printer

  • Internet Printing Protocol (ipp)
  • HP
  • IPP Everywhere ™
  • Color Mode: Device Gray
  • 2-Sided Printing: Long-Edge (Portrait)
ipp://192.168.1.164/ipp/print
Kole

Network

nm-connection-editor
1.1.1.2,1.0.0.2
2606:4700:4700::1112,2606:4700:4700::1002

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' 'atril.desktop'
gio mime 'application/epub+zip' 'com.github.johnfactotum.Foliate.desktop'

Xfce

Theme

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 '96' --create
xfconf-query --channel 'xsettings' --property '/Xft/HintStyle' --type 'string' --set 'hintnone' --create
xfconf-query --channel 'xsettings' --property '/Xft/Hinting' --type 'int' --set '0' --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

Shortcuts

xfconf-query --channel 'xfce4-keyboard-shortcuts' --property '/commands/custom/Super_L' --type 'string' --set 'xfce4-popup-whiskermenu' --create
xfce4-keyboard-settings
bash -c "secret-tool lookup 'keepass' 'default' | keepassxc --pw-stdin ~/'Documents/keepass.kdbx'"
bash -c "xfce4-terminal -T 'Debian Updater' -e ~/'.local/scripts/debian-updater.sh'"
xfce4-popup-whiskermenu

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 'true' --create
xfconf-query --channel 'xfce4-terminal' --property '/misc-show-unsafe-paste-dialog' --type 'bool' --set 'false' --create

New Settings

KeePassXC

  • Add Database Pass to Keyring
'/usr/bin/secret-tool' store --label='KeePass' 'keepass' 'default'

Mozilla

Laptop Power Management

Xorg

Tweaks

Environment

nano ~/'.bash_aliases'
# General
export LD_BIND_NOW='1'
export LD_PREFER_MAP_32BIT_EXEC='1'

# GTK
export GDK_DEBUG='gl-prefer-gl'
export GDK_RENDERING='image'
export GSK_RENDERER='cairo'
export GTK_A11Y='none'
export GTK_OVERLAY_SCROLLING='0'

# Intel
export ANV_NO_GPL='1'
export anv_disable_link_time_optimization='true'
export force_guc_low_latency='false'
export allow_compressed_fallback='true'
export LIBVA_DRIVER_NAME='i965'

# Mesa
export vblank_mode='0'
export MESA_NO_ERROR='1'
export mesa_glthread='false'
export MESA_DISK_CACHE_DATABASE='0'
export MESA_DISK_CACHE_SINGLE_FILE='0'
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'

# Wine Staging
export STAGING_SHARED_MEMORY='1'
export STAGING_WRITECOPY='1'
export WINE_LARGE_ADDRESS_AWARE='1'

# Wine Logging
export WINEDEBUG='-all'
export VKD3D_DEBUG='none'
export VKD3D_SHADER_DEBUG='none'
export DXVK_LOG_LEVEL='none'

# End

fstab

sudo -e '/etc/fstab'

ext4

  • / type ext4
  • :!: data=writeback requires it in GRUB too
,data=writeback,nobarrier
errors=remount-ro,data=writeback,nobarrier

EFI

  • /boot/efi type vfat
,discard
umask=0077,discard

Swap

,discard=once
sw,discard=once

GRUB

Spinesnap

  • GRUB_CMDLINE_LINUX=
  • drm_kms_helper.fbdev_emulation=1 for external LightDM log-in with Intel DDX
  • :?: preempt=none
sudo -e '/etc/default/grub' && sudo update-grub
acpi_osi='!' acpi_osi='Windows 2013' reboot='pci' hibernate='no' idle='halt' nohz='off' preempt='none' iommu='pt' io_delay='none' memory_corruption_check='0' nosgx init_on_alloc='0' init_on_free='0' pcie_aspm='off' module_blacklist='iTCO_wdt,intel_oc_wdt,dell_smm_hwmon' nowatchdog tsc='nowatchdog' drm_kms_helper.poll='0' drm_kms_helper.fbdev_emulation='1' rootflags='data=writeback' acpi_mask_gpe='0x6E' mitigations='off' dis_ucode_ldr

modprobe.d

sudo update-initramfs -k 'all' -c

journald

sudo mkdir -p '/etc/systemd/journald.conf.d' && sudo -e '/etc/systemd/journald.conf.d/99-tweaks.conf'
[Journal]
Storage=none
Compress=false
MaxLevelStore=0
MaxLevelSyslog=0
MaxLevelKMsg=0
MaxLevelConsole=0
MaxLevelWall=0

# End
sudo journalctl --vacuum-time='1s' --rotate

Monitor

Spinesnap

xfce4-session-settings
'/usr/bin/bash' -c "'/usr/bin/xrandr' --output 'HDMI1' --set 'Broadcast RGB' 'Full' --set 'content type' 'Game' --set 'Colorspace' 'opRGB' --set 'audio' 'force-dvi' --set 'max bpc' '8'"

Drive Maintenance

Trim

sudo systemctl enable 'fstrim.timer' --now
sudo systemctl start 'fstrim' && sync && sudo systemctl status 'fstrim' -l
sudo fstrim -v -a

ext4

  • TODO

Scripts

Updater

mkdir -p ~/'.local/scripts' && nano ~/'.local/scripts/debian-updater.sh' && chmod +x ~/'.local/scripts/debian-updater.sh'
#!/bin/bash

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'*'/'* ~/'.cache/thumbnails/'*
rm -Rf ~/'.cache/mozilla/firefox/'* ~/'.cache/thunderbird/'*

sudo fstrim -v -a

read -n '1' -s -r -p 'Done. Press any key to exit.'
sleep '3'

# End
~/'.local/scripts/debian-updater.sh'

Notable Folders and Commands

/usr/local/www/wiki/data/pages/linux/distros/debian_13_xfce.txt · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki