User Tools

Site Tools


linux:distros:ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:distros:ubuntu [2024/12/25 15:48] – [Config] Sean Rhonelinux:distros:ubuntu [2025/04/08 19:55] (current) Sean Rhone
Line 6: Line 6:
  
 ====== TODOs ====== ====== TODOs ======
- 
-===== AppArmor Mesa Cache ===== 
- 
-  * https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/2081692/comments/3 
-  * https://gitlab.com/apparmor/apparmor/-/merge_requests/1333/diffs 
-  * :!: 2024/12/24: Needed with GNOME on Xorg session 
- 
-  sudo mkdir -p '/etc/apparmor.d/abstractions/mesa.d' && sudo -e '/etc/apparmor.d/abstractions/mesa.d/lp2081692' 
- 
-<code> 
-  owner @{HOME}/.cache/mesa_shader_cache_db/ rw, 
-  owner @{HOME}/.cache/mesa_shader_cache_db/index rwk, 
-  owner @{HOME}/.cache/mesa_shader_cache_db/part*/ rw, 
-  owner @{HOME}/.cache/mesa_shader_cache_db/part*/mesa_cache.db rwk, 
-  owner @{HOME}/.cache/mesa_shader_cache_db/part*/mesa_cache.idx rwk, 
-</code> 
  
 ====== Download ====== ====== Download ======
- 
-===== Etcher Image Writer ===== 
- 
-  * https://etcher.balena.io/#download-etcher 
-  * Windows 
- 
-===== Ubuntu ===== 
  
   * https://ubuntu.com/download/desktop   * https://ubuntu.com/download/desktop
 +  * https://releases.ubuntu.com/24.10/
  
 ====== Repositories ====== ====== Repositories ======
Line 73: Line 51:
 **** ****
  
-  sudo apt install --install-recommends 7zip adb fastboot aria2 evolution filezilla file-roller foliate gimp gnome-shell-extension-manager keepassxc libreoffice libsecret-tools lm-sensors mesa-utils obs-studio transmission-gtk vlc unar yt-dlp +  sudo apt install --install-recommends 7zip adb fastboot aria2 filezilla file-roller foliate gimp gnome-shell-extension-manager keepassxc libreoffice libsecret-tools lm-sensors mesa-utils obs-studio thunderbird transmission-gtk vlc unar yt-dlp 
  
 ===== Games ===== ===== Games =====
Line 79: Line 57:
 **** ****
  
-  neverball neverputt flightgear+  neverball flightgear doomsday
  
 ===== Wine ===== ===== Wine =====
  
   * https://wiki.winehq.org/Ubuntu   * https://wiki.winehq.org/Ubuntu
 +  * https://dl.winehq.org/wine-builds/ubuntu/dists/oracular/main/binary-amd64/?C=M;O=D
  
   winehq-staging winbind winetricks libgl1-mesa-dri:i386 mesa-vulkan-drivers mesa-vulkan-drivers:i386 libgl1:i386 libnss-mdns:i386 icoutils   winehq-staging winbind winetricks libgl1-mesa-dri:i386 mesa-vulkan-drivers mesa-vulkan-drivers:i386 libgl1:i386 libnss-mdns:i386 icoutils
  
-===== Intel Media Driver for VAAPI =====+===== Intel =====
  
-  * https://github.com/intel/media-driver#components-and-features +  intel-gpu-tools intel-media-va-driver-non-free
- +
-  vainfo intel-media-va-driver-non-free+
  
   vainfo   vainfo
Line 100: Line 77:
  
   torbrowser-launcher   torbrowser-launcher
- 
-===== Google Chrome ===== 
- 
-**** 
- 
-  wget -O '/tmp/google-chrome-stable_current_amd64.deb' 'https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb' && sudo apt install '/tmp/google-chrome-stable_current_amd64.deb' && rm '/tmp/google-chrome-stable_current_amd64.deb' && sync 
  
 ===== Steam ===== ===== Steam =====
Line 119: Line 90:
 <code>bash -c "secret-tool lookup 'keepass' 'default' | keepassxc --pw-stdin ~/'Documents/keepass.kdbx'"</code> <code>bash -c "secret-tool lookup 'keepass' 'default' | keepassxc --pw-stdin ~/'Documents/keepass.kdbx'"</code>
  
-<code>gnome-terminal --command "sudo sh -c 'apt update && apt full-upgrade -y && apt clean && apt autoremove -y && sync && snap refresh && sync && fstrim --all --verbose && sync && sleep '5''"</code>+<code>gnome-terminal -- bash -c "sudo apt update && sudo apt full-upgrade -y && sudo apt clean && sudo apt autoremove -y && sudo snap refresh && tracker3 reset --filesystem --rss && rm -Rf ~/'.cache/mesa_shader_cache'*'/'* && sudo fstrim --all --verbose && sync && sleep '5'"</code>
  
 ==== Keys ==== ==== Keys ====
Line 126: Line 97:
  
   * Ctrl + Alt + Z   * Ctrl + Alt + Z
-  * Menu+  * F6
  
 ===== Printer ===== ===== Printer =====
Line 149: Line 120:
   * systemd-resolved caches DNS   * systemd-resolved caches DNS
   * See [[servers;upstream_dns_servers|DNS Servers]] for other addresses   * See [[servers;upstream_dns_servers|DNS Servers]] for other addresses
- 
-  resolvectl status 
  
   sudo mkdir -p '/etc/systemd/resolved.conf.d' && sudo -e '/etc/systemd/resolved.conf.d/99-dns-over-tls.conf'   sudo mkdir -p '/etc/systemd/resolved.conf.d' && sudo -e '/etc/systemd/resolved.conf.d/99-dns-over-tls.conf'
Line 157: Line 126:
 [Resolve] [Resolve]
 DNS=1.1.1.2#security.cloudflare-dns.com 1.0.0.2#security.cloudflare-dns.com 2606:4700:4700::1112#security.cloudflare-dns.com 2606:4700:4700::1002#security.cloudflare-dns.com DNS=1.1.1.2#security.cloudflare-dns.com 1.0.0.2#security.cloudflare-dns.com 2606:4700:4700::1112#security.cloudflare-dns.com 2606:4700:4700::1002#security.cloudflare-dns.com
-DNSOverTLS=yes</code>+DNSOverTLS=yes
  
-===== Terminal =====+# End</code> 
 + 
 +=== Verify === 
 + 
 +  resolvectl status
  
-  * 10-notch Transparency+  resolvectl status | grep '+DNSOverTLS'
  
 ===== GRUB ===== ===== GRUB =====
Line 174: Line 147:
 ==== Spinesnap ==== ==== Spinesnap ====
  
-  * ''GRUB_CMDLINE_LINUX=''+  * ''GRUB_CMDLINE_LINUX='' (not default)
  
   sudo -e '/etc/default/grub' && sudo update-grub   sudo -e '/etc/default/grub' && sudo update-grub
Line 180: Line 153:
 <code>GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"</code> <code>GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"</code>
  
-<code>acpi_osi='Linux' reboot='pci' nohz='off' preempt='full' iommu='pt' pci='pcie_bus_perf,realloc,pcie_scan_all,big_root_window' i915.enable_dc='0' i915.enable_fbc='0' i915.enable_psr='0' i915.enable_guc='3' ahci.mobile_lpm_policy='1' nvme_core.default_ps_max_latency_us='0' pcie_aspm='off' snd_hda_intel.power_save='0' usbcore.autosuspend='-1' rootflags='data=writeback'</code>+<code>GRUB_CMDLINE_LINUX="x"</code> 
 + 
 +<code>acpi_osi='Linux' reboot='pci' nohz='off' preempt='full' iommu='pt' pci='nocrs,pcie_bus_perf,realloc,pcie_scan_all,big_root_window' i915.enable_fbc='0' i915.enable_psr='0' i915.enable_guc='3' i915.guc_log_level='0' nvme.noacpi='1' nowatchdog modprobe.blacklist='iTCO_wdt' tsc='nowatchdog' ahci.mobile_lpm_policy='1' iwlmvm.power_scheme='1' nvme_core.default_ps_max_latency_us='0' pcie_aspm='off' pcie_port_pm='off' snd_hda_intel.power_save='0' usbcore.autosuspend='-1' rootflags='data=writeback'</code>
  
 ===== GNOME ===== ===== GNOME =====
Line 190: Line 165:
  
 ==== Disable Wayland ==== ==== Disable Wayland ====
- 
-  * 2024/12/23: Xorg still preferred over Wayland on GNOME 47 ((laggy mouse for period after log-in)) 
  
   cat '/etc/gdm3/custom.conf' | grep '#WaylandEnable' > '/dev/null' && sudo sed -i 's/'#WaylandEnable=false'/'WaylandEnable=false'/g' '/etc/gdm3/custom.conf' && cat '/etc/gdm3/custom.conf' | grep 'WaylandEnable=false'   cat '/etc/gdm3/custom.conf' | grep '#WaylandEnable' > '/dev/null' && sudo sed -i 's/'#WaylandEnable=false'/'WaylandEnable=false'/g' '/etc/gdm3/custom.conf' && cat '/etc/gdm3/custom.conf' | grep 'WaylandEnable=false'
Line 211: Line 184:
  
 ==== Tweaks ==== ==== Tweaks ====
- 
-  * TODO: ''gl'' vs ''vulkan'' 
  
   sudo -e '/etc/profile.d/99-tweaks.sh'   sudo -e '/etc/profile.d/99-tweaks.sh'
Line 219: Line 190:
 # Clutter # Clutter
 export CLUTTER_PAINT='disable-dynamic-max-render-time' export CLUTTER_PAINT='disable-dynamic-max-render-time'
 +export CLUTTER_VBLANK='none'
 +
 +# Mutter
 +export MUTTER_DEBUG_FORCE_KMS_MODE='simple'
  
 # GTK # GTK
Line 224: Line 199:
  
 # Mesa # Mesa
-export MESA_DISK_CACHE_SINGLE_FILE='1' +export mesa_glthread='false'
-export MESA_DISK_CACHE_DATABASE='1' +
-export MESA_DISK_CACHE_COMBINE_RW_WITH_RO_FOZ='1'+
  
 # End</code> # End</code>
Line 335: Line 308:
  
   * Startup Applications GUI   * Startup Applications GUI
-  * ''HDMI-1'' = ''modesetting'' 
  
 <code>Full RGB HDMI</code> <code>Full RGB HDMI</code>
  
-<code>bash -c "xrandr --output 'HDMI-1' --set 'Broadcast RGB' 'Full' & xrandr --output 'HDMI-1' --set 'content type' 'Game'"</code>+<code>bash -c "xrandr --output 'HDMI-1' --set 'Broadcast RGB' 'Full' & xrandr --output 'HDMI-1' --set 'content type' 'Game' & xrandr --output 'HDMI-1' --set 'Colorspace' 'opRGB'"</code>
  
 ==== Xorg ==== ==== Xorg ====
C:/www/wiki/data/attic/linux/distros/ubuntu.1735159688.txt.gz · Last modified: by Sean Rhone