User Tools

Site Tools


distros:opensuse_tumbleweed_xfce

Information

  • openSUSE 1)
  • Tumbleweed 2)
  • Xfce 3)

Download

DVD + Xfce Live

  • Downloads the latest DVD and Xfce Live images
cd ~/'Downloads' && aria2c 'https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-XFCE-Live-x86_64-Current.iso' && aria2c 'http://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso' && aria2c 'https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso.sha256' && sha256sum ~/'Downloads/openSUSE-Tumbleweed-DVD-x86_64-'*'-Media.iso' && cat ~/'Downloads/openSUSE-Tumbleweed-DVD-x86_64-'*'-Media.iso.sha256' && sync

DVD

  • ISO and SHA256 hash
http://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso
https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-DVD-x86_64-Current.iso.sha256

Xfce

  • For LiveUSB
https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-XFCE-Live-x86_64-Current.iso

Installation Notes

  • EFI/opensuse/grubx64.efi 4)

Partitioning

  1. XFS
  2. No separate /home
  3. No separate swap

PackageKit

  • PackageKit is an long-standing, consistent annoyance when using zypper at random times
  • This uninstalls it, and prevents it from being automatically re-installed
  • :!: This was still necessary as of 2022/05/13
sudo systemctl stop 'packagekit' && sudo zypper remove 'PackageKit' && sync
sudo zypper addlock 'PackageKit'

Repositories

Software

List

Disable USB Source

sudo zypper modifyrepo --disable --medium-type 'hd'

Update

System

sudo zypper clean --all && sudo zypper refresh --force --services && sudo zypper dist-upgrade --details --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change && sync

GNU nano

  • Installs nano
  • Sets VISUAL and EDITOR to nano via environment variable
  • Sets nowrap for current user
sudo zypper install 'nano' && export 'VISUAL=nano' && export 'EDITOR=nano' && echo -e 'export VISUAL=nano\nexport EDITOR=nano' | sudo tee '/etc/profile.d/editor-nano.sh' > '/dev/null' && cat '/etc/profile.d/editor-nano.sh' && mkdir -p ~/'.config/nano' && echo 'set nowrap' | tee ~/'.config/nano/nanorc' > '/dev/null' && cat ~/'.config/nano/nanorc'

General

  • 2024/01/02: libopenh264-7 seems fragile if it changes versions
sudo zypper install evolution filezilla foliate gbrainy gimp keepassxc libreoffice mpv transmission-gtk rhythmbox android-tools aria2 binutils htop icoutils libopenh264-7 p7zip-full secret-tool sensors unar xrandr yt-dlp 

Intel

ucode-intel intel-media-driver

Games

minetest vkquake xonotic

Wine

wine-staging libvulkan_intel gstreamer-plugins-base-32bit gstreamer-plugins-good-32bit

Tor Browser

torbrowser-launcher

Google Chrome

  • TODO: Refactor
sudo rpm --import 'https://dl-ssl.google.com/linux/linux_signing_key.pub' && sudo zypper install 'https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm'

Settings

Keyboard Shortcuts

bash -c "secret-tool lookup 'keepass' 'default' | keepassxc --pw-stdin ~/'Documents/keepass.kdbx'"
xfce4-terminal --command "sudo sh -c 'zypper clean --all && zypper refresh --force --services && zypper dist-upgrade --details --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change && sync && sync && fstrim --all --verbose && sync && read -n '1' -s -r -p 'Done' && sleep '2''"

Keys

  • Listed respectively to above
  • Ctrl + Alt + Z
  • Pause, Menu, or Launch1

Printer

  • :!: Log-in as root
  • Internet Printing Protocol (ipps) → HP → IPP Everywhere ™
  • Color Mode: Device Gray
  • Administration → Set As Server Default
ipps://192.168.1.164/ipp/print

Network

9.9.9.9,149.112.112.112
2620:fe::fe,2620:fe::9

Rhythmbox

Terminal

  • Background → Transparent Background → Opacity: 0.90

Dell Fan Profile

sudo zypper install -y 'python3-smbios-utils' && sudo smbios-thermal-ctl --set-thermal-mode='performance' && sudo zypper remove --clean-deps -y 'python3-smbios-utils'

GRUB

Config

sudo yast2 'bootloader'

Spinesnap

  • Last updated: 2024/03/29
pci='pcie_bus_perf,realloc,pcie_scan_all,big_root_window' video='HDMI-A-1:1920x1080@74' reboot='pci' nohz='off' i915.enable_fbc='0' i915.enable_psr='0' i915.panel_use_ssc='0' i915.nuclear_pageflip='1' acpi_osi='Linux'

Xfce

Tweaks

sudo -e '/etc/profile.d/99-tweaks.sh'
# Mesa
export MESA_DISK_CACHE_SINGLE_FILE='1'
export MESA_DISK_CACHE_DATABASE='1'
export MESA_DISK_CACHE_COMBINE_RW_WITH_RO_FOZ='1'
export VAAPI_MPEG4_ENABLED='1'

# End

KeePassXC

Settings

  • General → [ ] Load previous databases on startup
  • Security → [x] Use DuckDuckGo service to download website icons

Add Database Password to GNOME Keyring

secret-tool store --label='KeePass' 'keepass' 'default'

lm_sensors

sudo sensors-detect --auto
sudo -e '/etc/sysconfig/lm_sensors'

mpv

mkdir -p ~/'.config/mpv' && nano ~/'.config/mpv/mpv.conf'
save-position-on-quit
sub-auto=fuzzy
force-window=yes
profile=gpu-hq
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
video-sync=display-resample
interpolation
tscale=oversample
hwdec=vaapi
hwdec-codecs=all

Secure Shell

  • See Client notes to generate/restore public key

Drive Maintenance

Swap

  • Add discard after defaults for the swap mountpoint 5)
  • According to the swapon man page, setting this in fstab is acceptable
sudo -e '/etc/fstab'
,discard=once

Trim

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

Wine

Xorg

Full RGB HDMI

  • With xf86-video-intel, use HDMI1
sudo -e '/etc/bash.bashrc.local'
xrandr --output 'HDMI-1' --set 'Broadcast RGB' 'Full'
xrandr --output 'HDMI-1' --set 'content type' 'Game'

Firefox

about:config

extensions.screenshots.disabled
extensions.pocket.enabled

Extensions

uBlock Origin

Filters list

https://www.fanboy.co.nz/fanboy-problematic-sites.txt
https://www.fanboy.co.nz/r/fanboy-ultimate.txt
https://www.fanboy.co.nz/fanboy-cookiemonster_ubo.txt
https://www.fanboy.co.nz/enhancedstats.txt

My filters

! Hide RuneScape Wiki clocks
! 2023/12/13
oldschool.runescape.wiki###utcdate > [href="#"]
oldschool.runescape.wiki###footer-info-lastmod
runescape.wiki##[href="/w/Clock_(interface)"]
runescape.wiki###footer-info-lastmod

! End

DNS over HTTPS

https://dns.quad9.net/dns-query

Server

  • For workstations that run servers as a secondary directive
  • For headless servers, use openSUSE TW (Server)

Automatic Updates

Service

sudo -e '/etc/systemd/system/suse-up.service'
[Service]
Type=oneshot
ExecStartPre='/usr/bin/zypper' clean --all
ExecStart='/usr/bin/zypper' --non-interactive refresh --force --services
ExecStart='/usr/bin/zypper' --non-interactive dist-upgrade --auto-agree-with-licenses --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change
ExecStartPost='/usr/bin/sync'
ExecStartPost='/usr/bin/systemctl' reboot

Timer

  • 06:00 Oak
sudo -e '/etc/systemd/system/suse-up.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'suse-up.timer' --now
[Unit]
Description=Software Package Maintenance and Updater
After=network-online.target
Wants=network-online.target

[Timer]
OnCalendar=*-*-* 06:00:00
Persistent=true

[Install]
WantedBy=timers.target

Notable Folders and Commands

4)
EFI file to boot and in the case of Acer laptops, add to SecureBoot trust; doesn't matter if SecureBoot is enabled or not
5)
defaults,discard
/var/www/wiki/data/pages/distros/opensuse_tumbleweed_xfce.txt · Last modified: 2024/03/29 19:11 by Sean Rhone