distros:ubuntu_desktop
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
distros:ubuntu_desktop [2019/11/17 14:54] – Sean Rhone | distros:ubuntu_desktop [2022/06/08 21:48] – Modernize (partial) Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Information ====== | ====== Information ====== | ||
- | * Ubuntu ((https://www.ubuntu.com/desktop)) | + | * Ubuntu ((https:// |
- | * 19.10 | + | * Desktop ((https:// |
- | + | * 22.04 LTS | |
- | ====== Known Issues ====== | + | |
- | + | ||
- | * None | + | |
====== Download ====== | ====== Download ====== | ||
- | * https://www.ubuntu.com/ | + | * https:// |
- | + | ||
- | ====== Installation Notes ====== | + | |
- | + | ||
- | * '' | + | |
- | * Minimal installation | + | |
====== HOSTS ====== | ====== HOSTS ====== | ||
* https:// | * https:// | ||
- | * Using '' | + | * Unified hosts + fakenews + gambling |
- | | + | wget -O '/tmp/hosts-tmp' ' |
cat '/ | cat '/ | ||
Line 28: | Line 20: | ||
sudo -e '/ | sudo -e '/ | ||
- | ====== Repositories ====== | + | ===== Restore |
- | ===== ckb-next ===== | + | **** |
- | | + | |
- | sudo add-apt-repository ' | + | ====== Repositories ====== |
- | ===== padoka PPA ===== | + | ===== Keybase |
- | * Unstable/bleeding-edge PPA | + | * https:// |
+ | * https:// | ||
+ | * :!: This is only the signing key at the moment | ||
- | | + | |
- | * https://wordpress.padoka.org | + | |
- | sudo add-apt-repository ' | + | ===== ROCm ===== |
- | ===== Wine ===== | + | * https:// |
+ | * https:// | ||
- | | + | |
+ | |||
+ | ===== WineHQ ===== | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
- | * https:// | + | * https:// |
- | + | ||
- | wget -O '/ | + | |
- | + | ||
- | ===== Lutris ===== | + | |
- | + | ||
- | * :!: TODO: Update for 19.10 | + | |
- | + | ||
- | * https:// | + | |
- | * http:// | + | |
- | wget -O '/tmp/lutris-gpg.key' 'http://download.opensuse.org/repositories/home:/ | + | wget -O '/tmp/winehq.key' 'https://dl.winehq.org/wine-builds/winehq.key' && sudo mv '/tmp/winehq.key' '/ |
====== Software ====== | ====== Software ====== | ||
Line 78: | Line 65: | ||
**** | **** | ||
- | sudo fwupdmgr refresh && sudo fwupdmgr update --verbose | + | sudo fwupdmgr refresh |
==== Snaps ==== | ==== Snaps ==== | ||
Line 84: | Line 71: | ||
**** | **** | ||
- | sudo snap refresh | + | sudo snap refresh |
===== General ===== | ===== General ===== | ||
Line 90: | Line 77: | ||
**** | **** | ||
- | sudo apt install evolution filezilla gimp keepassxc | + | sudo apt install evolution filezilla gimp keepassxc |
- | ===== wl ===== | + | ===== ckb-next |
- | * For a MacBook Pro with '' | + | * https:// |
- | | + | |
- | ===== OpenVPN | + | ===== ROCm ===== |
- | **** | + | |
- | | + | |
- | ===== VA-API | + | ===== Steam ===== |
- | gstreamer1.0-vaapi | + | **** |
- | | + | |
- | ===== ckb-next | + | ===== Wine ===== |
- | **** | + | |
- | | + | |
===== Keybase ===== | ===== Keybase ===== | ||
* https:// | * https:// | ||
+ | * :!: This needs ran as a separate command and not combined with the above package installations | ||
- | wget -O '/ | + | |
- | + | ||
- | ===== Wine ===== | + | |
- | + | ||
- | winetricks exe-thumbnailer winbind | + | |
- | + | ||
- | winehq-staging | + | |
- | + | ||
- | wine-d3d9-staging | + | |
- | + | ||
- | ===== Lutris ===== | + | |
- | + | ||
- | * Even if using Lutris' | + | |
- | + | ||
- | winehq-staging lutris | + | |
===== Tor Browser ===== | ===== Tor Browser ===== | ||
Line 144: | Line 118: | ||
===== Google Chrome ===== | ===== Google Chrome ===== | ||
- | **** | + | |
wget -O '/ | wget -O '/ | ||
Line 154: | Line 128: | ||
bash -c " | bash -c " | ||
- | gnome-terminal --command "sudo sh -c 'apt update && apt full-upgrade -y && apt clean && apt autoremove -y && sync && fwupdmgr refresh && fwupdmgr update --verbose | + | gnome-terminal --command "sudo sh -c 'apt update && apt full-upgrade -y && apt clean && apt autoremove -y && sync && snap refresh && wget -O '/ |
+ | |||
+ | ==== Miner ==== | ||
+ | |||
+ | * See [[mining: | ||
+ | |||
+ | gnome-terminal -- sh -c ~/' | ||
+ | |||
+ | gnome-terminal -- sh -c ~/' | ||
==== Keys ==== | ==== Keys ==== | ||
Line 161: | Line 143: | ||
* Ctrl + Alt + Z | * Ctrl + Alt + Z | ||
- | * Pause or F7 | + | * Pause or Launch1 |
+ | * F6 | ||
+ | * F8 | ||
===== Printer ===== | ===== Printer ===== | ||
- | |||
- | * :!: TODO: All 4 of the 8710 models have the same exact name... | ||
* http:// | * http:// | ||
- | * Output Mode: Black Only Grayscale | + | * Internet Printing Protocol (ipps) -> HP -> IPP Everywhere ™ |
- | * Print Quality: High-Resolution Photo | + | * Color Mode: Device Gray |
* Administration -> Set As Server Default | * Administration -> Set As Server Default | ||
- | | + | |
===== gedit ===== | ===== gedit ===== | ||
Line 182: | Line 164: | ||
===== Network ===== | ===== Network ===== | ||
- | ==== DNS ==== | + | ==== 1.1.1.1 |
- | === UncensoredDNS === | + | * https:// |
+ | * See [[notes: | ||
- | * https:// | + | < |
- | 89.233.43.71, | + | < |
- | + | ||
- | 2a01:3a0:53:53::,2001:67c:28a4:: | + | |
- | + | ||
- | === OpenNIC Anycast === | + | |
- | + | ||
- | * https:// | + | |
- | + | ||
- | 185.121.177.177, | + | |
- | + | ||
- | 2a05: | + | |
- | + | ||
- | ==== VPN.AC ==== | + | |
- | + | ||
- | * See [[information: | + | |
- | * :!: If using this VPN, disable IPv6 from NetworkManager | + | |
===== Nautilus ===== | ===== Nautilus ===== | ||
- | * Sort folders before files | + | * Sort Folders Before Files |
- | * 4096 MB File Previews | + | |
===== Rhythmbox ===== | ===== Rhythmbox ===== | ||
Line 218: | Line 185: | ||
* 10-notch Transparency | * 10-notch Transparency | ||
- | ===== Transmission | + | ===== GRUB ===== |
- | * Blocklist | + | ==== Config ==== |
- | | + | |
- | ===== GRUB ===== | + | sudo -e '/ |
- | **** | + | ==== AMD Memory Encryption ==== |
- | | + | |
+ | * https:// | ||
+ | * :!: Either enable it through the OS, or enable TSME from the firmware, not both | ||
+ | * :!: Memory encryption enabled here may have issues with IOMMU, but TSME may be fine | ||
- | ==== Old Parameters ==== | + | mem_encrypt=on |
- | | + | |
- | ==== GRUB ==== | + | ==== AMDGPU |
- | **** | + | === Power === |
- | | + | |
- | ==== AIO ==== | + | amdgpu.ppfeaturemask=0xffffffff |
- | === Spinesnap === | + | cat '/ |
- | * Last updated: 2019/10/22 | + | === Other === |
- | | + | |
+ | * :!: '' | ||
- | ==== i915 ==== | + | amdgpu.mes=1 |
- | | + | |
- | | + | |
- | ==== amdgpu | + | ==== EDID ==== |
- | * Allows use of Overdrive options for overclocking | + | * :!: TODO |
- | | + | |
- | === Test === | + | ==== IOMMU ==== |
**** | **** | ||
- | | + | |
- | === Verify | + | ==== NVMe ==== |
- | **** | + | |
- | | + | |
- | ==== PCI ==== | + | dmesg | grep ' |
- | **** | + | cat '/ |
- | pci=nocrs, | + | ==== Intel Optimization ==== |
- | ==== IOMMU ==== | + | * This enables Framebuffer compression, |
+ | |||
+ | i915.enable_fbc=1 i915.enable_psr=1 i915.fastboot=1 | ||
+ | |||
+ | ==== Coreboot ==== | ||
+ | |||
+ | * This is needed to relax permissions for Coreboot firmware to be flashed internally | ||
+ | * :!: This should be removed after flashing | ||
+ | |||
+ | iomem=relaxed | ||
+ | |||
+ | ==== NVIDIA GSP ==== | ||
- | * :!: This may cause DMAR issues | + | |
+ | * Allows loading of GSP firmware | ||
+ | | ||
+ | * :!: This has not been tested with https:// | ||
- | | + | |
===== GNOME ===== | ===== GNOME ===== | ||
- | ==== Disable Wayland | + | ==== Hide Top Bar ==== |
- | | + | |
- | sudo -e '/ | + | ==== Disable Wayland ==== |
- | ==== Root GUI Apps in Wayland ==== | + | * :!: ckb-next auto light shutoff requires Xorg |
+ | * :!: GPU scaling for resolution requires Xorg | ||
+ | * :!: Setting '' | ||
- | | + | |
- | * This needs re-ran after session restart | + | |
- | * TODO: Is this even needed anymore? | + | |
- | | + | |
==== Settings ==== | ==== Settings ==== | ||
Line 304: | Line 289: | ||
=== All-in-one === | === All-in-one === | ||
- | * Last updated: | + | * Last updated: |
- | gsettings set ' | + | |
=== Individual === | === Individual === | ||
- | * Last updated: | + | * Last updated: |
+ | |||
+ | gsettings reset ' | ||
gsettings set ' | gsettings set ' | ||
Line 331: | Line 318: | ||
gsettings set ' | gsettings set ' | ||
+ | |||
+ | gsettings set ' | ||
+ | |||
+ | ===== Hostname ===== | ||
+ | |||
+ | * Change '' | ||
+ | |||
+ | hostnamectl set-hostname ' | ||
+ | |||
+ | ===== Keybase ===== | ||
+ | |||
+ | * :!: Run after initial install | ||
+ | |||
+ | run_keybase | ||
===== KeePassXC ===== | ===== KeePassXC ===== | ||
Line 337: | Line 338: | ||
* General -> [ ] Load previous databases on startup | * General -> [ ] Load previous databases on startup | ||
+ | * Security -> [x] Use DuckDuckGo service to download website icons | ||
==== Add Database Password to GNOME Keyring ==== | ==== Add Database Password to GNOME Keyring ==== | ||
Line 344: | Line 346: | ||
secret-tool store --label=' | secret-tool store --label=' | ||
- | ===== mpv ===== | + | ===== lm_sensors |
- | | + | **** |
- | | + | |
- | ===== NetworkManager | + | ===== mpv ===== |
- | * '' | + | * [[https://wiki.archlinux.org/index.php/mpv# |
- | * :!: '' | + | |
- | * '' | + | |
- | | + | |
< | < | ||
- | [device-mac-randomization] | + | profile=gpu-hq |
- | wifi.scan-rand-mac-address=yes | + | scale=ewa_lanczossharp |
- | + | cscale=ewa_lanczossharp | |
- | [connection-mac-randomization] | + | video-sync=display-resample |
- | ethernet.cloned-mac-address=random | + | interpolation |
- | wifi.cloned-mac-address=random | + | tscale=oversample</ |
- | + | ||
- | [connection] | + | |
- | wifi.powersave=2</ | + | |
===== Laptop Power Management ===== | ===== Laptop Power Management ===== | ||
Line 375: | Line 372: | ||
===== Secure Shell ===== | ===== Secure Shell ===== | ||
- | * See [[Clients:Secure Shell|Secure Shell]] | + | * See [[clients:secure_shell|Client]] notes to generate/ |
- | ===== Solo Key ===== | + | ===== Drive Maintenance |
- | ==== Information | + | ==== Trim ==== |
- | + | ||
- | * https:// | + | |
- | * Usable as authentication for GDM and '' | + | |
- | + | ||
- | ==== PAM ==== | + | |
- | + | ||
- | === Dependencies | + | |
**** | **** | ||
- | sudo dnf install pamu2fcfg pam-u2f | + | sudo systemctl enable ' |
- | === Centralized Key === | + | ==== XFS Scrub ==== |
- | **** | + | |
+ | | ||
- | | + | |
- | === GDM === | + | ===== UTC ===== |
- | * Add to line 2, under the '' | + | * [[https:// |
+ | * Set RTC to UTC | ||
+ | * :!: Needed if Windows is installed first | ||
+ | * :!: Windows should also be set to UTC | ||
- | sudo -e '/ | + | sudo timedatectl set-local-rtc '0' |
- | auth sufficient pam_u2f.so authfile=/ | + | ==== Verify |
- | + | ||
- | === sudo === | + | |
- | + | ||
- | * Add to line 2, under the ''# | + | |
- | + | ||
- | sudo -e '/ | + | |
- | + | ||
- | auth sufficient pam_u2f.so authfile=/ | + | |
- | + | ||
- | ===== systemd ===== | + | |
- | + | ||
- | * Log data is stored in volatile storage | + | |
- | * Max log file sizes of '' | + | |
- | + | ||
- | sudo mkdir -p '/ | + | |
- | + | ||
- | ===== Uncomplicated Firewall ===== | + | |
- | + | ||
- | ==== General | + | |
**** | **** | ||
- | | + | |
- | + | ||
- | ==== SSH ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo ufw reset && sudo ufw default deny && sudo ufw logging off && sudo ufw allow ' | + | |
- | + | ||
- | ===== TRIM ===== | + | |
- | + | ||
- | * ''/ | + | |
- | + | ||
- | sudo systemctl enable ' | + | |
===== Wine ===== | ===== Wine ===== | ||
Line 445: | Line 408: | ||
* See [[notes: | * See [[notes: | ||
- | ====== | + | ====== |
- | ===== Nightwane ===== | + | * See [[notes: |
+ | * :!: GNOME for several versions now including 42 makes the screen color too warm; the fix is to disable color calibration for screens in GNOME settings | ||
- | ==== Volume | + | ====== Mozilla Firefox ====== |
- | * https:// | + | * See [[notes:firefox|Firefox]] if old configuration |
- | * TODO: Change where this is; no longer have this computer | + | |
- | alsamixer --card=' | + | ===== DNS over HTTPS ===== |
- | ==== Fan Control ==== | + | * [[https:// |
- | | + | |
- | sudo apt install lm-sensors fancontrol && sudo sensors-detect --auto | + | ====== Server ====== |
- | ==== Custom Resolution ==== | + | * For workstations that run servers as a secondary directive |
+ | * For headless servers, use [[distros: | ||
- | === Generate Modeline | + | ===== Enable SSH ===== |
- | | + | **** |
- | | + | |
- | | + | |
- | | + | |
- | * :!: This expects '' | + | |
- | | + | |
- | === xorg.conf Snippet | + | ===== Automatic Updates ===== |
- | * :!: '' | + | ==== Service ==== |
- | sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf' | + | sudo -e '/etc/systemd/system/fedora-up.service' |
< | < | ||
- | Section " | + | [Service] |
- | | + | Type=oneshot |
- | | + | ExecStartPre='/ |
- | | + | ExecStart='/ |
- | EndSection</ | + | ExecStart='/ |
+ | ExecStartPost='/ | ||
+ | ExecStartPost='/ | ||
- | ===== Spinesnap | + | ===== Timer ===== |
- | * :!: Using an AMD eGPU with a display attached doesn' | + | * 03:00 Oak |
- | * TODO: If '' | + | |
- | sudo apt install xserver-xorg-video-intel xserver-xorg-video-amdgpu -y && sudo mkdir -p '/etc/X11/xorg.conf.d' && sudo -e '/ | + | sudo -e '/etc/systemd/system/ |
< | < | ||
- | Section " | + | [Unit] |
- | | + | Description=Software Package Maintenance and Updater |
- | Modeline " | + | After=network-online.target |
- | Option | + | Wants=network-online.target |
- | EndSection | + | |
- | Section " | + | [Timer] |
- | | + | OnCalendar=*-*-* 03:00:00 |
- | | + | Persistent=true |
- | Driver | + | |
- | Option | + | |
- | Option | + | |
- | EndSection | + | |
- | Section " | + | [Install] |
- | Identifier | + | WantedBy=timers.target</ |
- | MatchDriver " | + | |
- | Driver | + | |
- | Option | + | |
- | Option | + | |
- | EndSection</ | + | |
- | + | ||
- | ===== Deep Color ===== | + | |
- | + | ||
- | * The lack-of quotes around '' | + | |
- | * :!: This may cause minor issues with programs not expecting 30-bit color ((GpuTest' | + | |
- | * :!: This can cause games in Wine to not start under some circumstances ((FFXIV crashes on start-up due to a DirectX error)) | + | |
- | * There is no known benefit to enabling this as of 2019/ | + | |
- | + | ||
- | sudo mkdir -p '/ | + | |
- | + | ||
- | < | + | |
- | Section " | + | |
- | Identifier | + | |
- | DefaultDepth | + | |
- | EndSection</ | + | |
- | + | ||
- | ===== Graphics xorg.conf ===== | + | |
- | + | ||
- | ==== intel ==== | + | |
- | + | ||
- | sudo apt install ' | + | |
- | + | ||
- | < | + | |
- | Section " | + | |
- | Identifier | + | |
- | MatchDriver " | + | |
- | Driver | + | |
- | Option | + | |
- | Option | + | |
- | EndSection</ | + | |
- | + | ||
- | ==== amdgpu ==== | + | |
- | + | ||
- | sudo apt install ' | + | |
- | + | ||
- | < | + | |
- | Section " | + | |
- | Identifier | + | |
- | MatchDriver " | + | |
- | Driver | + | |
- | Option | + | |
- | Option | + | |
- | EndSection</ | + | |
- | + | ||
- | ==== radeon ==== | + | |
- | + | ||
- | * Expects pre-SI GPUs ((HD6000 series and lower, and non-SI HD7000 series)) | + | |
- | * For SI, CIK, and newer GPUs, use '' | + | |
- | * :!: This was changed to a new syntax and untested as of 2019/ | + | |
- | + | ||
- | sudo apt install ' | + | |
- | + | ||
- | < | + | |
- | Section " | + | |
- | Identifier | + | |
- | MatchDriver " | + | |
- | Driver | + | |
- | Option | + | |
- | Option | + | |
- | Option | + | |
- | Option | + | |
- | EndSection</ | + | |
- | + | ||
- | ==== Environment Variables ==== | + | |
- | + | ||
- | * Enables hardware acceleration, | + | |
- | * :!: WebRenderer requires the previous '' | + | |
- | + | ||
- | echo -e ' | + | |
- | + | ||
- | sudo -e '/ | + | |
- | + | ||
- | ==== Default Profile ==== | + | |
- | + | ||
- | rm -fv '/ | + | |
- | + | ||
- | < | + | |
- | [General] | + | |
- | StartWithLastProfile=1 | + | |
- | + | ||
- | [Profile0] | + | |
- | Name=default | + | |
- | IsRelative=1 | + | |
- | Path=CHANGEME | + | |
- | Default=1</ | + | |
- | + | ||
- | ==== user.js ==== | + | |
- | + | ||
- | * Last updated: 2019/ | + | |
- | + | ||
- | rm -fv '/ | + | |
- | + | ||
- | < | + | |
- | / | + | |
- | * General * | + | |
- | | + | |
- | + | ||
- | user_pref(" | + | |
- | user_pref(" | + | |
- | + | ||
- | user_pref(" | + | |
- | user_pref(" | + | |
- | user_pref(" | + | |
- | + | ||
- | user_pref(" | + | |
- | user_pref(" | + | |
- | user_pref(" | + | |
- | user_pref(" | + | |
- | user_pref(" | + | |
- | + | ||
- | /******* | + | |
- | * U2F * | + | |
- | | + | |
- | + | ||
- | user_pref(" | + | |
- | + | ||
- | /******* | + | |
- | * END * | + | |
- | | + | |
- | + | ||
- | === VPN === | + | |
- | + | ||
- | * :!: Add if using a VPN in order to prevent local IP address leaking | + | |
- | * :!: IPv6 is disabled in order to prevent WebRTC from grabbing an IPv6 address even though NetworkManager has it disabled... | + | |
- | * :!: '' | + | |
- | + | ||
- | < | + | |
- | / | + | |
- | * Privacy * | + | |
- | | + | |
- | + | ||
- | user_pref(" | + | |
- | user_pref(" | + | |
- | + | ||
- | ==== Apply Settings ==== | + | |
- | + | ||
- | * '' | + | |
- | * :!: If Firefox doesn' | + | |
- | + | ||
- | ls '/ | + | |
- | + | ||
- | ===== Extensions ===== | + | |
- | + | ||
- | ==== Download ==== | + | |
- | + | ||
- | * Decentraleyes | + | |
- | * HTTPS Everywhere | + | |
- | * Privacy Possum | + | |
- | * Cookie AutoDelete | + | |
- | * uBlock Origin | + | |
- | + | ||
- | gio open ' | + | |
- | + | ||
- | ==== Cookie AutoDelete ==== | + | |
- | + | ||
- | * [x] Enable Automatic Cleaning? Delay Before Cleaning | + | |
- | * [x] Enable Cleanup on Domain Change | + | |
- | * [ ] Enable Cleanup Log and Counter | + | |
- | * [ ] Show Notification After Cookie Cleanup | + | |
- | * [x] Clean Cookies from Open Tabs on Startup | + | |
- | * [x] Localstorage Cleanup (Firefox 58+) | + | |
- | + | ||
- | ==== uBlock Origin ==== | + | |
- | + | ||
- | === Settings === | + | |
- | + | ||
- | * [x] Prevent WebRTC from leaking local IP addresses | + | |
- | + | ||
- | === Filter lists === | + | |
- | + | ||
- | * [ ] Ads -> EasyList ((uncheck; included in '' | + | |
- | * [ ] Privacy -> EasyPrivacy ((uncheck; included in '' | + | |
- | + | ||
- | * Multipurpose -> [x] Dan Pollock' | + | |
- | * Multipurpose -> [x] hpHost' | + | |
- | * Multipurpose -> [x] MVPS HOSTS | + | |
- | + | ||
- | * Custom -> [x] Import | + | |
- | + | ||
- | === Custom 3rd-party filters === | + | |
- | + | ||
- | * Last updated: 2018/ | + | |
- | + | ||
- | < | + | |
- | https:// | + | |
- | https:// | + | |
- | https:// | + | |
- | https:// | + | |
- | https:// | + | |
- | https:// | + | |
- | https:// | + | |
- | + | ||
- | ===== Testing Sites ===== | + | |
- | + | ||
- | * https:// | + | |
- | * https:// | + | |
- | * https:// | + | |
- | * https:// | + | |
- | * https:// | + | |
====== Notable Folders and Commands ====== | ====== Notable Folders and Commands ====== | ||
Line 724: | Line 476: | ||
* No space after the '' | * No space after the '' | ||
* This is primarily useful for copying Windows ISO images to a FAT32 flash drive | * This is primarily useful for copying Windows ISO images to a FAT32 flash drive | ||
- | |||
- | sudo apt install ' | ||
7z x -o' | 7z x -o' | ||
- | 7z x -o'/ | + | 7z x -o'/ |
===== youtube-dl ===== | ===== youtube-dl ===== | ||
Line 778: | Line 528: | ||
~/ | ~/ | ||
- | ===== Repos ===== | + | ===== Anaconda Module Blacklists |
- | nano '/etc/apt/sources.list' | + | **** |
+ | |||
+ | sudo -e '/etc/modprobe.d/anaconda-blacklist.conf' | ||
+ | |||
+ | ===== YUM/DNF Repos ===== | ||
+ | |||
+ | **** | ||
- | | + | |
- | ==== Keys ===== | + | ===== DNF History |
- | === Check Keys === | + | ==== Transaction IDs ==== |
**** | **** | ||
- | sudo apt-key list | + | sudo dnf history |
- | === Remove Keys === | + | ==== Undo ==== |
- | * '' | + | * Change |
- | sudo apt-key del x | + | sudo dnf history undo x |
+ | |||
+ | ===== GPG Keys ===== | ||
+ | |||
+ | ==== Check Keys ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | rpm -q gpg-pubkey --qf ' | ||
+ | |||
+ | ==== Remove Keys ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo rpm -e x | ||
+ | |||
+ | ===== DNF Autoremove Fix ===== | ||
+ | |||
+ | * Removes the initially-installed kernel in order to fix '' | ||
+ | * :!: This will vary depending on the Fedora image version used | ||
+ | |||
+ | sudo dnf list --installed ' | ||
+ | |||
+ | sudo dnf remove *5.3.7* && sync | ||
===== Re-generate Thumbnails ===== | ===== Re-generate Thumbnails ===== | ||
Line 809: | Line 588: | ||
gsettings list-recursively ' | gsettings list-recursively ' | ||
+ | |||
+ | ===== GNOME App Grid Reset ===== | ||
+ | |||
+ | * [[https:// | ||
+ | |||
+ | gsettings reset ' | ||
===== GNOME Software Maintenance ===== | ===== GNOME Software Maintenance ===== | ||
Line 821: | Line 606: | ||
sudo fstrim --verbose --all | sudo fstrim --verbose --all | ||
+ | |||
+ | ===== SELinux Re-label ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo touch '/ | ||
===== GNOME Monitors Reset ===== | ===== GNOME Monitors Reset ===== | ||
Line 838: | Line 629: | ||
journalctl -e _COMM=' | journalctl -e _COMM=' | ||
- | gio open ~/' | + | gio open ~/' |
===== Verify DRI3 ===== | ===== Verify DRI3 ===== | ||
Line 861: | Line 652: | ||
/fullscreen /benchmark / | /fullscreen /benchmark / | ||
+ | |||
+ | == NVIDIA Optimus == | ||
+ | |||
+ | **** | ||
+ | |||
+ | wget -O '/ | ||
=== FHD === | === FHD === | ||
Line 887: | Line 684: | ||
rm -Rf '/ | rm -Rf '/ | ||
+ | |||
+ | ===== Show Sensors ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo dnf install ' | ||
===== Show CPU Frequency ===== | ===== Show CPU Frequency ===== | ||
Line 892: | Line 695: | ||
grep ' | grep ' | ||
- | watch -n 0.1 grep \'cpu MHz\' '/ | + | watch --interval '0.5' |
===== OpenSSL Supported Ciphers ===== | ===== OpenSSL Supported Ciphers ===== | ||
Line 902: | Line 705: | ||
===== Partition Information ===== | ===== Partition Information ===== | ||
- | * Both commands | + | * Both commands |
df -hT | df -hT | ||
Line 920: | Line 723: | ||
==== Preparation ==== | ==== Preparation ==== | ||
- | sudo apt install ' | + | sudo dnf install ' |
sudo hdparm -I '/ | sudo hdparm -I '/ | ||
- | systemctl suspend | + | |
==== ATA Secure Erase ==== | ==== ATA Secure Erase ==== | ||
- | | + | < |
- | | + | < |
- | ==== Quick-commands ==== | + | < |
- | === Standard | + | ===== NVMe Erase ===== |
- | * Performs both '' | + | * NVMe Erase from the start page lands here and I usually use a Ubuntu LiveUSB to do this, hence the '' |
- | * [[# | + | |
- | sudo hdparm --user-master u --security-set-pass | + | sudo apt install |
- | === Mac === | + | |
- | + | ||
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | * Clears EFI variables | + | |
- | * :!: Unknown how this works on newer Macs with T2 | + | |
- | + | ||
- | | + | |
- | + | ||
- | === Dell === | + | |
- | + | ||
- | * Performs both '' | + | |
- | * [[# | + | |
- | + | ||
- | sudo hdparm --user-master u --security-erase ' | + | |
- | + | ||
- | === Spinesnap === | + | |
- | + | ||
- | * Last updated: 2019/ | + | |
- | + | ||
- | * Installs '' | + | |
- | * '' | + | |
- | * Uses '' | + | |
- | * [[# | + | |
- | + | ||
- | sudo apt install ' | + | |
- | + | ||
- | ===== NVMe Erase ===== | + | |
- | + | ||
- | sudo apt install ' | + | |
sudo nvme format '/ | sudo nvme format '/ | ||
Line 986: | Line 758: | ||
==== Controller Details ==== | ==== Controller Details ==== | ||
- | | + | |
sudo mdadm --detail-platform | sudo mdadm --detail-platform | ||
Line 1005: | Line 777: | ||
* In '' | * In '' | ||
- | * TODO: Fix for Ubuntu | ||
sudo dnf install ' | sudo dnf install ' | ||
Line 1019: | Line 790: | ||
===== Display EDID Info ===== | ===== Display EDID Info ===== | ||
- | * https://askubuntu.com/a/371269 | + | * https://unix.stackexchange.com/a/114398 |
- | sudo apt install 'read-edid' | + | sudo dnf install 'monitor-edid' |
- | | + | |
===== Custom Resolutions ===== | ===== Custom Resolutions ===== | ||
Line 1057: | Line 828: | ||
==== Permanently Apply ==== | ==== Permanently Apply ==== | ||
- | * '' | + | * '' |
* '' | * '' | ||
* '' | * '' | ||
Line 1114: | Line 885: | ||
sudo cat '/ | sudo cat '/ | ||
- | ===== Hyper-threading | + | ===== HT/ |
**** | **** | ||
Line 1136: | Line 907: | ||
===== Create 7z Password Archive ===== | ===== Create 7z Password Archive ===== | ||
- | * Change '' | + | * Change '' |
- | * Change '' | + | * Change '' |
+ | * Change '' | ||
- | | + | |
- | 7za a ' | + | 7za a ' |
===== oathtool ===== | ===== oathtool ===== | ||
Line 1147: | Line 919: | ||
* '' | * '' | ||
- | sudo apt install ' | + | sudo dnf install ' |
oathtool --totp -b ' | oathtool --totp -b ' | ||
Line 1153: | Line 925: | ||
===== Remove EXIF data ===== | ===== Remove EXIF data ===== | ||
- | sudo apt install 'libimage-exiftool-perl' | + | sudo dnf install 'perl-Image-ExifTool' |
exiftool -all= *.* -overwrite_original | exiftool -all= *.* -overwrite_original | ||
+ |
/var/www/wiki/data/pages/distros/ubuntu_desktop.txt · Last modified: 2024/02/06 16:34 by Sean Rhone