| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| linux:distros:opensuse_tumbleweed_xfce [2024/09/05 03:15] – Sean Rhone | linux:distros:opensuse_tumbleweed_xfce [2026/08/14 09:18] (current) – Sean Rhone |
|---|
| ====== Information ====== | ====== Information ====== |
| |
| * openSUSE ((https://www.opensuse.org)) | * openSUSE |
| * Tumbleweed ((https://en.opensuse.org/Portal:Tumbleweed)) | * Tumbleweed |
| * Xfce ((https://www.xfce.org/)) | * Xfce |
| |
| ====== TODOs ====== | * Hailrake = Dell Inspiron 24 5459 AIO ((i5-6400T, Intel HD 530, UEFI)) |
| | * Boulderback = Dell Precision M6500 ((i7-740QM, Radeon HD 5870, Legacy)) |
| * 720p and 1080p desktop launchers or hotkeys | * Spinesnap = Dell Latitude 5591 ((i5-8400H, Intel UHD 630, AX210, UEFI; no Thunderbolt, no dGPU, [[devices:dell_latitude_5591_spinesnap|notes]])) |
| * max CPU perf script for CPU frequency with x86_energy_perf_policy | |
| * iommu software tlb disable | |
| * update page backlinks | |
| * local dns resolver | |
| * remove irqbalance | |
| * ipv6 disable kernel parameter? | |
| * auto compositor rules for disabling it for games (kde or xfce had this?), or hotkey to disable; possibly merge with max cpu and/or resolution stuff | |
| * ext4 nobarrier tweaks | |
| |
| ====== Download ====== | ====== Download ====== |
| |
| * http://download.opensuse.org/tumbleweed/iso/ | * 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 |
| ===== 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 | 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 | openSUSE-Tumbleweed-DVD-x86_64-Snapshot20260724-Media.iso |
| |
| ===== Xfce ===== | openSUSE-Tumbleweed-DVD-x86_64-Snapshot20260812-Media.iso |
| | |
| * For LiveUSB | |
| | |
| https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-XFCE-Live-x86_64-Current.iso | |
| |
| ====== Installation Notes ====== | ====== Installation Notes ====== |
| |
| * ''EFI/opensuse/grubx64.efi'' ((EFI file to boot and in the case of Acer laptops, add to SecureBoot trust; doesn't matter if SecureBoot is enabled or not)) | |
| |
| ===== Partitioning ===== | ===== Partitioning ===== |
| |
| - XFS | - ext2 ''/'' |
| - No separate ''/home'' | - No separate ''/home'' |
| - No separate ''swap'' | - Separate ''swap'' without suspend resize |
| |
| ====== PackageKit ====== | <code> |
| | NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS |
| | sda 8:0 0 465.8G 0 disk |
| | ├─sda1 8:1 0 1G 0 part /boot/efi |
| | ├─sda2 8:2 0 462.8G 0 part / |
| | └─sda3 8:3 0 2G 0 part [SWAP]</code> |
| |
| * PackageKit is an long-standing, consistent annoyance when using ''zypper'' at random times | <code> |
| * This uninstalls it, and prevents it from being automatically re-installed | NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS |
| * :!: This was //still// necessary as of 2022/05/13 | sda 8:0 0 119.2G 0 disk |
| | ├─sda1 8:1 0 8M 0 part |
| | ├─sda2 8:2 0 117.2G 0 part / |
| | └─sda3 8:3 0 2G 0 part [SWAP]</code> |
| | |
| | ===== Boot Loader ===== |
| | |
| | * GRUB2 for EFI |
| | |
| | ====== PackageKit ====== |
| |
| sudo systemctl stop 'packagekit' && sudo zypper remove 'PackageKit' && sync | sudo systemctl stop 'packagekit' && sudo zypper remove 'PackageKit' |
| |
| sudo zypper addlock 'PackageKit' | sudo zypper addlock 'PackageKit' |
| ====== Repositories ====== | ====== Repositories ====== |
| |
| ====== Software ====== | ===== PackMan ===== |
| |
| ===== List ===== | * https://en.opensuse.org/Additional_package_repositories#Packman |
| | * http://packman.links2linux.org/mirrors |
| |
| * http://download.opensuse.org/tumbleweed/repo/ | * https://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/ |
| | * Priority: 98 |
| |
| ===== Disable USB Source ===== | sudo rpm --import 'https://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/repodata/repomd.xml.key' && sudo zypper addrepo --check --gpgcheck-strict --refresh --priority '98' --name 'Packman repository (openSUSE_Tumbleweed)' 'https://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/' 'packman' |
| |
| **** | ====== Software ====== |
| | |
| | ===== Disable USB Source ===== |
| |
| sudo zypper modifyrepo --disable --medium-type 'hd' | sudo zypper modifyrepo --disable --medium-type 'hd' |
| |
| ==== System ==== | ==== 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 | 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 |
| | |
| | ==== Firmware ==== |
| | |
| | sudo fwupdmgr enable-remote 'lvfs-testing' --no-remote-check |
| | |
| | sudo fwupdmgr refresh --force && sudo fwupdmgr update |
| |
| ===== GNU nano ===== | ===== GNU nano ===== |
| |
| 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' | 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' |
| | |
| | ===== Remove ===== |
| | |
| | sudo zypper remove --clean-deps catfish geoclue2 menulibre parole pragha myrlyn xfce4-clipman-plugin xfce4-notes-plugin gnome-packagekit PackageKit-gstreamer-plugin PackageKit-gtk3-module plymouth |
| | |
| | sudo zypper addlock catfish geoclue2 menulibre parole pragha myrlyn xfce4-clipman-plugin xfce4-notes-plugin gnome-packagekit PackageKit-gstreamer-plugin PackageKit-gtk3-module plymouth |
| |
| ===== General ===== | ===== General ===== |
| |
| * 2024/01/02: ''libopenh264-7'' seems fragile if it changes versions | * 2026/05/02: H.264 ''libavcodec58'' version from [[https://build.opensuse.org/projects/openSUSE:Factory/packages/firefox-esr/files/firefox-esr.spec|firefox-esr.spec]] |
| | * 2026/05/10: ''typelib-1_0-Xfconf-0'' fixes ''xfce4-screensaver-preferences'' settings panel |
| |
| sudo zypper install evolution filezilla foliate gbrainy gimp google-noto-*-fonts gstreamer-plugin-openh264 keepassxc libreoffice mpv transmission-gtk rhythmbox android-tools aria2 binutils chrony htop icoutils libnotify-tools libopenh264-7 nano 7zip secret-tool sensors unar wget xrandr yt-dlp | sudo zypper install firefox-esr libavcodec58_134 filezilla foliate gimp gnome-calculator google-noto-*-fonts keepassxc libreoffice MozillaThunderbird obs-studio transmission-gtk vlc vlc-codecs xfce4-screensaver typelib-1_0-Xfconf-0 7zip android-tools aria2 fastfetch gstreamer-plugins-*-extra htop Mesa-demo-x secret-tool sensors unar yt-dlp |
| |
| ===== Intel ===== | ===== Intel ===== |
| |
| **** | intel-vaapi-driver intel-gpu-tools libvulkan_intel |
| |
| ucode-intel intel-media-driver intel-gpu-tools intel-opencl libvulkan_intel | kernel-firmware-iwlwifi |
| |
| ===== Games ===== | ===== Games ===== |
| |
| **** | * [[games:linux:doomsday_engine|Doomsday Engine]] |
| |
| minetest vkquake xonotic | doomsday |
| |
| ===== Wine ===== | ===== Wine ===== |
| |
| **** | * Old WoW64 |
| | * ''binutils'' provides ''strings'' |
| |
| wine-staging libvulkan_intel-32bit libpulse0-32bit gstreamer-plugins-bad-32bit gstreamer-plugins-base-32bit gstreamer-plugins-good-32bit gstreamer-plugins-libav-32bit gstreamer-plugins-ugly-32bit | wine-staging wine-staging-32bit libSDL3-0-32bit gstreamer-plugins-base-32bit gstreamer-plugins-good-32bit gstreamer-plugins-bad-32bit gstreamer-plugins-ugly-32bit gstreamer-plugins-*-extra-32bit gstreamer-plugins-libav-32bit Mesa-libva-32bit libvulkan_intel-32bit winetricks icoutils binutils |
| |
| ===== Tor Browser ===== | ===== Tor Browser ===== |
| |
| **** | |
| |
| torbrowser-launcher | torbrowser-launcher |
| |
| ====== Settings ====== | ===== Firefox ESR ===== |
| |
| ===== Keyboard Shortcuts ===== | * Removes main Firefox and config |
| |
| bash -c "secret-tool lookup 'keepass' 'default' | keepassxc --pw-stdin ~/'Documents/keepass.kdbx'" | sudo zypper remove --clean-deps 'MozillaFirefox' && sudo zypper addlock 'MozillaFirefox' |
| | |
| | rm -Rf ~/'.config/mozilla/firefox/'* |
| | |
| | ===== Specs ===== |
| | |
| | clear && fastfetch && uname -a && date |
| | |
| | sudo intel_gpu_top -s '500' -p -m |
| | |
| | ====== Xfce TODO ====== |
| | |
| | ===== Theme ===== |
| | |
| | * [[linux:notes:chicago95_git|Chicago95]] |
| | |
| | ===== Default Apps ===== |
| | |
| | gio mime 'text/plain' 'org.xfce.mousepad.desktop' |
| | |
| | gio mime 'image/jpeg' 'org.gnome.Shotwell-Viewer.desktop' |
| | |
| | gio mime 'image/png' 'org.gnome.Shotwell-Viewer.desktop' |
| | |
| | gio mime 'image/bmp' 'org.gnome.Shotwell-Viewer.desktop' |
| | |
| | gio mime 'application/pdf' 'org.gnome.Evince.desktop' |
| | |
| | gio mime 'application/epub+zip' 'com.github.johnfactotum.Foliate.desktop' |
| | |
| | xdg-settings set 'default-web-browser' 'firefox-esr.desktop' |
| | |
| | ==== Terminal ==== |
| | |
| | * Utilities -> Terminal Emulator: ''Xfce Terminal'' |
| | |
| | xfce4-mime-settings |
| | |
| | ===== General ===== |
| | |
| | * [[https://gitlab.xfce.org/xfce/xfwm4/-/blob/master/src/main.c#L407|vblank_mode]] |
| | |
| | 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 |
| | |
| | ===== 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 ====== |
| |
| 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''" | ===== Hostname ===== |
| |
| ==== Keys ==== | sudo hostnamectl set-hostname 'Spinesnap' |
| |
| * Listed respectively to above | cat '/etc/hosts' | grep "$HOSTNAME" || echo "127.0.0.1 $HOSTNAME" | sudo tee --append '/etc/hosts' > '/dev/null' |
| |
| * Ctrl + Alt + Z | hostname -i |
| * Pause, Menu, or Launch1 | |
| |
| ===== Printer ===== | ===== Printer ===== |
| |
| * :!: Log-in as ''root'' | * :!: Log-in as ''root'' |
| * Internet Printing Protocol (ipps) -> HP -> IPP Everywhere | * Internet Printing Protocol (ipp) -> HP -> IPP Everywhere ™ |
| * Color Mode: Device Gray | * Color Mode: Device Gray |
| * Administration -> Set As Server Default | * Administration -> Set As Server Default |
| ===== Network ===== | ===== Network ===== |
| |
| * See [[notes:dns_servers]] for other servers | ==== DNS ==== |
| |
| <code>9.9.9.9,149.112.112.112</code> | * [[servers:upstream_dns_servers|More DNS Servers]] |
| |
| <code>2620:fe::fe,2620:fe::9</code> | <code>1.1.1.2,1.0.0.2</code> |
| |
| ===== Rhythmbox ===== | <code>2606:4700:4700::1112,2606:4700:4700::1002</code> |
| |
| * See [[Information:Internet Radio|Internet Radio]] | ==== Firewalld ==== |
| |
| ===== Terminal ===== | * [[linux:notes:firewalld|Notes]] |
| |
| * Background -> Transparent Background -> Opacity: ''0.90'' | sudo firewall-cmd --set-default-zone='block' |
| |
| ===== Dell Fan Profile ===== | sudo firewall-cmd --permanent --add-service='dhcpv6-client' |
| |
| * https://www.dell.com/support/kbdoc/en-us/000177768/guide-to-dell-power-manager | sudo firewall-cmd --permanent --zone='docker' --remove-interface='docker0' |
| |
| sudo zypper install -y 'python3-smbios-utils' && sudo smbios-thermal-ctl --set-thermal-mode='performance' && sudo zypper remove --clean-deps -y 'python3-smbios-utils' | sudo systemctl restart 'firewalld' |
| |
| ===== GRUB ===== | ===== Kernel Options ===== |
| |
| ==== Config ==== | ==== BPF Disable ==== |
| |
| * :!: [[linux;notes;kernel_parameters|More Kernel Parameters]] | * https://docs.kernel.org/admin-guide/sysctl/kernel.html#unprivileged-bpf-disabled |
| |
| ==== Spinesnap ==== | * ''kernel.unprivileged_bpf_disabled = 0'' |
| |
| * YaST Boot Loader -> Kernel Parameters | echo 'kernel.unprivileged_bpf_disabled=0' | sudo tee '/etc/sysctl.d/99-bpf-disable.conf' > '/dev/null' && cat '/etc/sysctl.d/99-bpf-disable.conf' |
| * CPU Mitigations: Off | |
| * [ ] Graphical console (uncheck) | |
| * Remove ''splash=silent'' ''quiet'' parameters | |
| |
| * Last updated: 2024/09/05 | '/usr/sbin/sysctl' 'kernel.unprivileged_bpf_disabled' |
| |
| <code>preempt='full' nohz='off' acpi_osi='Linux' pcie_ports='native' pcie_port_pm='off' pci='nocrs,pcie_bus_perf,realloc,pcie_scan_all,big_root_window' pcie_aspm='off' reboot='pci' nvme_core.default_ps_max_latency_us='0' nowatchdog modprobe.blacklist='iTCO_wdt' i915. ahci.mobile_lpm_policy='1' usbcore.autosuspend='-1' snd_hda_intel.power_save='0' i915.enable_fbc='0' i915.enable_psr='0' usbhid.quirks='0x1b1c:0x1b75:0x20000408' i915.panel_use_ssc='0' i915.guc_log_level='0' usbcore.quirks='1b1c:1b75:gn' iwlmvm.power_scheme='1' swiotlb='noforce' intel_iommu='on' iommu='force' nvme.use_threaded_interrupts='1' nvme.poll_queues='4' nvme.noacpi='1' tsc='nowatchdog' enable_mtrr_cleanup iomem='relaxed' rootflags='data=writeback'</code> | ==== Legacy MMap ==== |
| | |
| | * https://man7.org/linux/man-pages/man5/proc_sys_vm.5.html |
| | |
| | * ''vm.legacy_va_layout = 1'' |
| | |
| | echo 'vm.legacy_va_layout=1' | sudo tee '/etc/sysctl.d/99-vm-legacy-va.conf' > '/dev/null' && cat '/etc/sysctl.d/99-vm-legacy-va.conf' |
| | |
| | '/usr/sbin/sysctl' 'vm.legacy_va_layout' |
| | |
| | ==== Perf Counters ==== |
| | |
| | * https://www.kernel.org/doc/html/latest/admin-guide/perf-security.html |
| | |
| | * ''kernel.perf_event_paranoid = -1'' |
| | |
| | echo 'kernel.perf_event_paranoid=-1' | sudo tee '/etc/sysctl.d/99-perf-events.conf' > '/dev/null' && cat '/etc/sysctl.d/99-perf-events.conf' |
| | |
| | '/usr/sbin/sysctl' 'kernel.perf_event_paranoid' |
| | |
| | ==== Intel Perf Counters ==== |
| | |
| | * https://wiki.archlinux.org/title/intel_graphics#Enable_performance_support |
| | |
| | * ''dev.i915.perf_stream_paranoid = 0'' |
| | |
| | echo 'dev.i915.perf_stream_paranoid=0' | sudo tee '/etc/sysctl.d/99-i915-perf.conf' > '/dev/null' && cat '/etc/sysctl.d/99-i915-perf.conf' |
| | |
| | '/usr/sbin/sysctl' 'dev.i915.perf_stream_paranoid' |
| | |
| | ==== Magic SysRq key ==== |
| | |
| | * https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html |
| | * Allows ''REISUB'' |
| | |
| | * ''kernel.sysrq = 1'' |
| | |
| | echo 'kernel.sysrq = 1' | sudo tee '/etc/sysctl.d/99-sysrq.conf' > '/dev/null' && cat '/etc/sysctl.d/99-sysrq.conf' |
| | |
| | '/usr/sbin/sysctl' 'kernel.sysrq' |
| | |
| | ==== Swappiness ==== |
| | |
| | * ''vm.swappiness = 0'' |
| | |
| | echo 'vm.swappiness = 0' | sudo tee '/etc/sysctl.d/99-swappiness.conf' > '/dev/null' && cat '/etc/sysctl.d/99-swappiness.conf' |
| | |
| | '/usr/sbin/sysctl' 'vm.swappiness' |
| |
| ===== Xfce ===== | ===== Xfce ===== |
| |
| ==== Tweaks ==== | * TODO |
| |
| sudo -e '/etc/profile.d/99-tweaks.sh' | ==== Keyboard Shortcuts ==== |
| |
| <code> | * [[#add_database_password_to_keyring|KeePassXC]] |
| # Mesa | * [[#updater|Updater]] |
| 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' | |
| export mesa_glthread='true' | |
| export MESA_NO_ERROR='1' | |
| |
| # End</code> | 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 'openSUSE Updater' -I '/usr/share/icons/hicolor/scalable/apps/distributor.svg' --working-directory='/tmp' -e ~/'.local/scripts/opensuse-updater.sh'" |
| | |
| | ===== Firefox ===== |
| | |
| | * [[programs:firefox|Notes]] |
| | * Also Thunderbird |
| |
| ===== KeePassXC ===== | ===== KeePassXC ===== |
| |
| * General -> [ ] Load previous databases on startup | * General -> [ ] Load previous databases on startup |
| * Security -> [x] Use DuckDuckGo service to download website icons | * Security -> ''[x]'' Use DuckDuckGo service to download website icons |
| |
| ==== Add Database Password to GNOME Keyring ==== | ==== Add Database Password to Keyring ==== |
| |
| **** | * [[#keyboard_shortcuts|Keyboard shortcut]] |
| |
| secret-tool store --label='KeePass' 'keepass' 'default' | '/usr/bin/secret-tool' store --label='KeePass' 'keepass' 'default' |
| | |
| | ===== Laptop Power Management ===== |
| | |
| | * [[linux:notes:x86_energy_perf_policy|udev Rule]] |
| |
| ===== lm_sensors ===== | ===== lm_sensors ===== |
| sudo -e '/etc/sysconfig/lm_sensors' | sudo -e '/etc/sysconfig/lm_sensors' |
| |
| ===== mpv ===== | ===== PipeWire ===== |
| |
| mkdir -p ~/'.config/mpv' && nano ~/'.config/mpv/mpv.conf' | * [[linux:notes:misc#pipewire|Notes]] |
| | |
| | mkdir -p ~/'.config/pipewire/pipewire.conf.d' && nano ~/'.config/pipewire/pipewire.conf.d/99-custom.conf' |
| |
| <code> | <code> |
| save-position-on-quit | context.properties = { |
| sub-auto=fuzzy | default.clock.allowed-rates = [ 44100 48000 96000 192000 ] |
| force-window=yes | } |
| profile=gpu-hq | |
| scale=ewa_lanczossharp | |
| cscale=ewa_lanczossharp | |
| video-sync=display-resample | |
| interpolation | |
| tscale=oversample | |
| hwdec=vaapi | |
| hwdec-codecs=all</code> | |
| |
| ===== Secure Shell ===== | # End</code> |
| |
| * See [[clients:secure_shell|Client]] notes to generate/restore public key | ===== Time ===== |
| |
| ===== Drive Maintenance ===== | timedatectl set-timezone 'America/New_York' && sudo timedatectl 'set-ntp' 'true' && sudo hwclock --systohc && timedatectl status |
| |
| ==== Swap ==== | ====== Boot Loader ====== |
| |
| * Add ''discard'' after ''defaults'' for the ''swap'' mountpoint ((defaults,discard)) | * YaST2 |
| * According to the ''swapon'' man page, setting this in ''fstab'' is acceptable | |
| |
| sudo -e '/etc/fstab' | ===== Boot Code Options ===== |
| |
| ,discard=once | * Boot Loader: ''GRUB2 for EFI'' |
| |
| ==== Trim ==== | * ''[ ]'' Secure Boot Support |
| | * ''[x]'' Update NVRAM Entry |
| |
| **** | * Protective MBR flag: ''do not change'' |
| |
| sudo systemctl enable 'fstrim.timer' --now && sudo systemctl start 'fstrim' && sync && sudo systemctl status 'fstrim' -l | ===== Kernel Parameters ===== |
| |
| ===== Wine ===== | * CPU Mitigations: ''Off'' |
| | * ''[ ]'' Graphical console |
| | * ''[ ]'' Serial console |
| |
| * See [[notes:wine|Wine]] | ==== Hailrake ==== |
| |
| ===== Xorg ===== | * Last updated: 2026/07/28 |
| |
| ==== Full RGB HDMI ==== | console='' quiet bgrt_disable initcall_blacklist='sysfb_init,init_ima' security='' lsm='' audit='0' ima_appraise='off' nohugeiomap nogbpages add_efi_memmap mce='off' ras='cec_disable' acpi_osi='!' acpi_osi='Windows 2015' mem_sleep_default='s2idle' reboot='efi' hibernate='no' idle='halt' nohz='off' preempt='lazy' iommu='pt' memory_corruption_check='0' init_on_alloc='0' init_on_free='0' align_va_addr='on' module_blacklist='iTCO_wdt,intel_oc_wdt' nowatchdog tsc='nowatchdog' drm_kms_helper.poll='0' drm_kms_helper.fbdev_emulation='1' pci='noaer,assign-busses,nocrs,no_e820,skip_isa_align,pcie_bus_perf,ecrc=off,realloc,noari,noats,pcie_scan_all,big_root_window,notph' pcie_ports='compat' pcie_port_pm='off' hostname='localhost' |
| |
| * With ''xf86-video-intel'', use ''HDMI1'' | ==== Boulderback ==== |
| |
| sudo -e '/etc/bash.bashrc.local' | * :?: ''pcie_bus_tune_off'' vs ''pcie_bus_perf'' with Ethernet ((used to cause 20-30MB cap)) |
| | * TODO: Auto ''cpufreq.default_governor'' AC/Battery |
| | |
| | * Last updated: 2026/07/28 |
| | |
| | console='' quiet bgrt_disable initcall_blacklist='sysfb_init,init_ima' security='' lsm='' audit='0' ima_appraise='off' nohugeiomap nogbpages mce='off' ras='cec_disable' acpi_osi='Linux' mem_sleep_default='s2idle' reboot='pci' hibernate='no' idle='halt' nohz='off' preempt='lazy' iommu='pt' memory_corruption_check='0' init_on_alloc='0' init_on_free='0' align_va_addr='on' module_blacklist='iTCO_wdt,intel_oc_wdt' nowatchdog tsc='nowatchdog' drm_kms_helper.poll='0' drm_kms_helper.fbdev_emulation='0' pci='noaer,assign-busses,nocrs,no_e820,skip_isa_align,pcie_bus_tune_off,ecrc=off,realloc,noari,noats,pcie_scan_all,big_root_window,notph' pcie_ports='compat' pcie_port_pm='off' cpufreq.default_governor='performance' hostname='localhost' |
| | |
| | ==== Spinesnap ==== |
| | |
| | * [[linux:notes:kernel_parameters|More Kernel Parameters]] |
| | * Last updated: 2026/05/07 |
| | * :!: [[bios:notes:umaf#opensuse|UMAF]] |
| | |
| | quiet bgrt_disable security='' lsm='' audit='0' add_efi_memmap mce='off' ras='cec_disable' acpi_osi='!' acpi_osi='Windows 2013' mem_sleep_default='s2idle' reboot='pci' hibernate='no' idle='halt' nohz='off' preempt='lazy' iommu='pt' swiotlb='noforce' memory_corruption_check='0' init_on_alloc='0' init_on_free='0' align_va_addr='on' module_blacklist='iTCO_wdt,intel_oc_wdt' nowatchdog tsc='nowatchdog' drm_kms_helper.poll='0' drm_kms_helper.fbdev_emulation='0' video='HDMI-A-1:1600x900MR@76' acpi_mask_gpe='0x6E' pci='nocrs,no_e820,noaer,rom,routeirq,skip_isa_align,pcie_bus_tune_off,ecrc=off,realloc,noari,noats,pcie_scan_all,big_root_window,notph' pcie_ports='compat' pcie_port_pm='off' |
| | |
| | ==== Test ==== |
| | |
| | * Last updated: 2026/05/05 |
| | |
| | cgroup_disable='cpu,blkio,net_cls,perf_event,hugetlb,pids,rdma,misc,dmem,memory' rcu_nocbs noautogroup |
| | |
| | cat '/proc/cgroups' |
| | |
| | ===== Bootloader Options ===== |
| | |
| | * Timeout in Seconds: ''2'' |
| | * ''[ ]'' Probe Foreign OS |
| | * ''[ ]'' Hide Menu on Boot |
| | * Default Boot Section: ''openSUSE Tumbleweed'' |
| | * ''[ ]'' Protect Boot Loader with Password |
| | |
| | ====== Drive Maintenance ====== |
| | |
| | ===== Trim ===== |
| | |
| | sudo systemctl enable 'fstrim.timer' --now |
| | |
| | sudo systemctl start 'fstrim' && sync && sudo systemctl status 'fstrim' -l |
| | |
| | sudo fstrim -v -a |
| | |
| | ===== EFI ===== |
| | |
| | * ''nvme0n1p1'' type ''vfat'' |
| | |
| | sudo umount '/boot/efi' && sudo dosfsck -a -t -w -v '/dev/sda1' && sudo mount '/boot/efi' |
| | |
| | ===== ext2 ===== |
| | |
| | * :!: From LiveUSB/unmounted |
| | |
| | sudo e2fsck -D -E 'discard,optimize_extents,inode_count_fullmap' -f -v -y '/dev/nvme0n1p2' |
| | |
| | ==== Recovery Boot ==== |
| | |
| | * Single-user mode |
| | * ''(recovery mode)'' boot option |
| | |
| | sudo -e '/ext2.sh' && sudo chmod +x '/ext2.sh' |
| |
| <code> | <code> |
| xrandr --output 'HDMI-1' --set 'Broadcast RGB' 'Full' | #!/bin/bash |
| xrandr --output 'HDMI-1' --set 'content type' 'Game'</code> | |
| |
| ====== Firefox ====== | umount '/' |
| | e2fsck -D -E 'discard,optimize_extents,inode_count_fullmap' -f -v -y '/dev/sda2' |
| | sync |
| | sleep '3' |
| | reboot |
| |
| * See [[notes:firefox|Firefox]] if old configuration is needed, otherwise use Firefox Sync | # End</code> |
| * https://wiki.archlinux.org/title/Firefox/Privacy | |
| |
| ===== about:config ===== | /ext2.sh |
| |
| * See [[notes:firefox#aboutconfig|about:config]] for more info | ====== Tweaks ====== |
| |
| extensions.screenshots.disabled | ===== General ===== |
| |
| extensions.pocket.enabled | sudo -e '/etc/profile.d/general-tweaks.sh' |
| |
| ===== Extensions ===== | <code> |
| | # General |
| | export LD_BIND_NOW='1' |
| | export LD_PREFER_MAP_32BIT_EXEC='1' |
| |
| * [[https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/|uBlock Origin]] | # Mozilla |
| * [[https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/|Decentraleyes]] | export MOZ_CRASHREPORTER_DISABLE='1' |
| * [[https://addons.mozilla.org/en-US/firefox/addon/privacy-badger17/|Privacy Badger]] | |
| |
| ==== uBlock Origin ==== | # 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' |
| |
| ==== Filters list ==== | # Intel |
| | 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' |
| |
| **** | # 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</code> |
| | |
| | ===== modprobe.d ===== |
| | |
| | * [[linux;notes;modprobe.d_tweaks#spinesnap|Notes]] |
| | |
| | ===== Dracut ===== |
| | |
| | ==== General ==== |
| | |
| | sudo -e '/etc/dracut.conf.d/99-tweaks.conf' |
| |
| <code> | <code> |
| https://www.fanboy.co.nz/fanboy-problematic-sites.txt | compress="cat" |
| https://www.fanboy.co.nz/r/fanboy-ultimate.txt | do_strip="yes" |
| https://www.fanboy.co.nz/fanboy-cookiemonster_ubo.txt | aggressive_strip="yes" |
| https://www.fanboy.co.nz/enhancedstats.txt</code> | hostonly="yes" |
| | hostonly_mode="strict" |
| | reproducible="no" |
| | enhanced_cpio="no" |
| | i18n_install_all="no" |
| | kernel_cmdline="rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0" |
| |
| ==== My filters ==== | # End</code> |
| | |
| | ==== Hailrake ==== |
| |
| **** | sudo -e '/etc/dracut.conf.d/99-hailrake.conf' |
| |
| <code> | <code> |
| ! Hide RuneScape Wiki clocks | early_microcode="no" |
| ! 2023/12/13 | nofscks="yes" |
| oldschool.runescape.wiki###utcdate > [href="#"] | |
| oldschool.runescape.wiki###footer-info-lastmod | |
| runescape.wiki##[href="/w/Clock_(interface)"] | |
| runescape.wiki###footer-info-lastmod | |
| |
| ! End</code> | force_drivers+=" i915 " |
| |
| ===== DNS over HTTPS ===== | omit_drivers+=" intel_oc_wdt iTCO_wdt iTCO_vendor_support thunderbolt " |
| | omit_dracutmodules+=" i18n plymouth resume suse-xfs terminfo kernel-modules-extra " |
| |
| * See [[notes:dns_servers]] for other addresses | # End</code> |
| |
| <code>https://dns.quad9.net/dns-query</code> | sudo dracut --force --regenerate-all |
| |
| ====== Server ====== | ===== journald ===== |
| |
| * For workstations that run servers as a secondary directive | sudo mkdir -p '/etc/systemd/journald.conf.d' && sudo -e '/etc/systemd/journald.conf.d/99-tweaks.conf' && sudo journalctl --vacuum-time='1s' --rotate |
| * For headless servers, use [[distros:opensuse_tumbleweed_server|openSUSE TW (Server)]] | |
| |
| ===== Automatic Updates ===== | <code> |
| | [Journal] |
| | Storage=none |
| | Compress=false |
| | MaxLevelStore=0 |
| | MaxLevelSyslog=0 |
| | MaxLevelKMsg=0 |
| | MaxLevelConsole=0 |
| | MaxLevelWall=0 |
| |
| ==== Service ==== | # End</code> |
| |
| sudo -e '/etc/systemd/system/suse-up.service' | sudo journalctl --vacuum-time='1s' --rotate |
| | |
| | ===== fstab ===== |
| | |
| | sudo -e '/etc/fstab' |
| | |
| | ==== swap ==== |
| | |
| | ,discard=once |
| | |
| | ==== ext2 ==== |
| | |
| | * ''/ type ext2'' |
| | |
| | ,noatime |
| | |
| | ==== EFI ==== |
| | |
| | * https://www.kernel.org/doc/Documentation/filesystems/vfat.txt |
| | |
| | * ''/boot/efi type vfat'' |
| | |
| | ,discard,tz=UTC,shortname=winnt,allow_utime=0002 |
| | |
| | utf8,dmask=0077 |
| | |
| | ===== Wine ===== |
| | |
| | * [[linux;notes;wine|Notes]] |
| | |
| | sudo -e '/etc/profile.d/wine-tweaks.sh' |
| |
| <code> | <code> |
| [Service] | # Staging |
| Type=oneshot | export WINE_LARGE_ADDRESS_AWARE='1' |
| ExecStartPre='/usr/bin/zypper' clean --all | export STAGING_SHARED_MEMORY='1' |
| ExecStart='/usr/bin/zypper' --non-interactive refresh --force --services | export STAGING_WRITECOPY='1' |
| 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</code> | |
| |
| ==== Timer ==== | # Logging |
| | export WINEDEBUG='-all' |
| | export VKD3D_DEBUG='none' |
| | export VKD3D_SHADER_DEBUG='none' |
| | export DXVK_LOG_LEVEL='none' |
| |
| * 06:00 Oak | # DXVK |
| | export DXVK_SHADER_CACHE='0' |
| | export DXVK_STATE_CACHE='0' |
| |
| sudo -e '/etc/systemd/system/suse-up.timer' && sudo systemctl daemon-reload && sudo systemctl enable 'suse-up.timer' --now | # End</code> |
| | |
| | ===== Xorg ===== |
| | |
| | ==== Snippets ==== |
| | |
| | * [[linux:notes:xorg.conf_snippets]] |
| | |
| | ==== HDMI ==== |
| | |
| | * ''HDMI1'' (no-dash) = [[linux:notes:xorg.conf_snippets#intel|Intel]] DDX |
| | |
| | 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'" |
| | |
| | ====== Scripts ====== |
| | |
| | ===== Updater ===== |
| | |
| | * [[#keyboard_shortcuts|Keyboard shortcut]] |
| | |
| | mkdir -p ~/'.local/scripts' && nano ~/'.local/scripts/opensuse-updater.sh' && chmod +x ~/'.local/scripts/opensuse-updater.sh' |
| |
| <code> | <code> |
| [Unit] | #!/bin/bash |
| Description=Software Package Maintenance and Updater | |
| After=network-online.target | |
| Wants=network-online.target | |
| |
| [Timer] | cd '/tmp' |
| OnCalendar=*-*-* 06:00:00 | |
| Persistent=true | sudo '/usr/bin/zypper' clean --all |
| | sudo '/usr/bin/zypper' refresh --force --services |
| | sudo '/usr/bin/zypper' dist-upgrade --details --allow-downgrade --allow-name-change --allow-arch-change --allow-vendor-change |
| | |
| | rm -Rf ~/'.cache/mesa_shader_cache/'* ~/'.cache/thumbnails/'* |
| | rm -Rf ~/'.cache/mozilla/firefox/'* ~/'.cache/thunderbird/'* |
| | |
| | sync |
| | zypper ps --short |
| | read -p 'Done. Press Enter to exit.' 'x' |
| | sleep '2' |
| | |
| | # End</code> |
| |
| [Install] | ~/'.local/scripts/opensuse-updater.sh' |
| WantedBy=timers.target</code> | |
| |
| ====== Notable Folders and Commands ====== | ====== Notable Folders and Commands ====== |
| |
| * See [[notes:misc_linux#opensuse|misc_linux]] | * See [[linux;notes;misc]] |
| |