| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| linux:distros:ubuntu_lts [2026/04/17 22:16] – [gsettings] Sean Rhone | linux:distros:ubuntu_lts [2026/04/18 18:36] (current) – [Wine] Sean Rhone |
|---|
| * Ubuntu ((https://ubuntu.com/desktop)) | * Ubuntu ((https://ubuntu.com/desktop)) |
| * Long-Term Support (LTS) ((https://ubuntu.com/about/release-cycle, https://releases.ubuntu.com/)) | * Long-Term Support (LTS) ((https://ubuntu.com/about/release-cycle, https://releases.ubuntu.com/)) |
| |
| * :!: 2026/04/17: WIP | |
| |
| * Spinesnap = Dell Latitude 5591 ((i5-8400H, UHD 630, AX210, UEFI; no Thunderbolt, no dGPU)) | * Spinesnap = Dell Latitude 5591 ((i5-8400H, UHD 630, AX210, UEFI; no Thunderbolt, no dGPU)) |
| |
| cat '/etc/os-release' | grep 'VERSION=' | |
| |
| 24.04.4 LTS (Noble Numbat) | 24.04.4 LTS (Noble Numbat) |
| ===== Partitioning ===== | ===== Partitioning ===== |
| |
| - Whole disk | * No LVM, no encryption |
| - No LVM, no encryption | |
| |
| <code> | <code> |
| |
| /dev/nvme0n1p1 on /boot/efi type vfat | /dev/nvme0n1p1 on /boot/efi type vfat |
| | |
| | ====== Repositories ====== |
| | |
| | ===== WineHQ ===== |
| | |
| | * https://www.winehq.org/ |
| | * https://gitlab.winehq.org/wine/wine/-/wikis/Debian-Ubuntu |
| | |
| | ==== Key ==== |
| | |
| | **** |
| | |
| | wget -O '/tmp/winehq.key' 'https://dl.winehq.org/wine-builds/winehq.key' && gpg --dearmor --output '/tmp/winehq-archive.key' '/tmp/winehq.key' && chmod -f '0644' '/tmp/winehq-archive.key' && sudo mv -fv '/tmp/winehq-archive.key' '/etc/apt/keyrings/winehq-archive.key' && sudo chown -f 'root':'root' '/etc/apt/keyrings/winehq-archive.key' |
| | |
| | ==== Repo ==== |
| | |
| | * https://dl.winehq.org/wine-builds/ubuntu/dists/ |
| | * ''noble'' |
| | |
| | sudo dpkg --add-architecture 'i386' |
| | |
| | wget -O '/tmp/winehq.sources' 'https://dl.winehq.org/wine-builds/ubuntu/dists/noble/winehq-noble.sources' && chmod -f '0644' '/tmp/winehq.sources' && sudo mv '/tmp/winehq.sources' '/etc/apt/sources.list.d/winehq.sources' && sudo chown -f 'root':'root' '/etc/apt/sources.list.d/winehq.sources' |
| |
| ====== Software ====== | ====== Software ====== |
| * :?: ''winbind'' used to fix //something// ((maybe DNS, something 32-bit, or SSL with osu!)) | * :?: ''winbind'' used to fix //something// ((maybe DNS, something 32-bit, or SSL with osu!)) |
| |
| wine icoutils | winehq-staging icoutils |
| | |
| | mesa-vulkan-drivers:i386 libgl1:i386 libegl1:i386 |
| |
| ===== Intel ===== | ===== Intel ===== |
| ==== External Monitor Settings ==== | ==== External Monitor Settings ==== |
| |
| * Full RGB + 12-bit color | * Full RGB + 8-bit color |
| * Also applies disabled monitors at log-in (docked laptop) | * Also applies disabled monitors at log-in (docked laptop) |
| * [[linux:notes:gnome_hdmi_full_rgb|Notes]] | * [[linux:notes:gnome_hdmi_full_rgb|Notes]] |
| <code> | <code> |
| <rgbrange>full</rgbrange> | <rgbrange>full</rgbrange> |
| <maxbpc>12</maxbpc> | <maxbpc>8</maxbpc> |
| </code> | </code> |
| |
| |
| * https://extensions.gnome.org/extension/545/hide-top-bar/ | * https://extensions.gnome.org/extension/545/hide-top-bar/ |
| * https://extensions.gnome.org/extension/8008/disable-unredirect/ | * https://extensions.gnome.org/extension/1873/disable-unredirect-fullscreen-windows/ |
| |
| === Disable === | === Disable === |
| '/usr/bin/bash' -c "'/usr/bin/secret-tool' lookup 'keepass' 'default' | '/usr/bin/keepassxc' --pw-stdin ~/'Documents/keepass.kdbx'" | '/usr/bin/bash' -c "'/usr/bin/secret-tool' lookup 'keepass' 'default' | '/usr/bin/keepassxc' --pw-stdin ~/'Documents/keepass.kdbx'" |
| |
| <code>'/usr/bin/bash' -c "'/usr/bin/ptyxis' --standalone --title='Ubuntu Updater' -- ~/'.local/scripts/ubuntu-updater.sh'"</code> | <code>'/usr/bin/bash' -c "'/usr/bin/gnome-terminal' --window --title='Ubuntu Updater' -- ~/'.local/scripts/ubuntu-updater.sh'"</code> |
| |
| === Keys === | === Keys === |
| ===== Firefox ===== | ===== Firefox ===== |
| |
| * See [[programs;firefox|Firefox]] | * [[programs;firefox|Notes]] |
| | * Profile reset |
| ==== Reset Profile ==== | |
| | |
| **** | |
| |
| rm -Rf ~/'snap/firefox/common/.mozilla' ~/'snap/firefox/common/.cache' | rm -Rf ~/'snap/firefox/common/.mozilla' ~/'snap/firefox/common/.cache' |
| ===== Thunderbird ===== | ===== Thunderbird ===== |
| |
| * See [[programs;firefox|Firefox]] | * [[programs:thunderbird|Notes]] |
| | * Profile reset |
| ==== Reset Profile ==== | |
| | |
| **** | |
| |
| rm -Rf ~/'snap/thunderbird/common/.mozilla' ~/'snap/thunderbird/common/.thunderbird' ~/'snap/thunderbird/common/.cache' | rm -Rf ~/'snap/thunderbird/common/.mozilla' ~/'snap/thunderbird/common/.thunderbird' ~/'snap/thunderbird/common/.cache' |
| |
| ==== Colors ==== | |
| |
| * Green | |
| * Red | |
| * Blue | |
| |
| A9D158 | |
| |
| EA4335 | |
| |
| 0078D4 | |
| |
| ===== Ptyxis ===== | |
| |
| * ''0.95'' Transparency | |
| |
| gsettings set 'org.gnome.Ptyxis' 'enable-a11y' 'false' && gsettings set 'org.gnome.Ptyxis' 'restore-session' 'false' && gsettings set 'org.gnome.Ptyxis' 'restore-window-size' 'false' && gsettings set 'org.gnome.Ptyxis.Profile:/org/gnome/Ptyxis/Profiles/'$PTYXIS_PROFILE'/' 'opacity' '0.95' | |
| |
| ===== KeePassXC ===== | ===== KeePassXC ===== |
| |
| * ''GRUB_CMDLINE_LINUX='' (:!: not default) | * ''GRUB_CMDLINE_LINUX='' (:!: not default) |
| | * 2026/04/17: ''acpi_osi'' at ''2017.2'' is related to ''acpi_mask_gpe'' ((''acpi_osi'' causes brightness keys to not work, but ''acpi_mask_gpe'' causes brightness keys + mic toggle to be laggy; GPE mask stops interrupt spam ([[https://discussion.fedoraproject.org/t/the-kworker-0-x-thingies-are-overwhelming-my-cpus-first-core/185453|thread]]) )) |
| |
| sudo -e '/etc/default/grub' && sudo update-grub | sudo -e '/etc/default/grub' && sudo update-grub |
| <code>GRUB_CMDLINE_LINUX="x"</code> | <code>GRUB_CMDLINE_LINUX="x"</code> |
| |
| <code>acpi_osi='!' acpi_osi='Windows 2013' reboot='pci' hibernate='no' idle='halt' nohz='off' preempt='full' iommu='pt' io_delay='none' memory_corruption_check='0' nosgx init_on_alloc='0' init_on_free='0' pci='pcie_bus_perf,realloc,pcie_scan_all,big_root_window' 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='0' rootflags='data=writeback' video='HDMI-A-1:1600x900MR@76' acpi_mask_gpe='0x6E'</code> | <code>acpi_osi='!' acpi_osi='Windows 2017.2' reboot='pci' hibernate='no' idle='halt' nohz='off' preempt='full' iommu='pt' io_delay='none' memory_corruption_check='0' nosgx init_on_alloc='0' init_on_free='0' pci='pcie_bus_perf,realloc,pcie_scan_all,big_root_window' 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='0' rootflags='data=writeback' video='HDMI-A-1:1600x900MR@76' acpi_mask_gpe='0x6E'</code> |
| |
| ==== Fan Speed ==== | ==== Fan Speed ==== |
| |
| systemd-analyze | systemd-analyze |
| |
| ===== EFI Fix ===== | |
| |
| sudo efibootmgr | |
| |
| sudo efibootmgr --delete-bootnum --bootnum '0000' | |
| |
| sudo efibootmgr --create --disk '/dev/nvme0n1p1' --gpt --loader '\EFI\ubuntu\grubx64.efi' --label 'Ubuntu' --timeout '0' | |
| |
| ====== Drive Maintenance ====== | ====== Drive Maintenance ====== |
| # General | # General |
| export LD_BIND_NOW='1' | export LD_BIND_NOW='1' |
| export LD_PREFER_MAP_32BIT_EXEC='1' | #export LD_PREFER_MAP_32BIT_EXEC='1' |
| |
| # GNOME | # GNOME |
| |
| <code> | <code> |
| # Staging | |
| export STAGING_SHARED_MEMORY='1' | |
| export STAGING_WRITECOPY='1' | |
| export WINE_LARGE_ADDRESS_AWARE='1' | |
| |
| # Logging | # Logging |
| export WINEDEBUG='-all' | export WINEDEBUG='-all' |
| rm -Rf ~/'snap/firefox/common/.cache/'* ~/'snap/thunderbird/common/.cache/'* | rm -Rf ~/'snap/firefox/common/.cache/'* ~/'snap/thunderbird/common/.cache/'* |
| |
| localsearch reset --filesystem | tracker3 reset --filesystem --rss |
| |
| sudo '/usr/bin/journalctl' --vacuum-time='1s' --rotate | sudo '/usr/bin/journalctl' --vacuum-time='1s' --rotate |