distros:ubuntu_desktop
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
distros:ubuntu_desktop [2023/05/28 15:38] – Sean Rhone | distros:ubuntu_desktop [2024/08/13 16:54] (current) – removed Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Information ====== | ||
- | |||
- | * Ubuntu ((https:// | ||
- | * Desktop ((https:// | ||
- | * 23.04 | ||
- | |||
- | ====== Download ====== | ||
- | |||
- | * https:// | ||
- | |||
- | ===== HOSTS ====== | ||
- | |||
- | * https:// | ||
- | * Unified hosts + fakenews + gambling | ||
- | |||
- | ===== Initial ===== | ||
- | |||
- | * :!: Only run this once as it overwrites ''/ | ||
- | |||
- | wget -O '/ | ||
- | |||
- | ===== Update ===== | ||
- | |||
- | **** | ||
- | |||
- | wget -O '/ | ||
- | |||
- | ===== Verify ===== | ||
- | |||
- | cat '/ | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | ===== Restore ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo cp '/ | ||
- | |||
- | ====== Repositories ====== | ||
- | |||
- | ===== Liquorix Kernel ===== | ||
- | |||
- | * https:// | ||
- | |||
- | sudo add-apt-repository ' | ||
- | |||
- | ===== Keybase ===== | ||
- | |||
- | * https:// | ||
- | * https:// | ||
- | * :!: This is only the signing key, see [[# | ||
- | |||
- | wget -O '/ | ||
- | |||
- | ===== WineHQ ===== | ||
- | |||
- | * https:// | ||
- | * https:// | ||
- | * https:// | ||
- | |||
- | sudo dpkg --add-architecture ' | ||
- | |||
- | wget -O '/ | ||
- | |||
- | ===== oibaf/ | ||
- | |||
- | * https:// | ||
- | |||
- | sudo add-apt-repository ' | ||
- | |||
- | ====== Software ====== | ||
- | |||
- | ===== Update ===== | ||
- | |||
- | ==== System ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo apt clean && sync | ||
- | |||
- | ==== Firmware ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo fwupdmgr refresh --force && sudo fwupdmgr update --verbose && sync | ||
- | |||
- | ==== Snaps ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo snap refresh && sync | ||
- | |||
- | ===== General ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo apt install --install-recommends 7zip aria2 chrome-gnome-shell evolution filezilla gimp keepassxc libreoffice libsecret-tools lm-sensors mesa-utils mpv rhythmbox transmission-gtk unar wmctrl youtube-dl | ||
- | |||
- | ===== Wine ===== | ||
- | |||
- | * https:// | ||
- | |||
- | winehq-staging winbind winetricks libgl1-mesa-dri: | ||
- | |||
- | ===== Liquorix Kernel ===== | ||
- | |||
- | **** | ||
- | |||
- | linux-image-liquorix-amd64 linux-headers-liquorix-amd64 | ||
- | |||
- | ===== Intel Media Driver for VAAPI ===== | ||
- | |||
- | * https:// | ||
- | |||
- | intel-media-va-driver-non-free | ||
- | |||
- | ===== Keybase ===== | ||
- | |||
- | * https:// | ||
- | * :!: This needs ran as a separate command and not combined with the above package installations | ||
- | |||
- | rm -Rf '/ | ||
- | |||
- | ===== Tor Browser ===== | ||
- | |||
- | **** | ||
- | |||
- | torbrowser-launcher | ||
- | |||
- | ===== Google Chrome ===== | ||
- | |||
- | **** | ||
- | |||
- | wget -O '/ | ||
- | |||
- | ===== Steam ===== | ||
- | |||
- | **** | ||
- | |||
- | wget -O '/ | ||
- | |||
- | ====== Settings ====== | ||
- | |||
- | ===== Keyboard Shortcuts ===== | ||
- | |||
- | * '' | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | |||
- | ==== KeePassXC Auto-Type Fix ==== | ||
- | |||
- | * :!: 2023/04/29: '' | ||
- | |||
- | < | ||
- | |||
- | ==== Keys ==== | ||
- | |||
- | * Listed respectively to above | ||
- | |||
- | * Ctrl + Alt + Z | ||
- | * Menu | ||
- | * F6 | ||
- | |||
- | ===== Printer ===== | ||
- | |||
- | * http:// | ||
- | |||
- | * Internet Printing Protocol (ipps) -> HP -> IPP Everywhere ™ | ||
- | * Color Mode: Device Gray | ||
- | * Administration -> Set As Server Default | ||
- | |||
- | ipps:// | ||
- | |||
- | ===== Network ===== | ||
- | |||
- | ==== Google Public DNS ==== | ||
- | |||
- | * https:// | ||
- | * See [[notes: | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | |||
- | ===== Nautilus ===== | ||
- | |||
- | * Sort Folders Before Files | ||
- | |||
- | ===== Rhythmbox ===== | ||
- | |||
- | * See [[Information: | ||
- | |||
- | ===== Terminal ===== | ||
- | |||
- | * 10-notch Transparency | ||
- | |||
- | ===== Kernel Options ===== | ||
- | |||
- | ==== Intel Perf Counters ==== | ||
- | |||
- | * https:// | ||
- | |||
- | === i915 Early-load === | ||
- | |||
- | * https:// | ||
- | |||
- | echo ' | ||
- | |||
- | sudo update-initramfs -k ' | ||
- | |||
- | === sysctl === | ||
- | |||
- | **** | ||
- | |||
- | echo ' | ||
- | |||
- | == Verify == | ||
- | |||
- | **** | ||
- | |||
- | sysctl ' | ||
- | |||
- | ==== Swappiness ==== | ||
- | |||
- | **** | ||
- | |||
- | echo ' | ||
- | |||
- | === Verify === | ||
- | |||
- | sysctl ' | ||
- | |||
- | cat '/ | ||
- | |||
- | ==== TCP Fast Open ==== | ||
- | |||
- | * https:// | ||
- | |||
- | echo ' | ||
- | |||
- | === Verify === | ||
- | |||
- | sysctl ' | ||
- | |||
- | cat '/ | ||
- | |||
- | ===== GRUB ===== | ||
- | |||
- | ==== Config ==== | ||
- | |||
- | * :!: [[notes: | ||
- | * Add options in '' | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | ==== Linux OSI ==== | ||
- | |||
- | **** | ||
- | |||
- | acpi_osi=Linux | ||
- | |||
- | ==== PCI ==== | ||
- | |||
- | **** | ||
- | |||
- | pci=pcie_bus_perf, | ||
- | |||
- | ==== Intel Optimization ==== | ||
- | |||
- | * This enables Framebuffer compression, | ||
- | * This also enables GuC and HuC firmware loading if supported by the hardware | ||
- | |||
- | i915.enable_fbc=1 i915.enable_psr=1 i915.fastboot=1 i915.enable_guc=3 | ||
- | |||
- | ===== GNOME ===== | ||
- | |||
- | ==== Notes ==== | ||
- | |||
- | * :!: Disable color calibration for the monitor in GNOME Settings ((GNOME for several versions now makes the screen color too warm on Xorg)) | ||
- | |||
- | ==== Hide Top Bar ==== | ||
- | |||
- | * https:// | ||
- | |||
- | * Install through Firefox, then toggle and configure from Applications -> Extensions | ||
- | |||
- | ==== External Monitor Settings ==== | ||
- | |||
- | * This copies the configured monitor settings from the current user to '' | ||
- | * Notably useful for setting a laptop' | ||
- | |||
- | sudo cp ~/' | ||
- | |||
- | === Undo === | ||
- | |||
- | **** | ||
- | |||
- | sudo rm ~gdm/' | ||
- | |||
- | ==== Wayland ==== | ||
- | |||
- | * :!: ckb-next auto light shutoff requires Xorg | ||
- | * :!: GPU scaling for non-native resolutions requires Xorg | ||
- | * :!: Steam and various games through Wine work better on Xorg | ||
- | * Xorg can be selected at log-in ((there used to be notes here on disabling Wayland on the log-in screen with GDM config)) | ||
- | |||
- | ==== Tweaks ==== | ||
- | |||
- | * [[https:// | ||
- | * [[notes: | ||
- | * :!: 2023/05/17: '' | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | # Mutter | ||
- | export MUTTER_DEBUG_ENABLE_ATOMIC_KMS=' | ||
- | export MUTTER_DEBUG_FORCE_KMS_MODE=' | ||
- | |||
- | # Clutter | ||
- | export CLUTTER_PAINT=' | ||
- | |||
- | # Mesa | ||
- | export MESA_DISK_CACHE_SINGLE_FILE=' | ||
- | export MESA_DISK_CACHE_DATABASE=' | ||
- | export VAAPI_MPEG4_ENABLED=' | ||
- | export mesa_glthread=' | ||
- | export MESA_NO_ERROR=' | ||
- | |||
- | # Intel | ||
- | export ANV_GPL=' | ||
- | export ANV_MESH_SHADER=' | ||
- | export INTEL_COMPUTE_CLASS=' | ||
- | export RUSTICL_ENABLE=' | ||
- | export MESA_GL_VERSION_OVERRIDE=' | ||
- | |||
- | # End</ | ||
- | |||
- | ==== Settings ==== | ||
- | |||
- | === All-in-one === | ||
- | |||
- | * Last updated: 2022/06/08 | ||
- | |||
- | gsettings reset ' | ||
- | |||
- | === Individual === | ||
- | |||
- | * Last updated: 2022/06/08 | ||
- | |||
- | gsettings reset ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | ===== 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=' | ||
- | |||
- | ===== lm_sensors ===== | ||
- | |||
- | * '' | ||
- | |||
- | sudo sensors-detect | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | ===== mpv ===== | ||
- | |||
- | * [[https:// | ||
- | |||
- | mkdir -p ~/' | ||
- | |||
- | < | ||
- | profile=gpu-hq | ||
- | scale=ewa_lanczossharp | ||
- | cscale=ewa_lanczossharp | ||
- | video-sync=display-resample | ||
- | interpolation | ||
- | tscale=oversample | ||
- | hwdec=vaapi | ||
- | hwdec-codecs=all</ | ||
- | |||
- | ===== Laptop Power Management ===== | ||
- | |||
- | * See [[notes: | ||
- | |||
- | ===== Secure Shell ===== | ||
- | |||
- | * See [[clients: | ||
- | |||
- | ===== Uncomplicated Firewall ===== | ||
- | |||
- | * See [[notes: | ||
- | |||
- | sudo ufw reset && sudo ufw default deny && sudo ufw logging off && sudo ufw enable && sudo systemctl enable ' | ||
- | |||
- | sudo ufw allow ' | ||
- | |||
- | ===== Drive Maintenance ===== | ||
- | |||
- | ==== Trim ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo systemctl enable ' | ||
- | |||
- | ==== XFS Scrub ==== | ||
- | |||
- | * [[https:// | ||
- | * :!: This is only necessary if XFS is being used on any persistent drives such as a NAS, and requires '' | ||
- | |||
- | sudo apt install ' | ||
- | |||
- | sudo systemctl enable ' | ||
- | |||
- | ===== UTC ===== | ||
- | |||
- | * [[https:// | ||
- | * Set RTC to UTC | ||
- | * :!: Needed if Windows is installed first | ||
- | * :!: Windows should also be set to UTC | ||
- | |||
- | sudo timedatectl set-local-rtc ' | ||
- | |||
- | ==== Verify ==== | ||
- | |||
- | **** | ||
- | |||
- | timedatectl | grep local | ||
- | |||
- | ===== Wine ===== | ||
- | |||
- | * See [[notes: | ||
- | |||
- | ====== Wayland ====== | ||
- | |||
- | ===== i915 HDMI ===== | ||
- | |||
- | * https:// | ||
- | * https:// | ||
- | * This sets RGB Full on HDMI, and the content type to '' | ||
- | * Run '' | ||
- | * :!: This will prevent GDM from displaying if '' | ||
- | * 2023/05/13: The prop value for '' | ||
- | |||
- | sudo apt install ' | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | # | ||
- | proptest -M ' | ||
- | proptest -M ' | ||
- | |||
- | ====== Xorg ====== | ||
- | |||
- | * See [[notes: | ||
- | |||
- | ====== Mozilla Firefox ====== | ||
- | |||
- | * See [[notes: | ||
- | |||
- | ===== Tweaks ===== | ||
- | |||
- | echo ' | ||
- | |||
- | echo ' | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | ===== DNS over HTTPS ===== | ||
- | |||
- | * https:// | ||
- | * See [[notes: | ||
- | |||
- | < | ||
- | |||
- | ====== Server ====== | ||
- | |||
- | * For workstations that run servers as a secondary directive | ||
- | * For headless servers, use [[distros: | ||
- | |||
- | ===== Automatic Updates ===== | ||
- | |||
- | ==== Service ==== | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | [Service] | ||
- | Type=oneshot | ||
- | ExecStartPre='/ | ||
- | ExecStart='/ | ||
- | ExecStart='/ | ||
- | ExecStart='/ | ||
- | ExecStartPost='/ | ||
- | ExecStartPost='/ | ||
- | |||
- | ===== Timer ===== | ||
- | |||
- | * 03:00 Oak | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | [Unit] | ||
- | Description=Software Package Maintenance and Updater | ||
- | After=network-online.target | ||
- | Wants=network-online.target | ||
- | |||
- | [Timer] | ||
- | OnCalendar=*-*-* 03:00:00 | ||
- | Persistent=true | ||
- | |||
- | [Install] | ||
- | WantedBy=timers.target</ | ||
- | |||
- | ====== Notable Folders and Commands ====== | ||
- | |||
- | * See [[notes: | ||
/srv/www/wiki/data/attic/distros/ubuntu_desktop.1685302719.txt.gz · Last modified: (external edit)