distros:ubuntu_desktop
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
distros:ubuntu_desktop [2019/06/03 20:37] – Sean Rhone | distros:ubuntu_desktop [2023/12/13 15:22] – [Tweaks] Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Information ====== | ====== Information ====== | ||
- | * Ubuntu ((https://www.ubuntu.com/ | + | * Ubuntu ((https://ubuntu.com/)) |
- | * 19.04 | + | * Desktop ((https://ubuntu.com/ |
+ | * 23.10 | ||
====== Download ====== | ====== Download ====== | ||
- | * https:// | + | ===== Etcher Image Writer ===== |
- | ====== Installation Notes ====== | + | * https:// |
- | | + | ===== Ubuntu ===== |
- | * Minimal installation | + | |
+ | | ||
====== HOSTS ====== | ====== HOSTS ====== | ||
* https:// | * https:// | ||
- | * Using '' | + | * Unified hosts + fakenews + gambling |
- | sudo wget -O '/ | + | ===== Initial ===== |
- | | + | |
- | sudo -e '/ | + | |
- | ====== Repositories ====== | + | ===== Update |
- | ===== Wine ===== | + | **** |
- | | + | |
- | * https:// | + | ===== Restore Backup ===== |
- | * https:// | + | |
- | * https:// | + | |
- | wget -O '/ | + | **** |
- | ===== Lutris ===== | + | ls '/ |
- | * :!: TODO: Update for 19.04 | + | ====== Repositories ====== |
- | * https:// | + | ===== Liquorix Kernel ===== |
- | * http:// | + | |
- | | + | |
- | ===== XanMod Kernel ===== | + | sudo add-apt-repository ' |
- | | + | ===== WineHQ ===== |
+ | |||
+ | | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * :!: '' | ||
- | | + | |
- | * http:// | + | |
- | wget -O '/tmp/xanmod-gpg.key' 'http://deb.xanmod.org/gpg.key' && sudo apt-key add '/tmp/xanmod-gpg.key' && echo ' | + | wget -O '/tmp/winehq.key' 'https://dl.winehq.org/wine-builds/ |
- | ===== padoka PPA ===== | + | ===== oibaf/ |
- | * https:// | + | * https:// |
- | * https:// | + | |
- | sudo add-apt-repository 'ppa:paulo-miguel-dias/ | + | sudo add-apt-repository 'ppa:oibaf/ |
====== Software ====== | ====== Software ====== | ||
Line 75: | Line 77: | ||
**** | **** | ||
- | sudo fwupdmgr refresh && sudo fwupdmgr update --verbose | + | sudo fwupdmgr refresh |
==== Snaps ==== | ==== Snaps ==== | ||
Line 81: | Line 83: | ||
**** | **** | ||
- | sudo snap refresh | + | sudo snap refresh |
===== General ===== | ===== General ===== | ||
Line 87: | Line 89: | ||
**** | **** | ||
- | sudo apt install evolution filezilla gimp keepassxc mpv transmission-gtk aria2 htop unar p7zip-full mesa-utils ffmpeg | + | sudo apt install |
- | ===== XanMod Kernel | + | ===== Wine ===== |
- | **** | + | |
- | | + | |
- | ===== numactl | + | ===== Liquorix Kernel |
**** | **** | ||
- | | + | |
- | + | ||
- | ===== VA-API ===== | + | |
- | + | ||
- | gstreamer1.0-vaapi | + | |
- | + | ||
- | i965-va-driver | + | |
- | + | ||
- | ===== Keybase ===== | + | |
- | + | ||
- | * https:// | + | |
- | + | ||
- | wget -O '/ | + | |
- | + | ||
- | ===== Wine ===== | + | |
- | + | ||
- | winetricks exe-thumbnailer winbind | + | |
- | + | ||
- | winehq-staging | + | |
- | + | ||
- | wine-d3d9-staging | + | |
- | ===== Lutris | + | ===== Intel Media Driver for VAAPI ===== |
- | * Even if using Lutris' | + | * https:// |
- | | + | |
===== Tor Browser ===== | ===== Tor Browser ===== | ||
Line 137: | Line 119: | ||
**** | **** | ||
- | wget -O '/ | + | wget -O '/ |
+ | |||
+ | ===== Steam ===== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | sudo snap install ' | ||
====== Settings ====== | ====== Settings ====== | ||
Line 143: | Line 131: | ||
===== Keyboard Shortcuts ===== | ===== Keyboard Shortcuts ===== | ||
- | | + | < |
- | | + | < |
==== Keys ==== | ==== Keys ==== | ||
Line 152: | Line 140: | ||
* Ctrl + Alt + Z | * Ctrl + Alt + Z | ||
- | * Pause or F7 | + | * Menu |
===== Printer ===== | ===== Printer ===== | ||
Line 158: | Line 146: | ||
* http:// | * http:// | ||
- | * Output Mode: Black Only Grayscale | + | * Printer name can be '' |
- | * Print Quality: High-Resolution Photo | + | * :!: AppSocket/ |
+ | * Color Mode: Device Gray | ||
* Administration -> Set As Server Default | * Administration -> Set As Server Default | ||
socket:// | socket:// | ||
- | ===== gedit ===== | + | Kole |
- | | + | |
- | * Insert Spaces for Tab mode | + | |
- | ===== Network ===== | + | ==== Info ==== |
- | ==== DNS ==== | + | * :!: '' |
+ | * With Firefox, do '' | ||
+ | * Last one is '' | ||
+ | * https:// | ||
+ | * :!: The IPP option // | ||
- | === UncensoredDNS | + | ===== Network ===== |
- | * https:// | + | * See [[notes:dns_servers]] for other servers |
- | 89.233.43.71, | + | < |
- | 2a01: | + | < |
- | === OpenNIC Anycast === | + | < |
- | + | ||
- | * https:// | + | |
- | + | ||
- | 185.121.177.177, | + | |
- | + | ||
- | 2a05:dfc7:5::53,2a05:dfc7:5::5353 | + | |
- | + | ||
- | ==== VPN.AC ==== | + | |
- | + | ||
- | * See [[information: | + | |
- | * :!: If using this VPN, disable IPv6 from NetworkManager | + | |
- | + | ||
- | ===== Nautilus ===== | + | |
- | + | ||
- | * Sort folders before files | + | |
- | * 4096 MB File Previews | + | |
===== Rhythmbox ===== | ===== Rhythmbox ===== | ||
- | * See [[Information: | + | * See [[Information: |
===== Terminal ===== | ===== Terminal ===== | ||
Line 207: | Line 183: | ||
* 10-notch Transparency | * 10-notch Transparency | ||
- | ===== GRUB ===== | + | ===== Fan Profile |
- | **** | + | |
- | sudo -e '/ | + | sudo apt install ' |
- | ==== Old Parameters | + | ===== Kernel Options ===== |
- | * See [[notes: | + | ==== Intel Perf Counters ==== |
- | ==== GRUB ==== | + | * https:// |
- | **** | + | === i915 Early-load === |
- | | + | |
- | ==== Corsair USB Quirks ==== | + | echo ' |
- | | + | |
- | usbcore.quirks=1b1c: | + | === sysctl === |
- | ==== blk_mq ==== | + | * '' |
- | **** | + | echo ' |
- | | + | |
- | ==== Reboot | + | ==== Swappiness |
- | * '' | + | * '' |
- | * '' | + | |
- | * There are other values possible should either of those not work | + | |
- | | + | |
- | | + | |
- | ==== PCIe ASPM ==== | + | ===== GRUB ===== |
- | **** | + | ==== Config ==== |
- | | + | |
+ | * Add options in '' | ||
- | ==== dyntick-idle Disable ==== | + | sudo -e '/ |
- | * KGPE-D16' | + | ==== Spinesnap ==== |
- | * Specific to Nightwane | + | |
- | | + | |
+ | * '' | ||
+ | * :!: 2023/12/13: Enable Virtualization in BIOS in order to get x2apic enabled; '' | ||
- | ==== intel_iommu ==== | + | sudo -e '/ |
- | * Specific to Spinesnap | + | < |
- | intel_iommu=on | + | ===== GNOME ===== |
- | ==== i915 ==== | + | ==== Extensions |
- | * Applicable on a Lenovo T500 ((Spinesnap)) | + | * https:// |
- | i915.enable_fbc=1 i915.fastboot=1 | + | ==== External Monitor Settings ==== |
- | ==== amdgpu ==== | + | * This copies the configured monitor settings from the current user to '' |
+ | * Notably useful for setting a laptop' | ||
- | **** | + | sudo cp ~/' |
- | amdgpu.deep_color=1 | + | === Undo === |
- | === Overdrive === | + | **** |
- | | + | |
- | amdgpu.ppfeaturemask=0xffffffff | + | ==== Tweaks ==== |
- | | + | |
- | ==== Blacklist Watchdogs ==== | + | < |
+ | # Mutter | ||
+ | export MUTTER_DEBUG_ENABLE_ATOMIC_KMS=' | ||
+ | export MUTTER_DEBUG_FORCE_KMS_MODE=' | ||
- | * '' | + | # Clutter |
- | | + | export CLUTTER_PAINT='disable-dynamic-max-render-time' |
- | * '' | + | |
- | * I don't use watchdog features and apparently this reduces power usage slightly | + | |
- | modprobe.blacklist=iTCO_wdt, | + | # Mesa |
+ | export MESA_DISK_CACHE_SINGLE_FILE=' | ||
+ | export MESA_DISK_CACHE_DATABASE=' | ||
+ | export MESA_DISK_CACHE_COMBINE_RW_WITH_RO_FOZ=' | ||
+ | export VAAPI_MPEG4_ENABLED=' | ||
- | ==== Backlight ==== | + | # End</code> |
- | + | ||
- | * https:// | + | |
- | * This prevents systemd from restoring previous backlight value on reboot | + | |
- | * This is necessary for [[# | + | |
- | + | ||
- | systemd.restore_state=0 | + | |
- | + | ||
- | ==== DRM Debug ==== | + | |
- | + | ||
- | * :!: This may make lower-end machines become very unresponsive; | + | |
- | + | ||
- | drm.debug=0xe | + | |
- | + | ||
- | ===== GNOME ===== | + | |
- | + | ||
- | ==== Disable Wayland ==== | + | |
- | + | ||
- | cat '/etc/ | + | |
- | + | ||
- | sudo -e '/ | + | |
- | + | ||
- | ==== Root GUI Apps in Wayland ==== | + | |
- | + | ||
- | * Run this before running GUI applications requiring root | + | |
- | * This needs re-ran after session restart | + | |
- | + | ||
- | xhost +LOCAL: | + | |
==== Settings ==== | ==== Settings ==== | ||
Line 326: | Line 281: | ||
=== All-in-one === | === All-in-one === | ||
- | * Last updated: | + | * Last updated: |
- | gsettings set ' | + | |
=== Individual === | === Individual === | ||
- | * Last updated: | + | * Last updated: |
+ | |||
+ | gsettings reset ' | ||
- | gsettings set ' | + | gsettings set ' |
gsettings set ' | gsettings set ' | ||
Line 352: | Line 309: | ||
gsettings set ' | gsettings set ' | ||
- | gsettings set ' | + | gsettings set ' |
+ | |||
+ | gsettings set ' | ||
+ | |||
+ | gsettings set ' | ||
===== KeePassXC ===== | ===== KeePassXC ===== | ||
Line 359: | Line 320: | ||
* 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 366: | Line 328: | ||
secret-tool store --label=' | secret-tool store --label=' | ||
- | ===== mpv ===== | + | ===== lm_sensors |
- | | + | |
- | | + | |
- | ===== NetworkManager | + | ===== mpv ===== |
- | | + | |
- | * :!: ''ethernet.cloned-mac-address=random'' | + | |
- | + | ||
- | sudo -e '/etc/ | + | |
< | < | ||
- | [device-mac-randomization] | + | save-position-on-quit |
- | wifi.scan-rand-mac-address=yes | + | sub-auto=fuzzy |
- | + | force-window=yes | |
- | [connection-mac-randomization] | + | profile=gpu-hq |
- | ethernet.cloned-mac-address=random | + | scale=ewa_lanczossharp |
- | wifi.cloned-mac-address=random | + | cscale=ewa_lanczossharp |
- | + | video-sync=display-resample | |
- | [connection] | + | interpolation |
- | wifi.powersave=2</ | + | tscale=oversample |
+ | hwdec=vaapi | ||
+ | hwdec-codecs=all</ | ||
===== Laptop Power Management ===== | ===== Laptop Power Management ===== | ||
Line 396: | Line 357: | ||
===== Secure Shell ===== | ===== Secure Shell ===== | ||
- | * See [[Clients:Secure Shell]] | + | * See [[clients:secure_shell|Client]] notes to generate/ |
- | ===== Solo Key ===== | + | ===== Uncomplicated Firewall |
- | ==== Information ==== | + | * See [[notes: |
- | | + | sudo ufw reset && sudo ufw default deny && sudo ufw logging off && sudo ufw enable && sudo systemctl enable |
- | * Usable as authentication for GDM and '' | + | |
- | ==== PAM ==== | + | sudo ufw allow ' |
- | === Dependencies | + | ===== Drive Maintenance ===== |
- | **** | + | ==== Trim ==== |
- | + | ||
- | sudo dnf install pamu2fcfg pam-u2f | + | |
- | + | ||
- | === Centralized Key === | + | |
**** | **** | ||
- | | + | |
- | === 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=/ | + | |
- | + | ||
- | ===== Swappiness ===== | + | |
- | + | ||
- | echo " | + | |
- | + | ||
- | cat '/ | + | |
- | + | ||
- | ===== 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 ===== | + | |
- | + | ||
- | ==== Swap ==== | + | |
- | + | ||
- | * Add '' | + | |
- | * According to the '' | + | |
- | + | ||
- | sudo -e '/ | + | |
- | + | ||
- | ,discard | + | |
- | + | ||
- | ==== Service ==== | + | |
- | + | ||
- | * TODO: This may already exist in cron, verify | + | |
- | + | ||
- | sudo systemctl enable ' | + | |
===== Wine ===== | ===== Wine ===== | ||
Line 483: | Line 394: | ||
* See [[notes: | * See [[notes: | ||
- | ====== Computer-specific ====== | + | ===== Wayland |
- | ===== Nightwane ===== | + | ==== Full RGB HDMI ==== |
- | ==== Volume ==== | + | * See [[notes: |
- | | + | sudo apt install |
- | + | ||
- | alsamixer --card=' | + | |
- | + | ||
- | ==== Fan Control ==== | + | |
- | + | ||
- | * Expects an ASUS KCMA-D8 motherboard | + | |
- | * If OpenBMC is figured out, this may be superseded | + | |
- | * Answer '' | + | |
- | + | ||
- | | + | |
< | < | ||
- | INTERVAL=10 | + | #!/bin/bash |
- | DEVNAME=/ | + | proptest |
- | + | proptest | |
- | FCTEMPS=/ | + | |
- | FCFANS=/ | + | |
- | + | ||
- | MINTEMP=/ | + | |
- | MAXTEMP=/ | + | |
- | + | ||
- | MINSTART=/ | + | |
- | MINSTOP=/ | + | |
- | + | ||
- | ==== Custom Resolution ==== | + | |
- | + | ||
- | === Generate Modeline === | + | |
- | + | ||
- | * 4k@60Hz CVT-RB | + | |
- | * Mostly fixes random display glitches | + | |
- | * :!: The '' | + | |
- | * :!: This cannot be used on Wayland currently | + | |
- | * :!: This expects '' | + | |
- | + | ||
- | cvt --verbose --reduced ' | + | |
- | + | ||
- | === xorg.conf Snippet === | + | |
- | + | ||
- | * :!: Change as-needed | + | |
- | + | ||
- | sudo mkdir -p '/etc/X11/ | + | |
- | + | ||
- | < | + | |
- | Section " | + | |
- | Identifier | + | |
- | Modeline " | + | |
- | Option | + | |
- | EndSection</ | + | |
- | + | ||
- | ===== Deep Color ===== | + | |
- | + | ||
- | * The lack-of quotes around | + | |
- | * :!: This may cause minor issues with programs not expecting 30-bit color ((GpuTest' | + | |
- | * :!: May cause GNOME Settings to not work depending on the version of GNOME used | + | |
- | + | ||
- | sudo mkdir -p '/etc/X11/xorg.conf.d' | + | |
- | + | ||
- | < | + | |
- | Section " | + | |
- | Identifier | + | |
- | DefaultDepth | + | |
- | EndSection</ | + | |
- | + | ||
- | ===== Graphics xorg.conf ===== | + | |
- | + | ||
- | ==== intel ==== | + | |
- | + | ||
- | sudo apt install ' | + | |
- | + | ||
- | < | + | |
- | Section " | + | |
- | Identifier | + | |
- | Driver | + | |
- | Option | + | |
- | EndSection</ | + | |
- | + | ||
- | ==== amdgpu ==== | + | |
- | + | ||
- | sudo apt install ' | + | |
- | + | ||
- | < | + | |
- | Section " | + | |
- | Identifier | + | |
- | Driver | + | |
- | Option | + | |
- | EndSection</ | + | |
- | + | ||
- | ==== radeon ==== | + | |
- | + | ||
- | * Expects pre-SI GPUs ((HD6000 series and lower, and non-SI HD7000 series)) | + | |
- | | + | |
- | + | ||
- | sudo apt install ' | + | |
- | + | ||
- | < | + | |
- | Section " | + | |
- | Identifier | + | |
- | Driver | + | |
- | Option | + | |
- | Option | + | |
- | EndSection</ | + | |
- | + | ||
- | ==== Other ==== | + | |
- | + | ||
- | * If using Optimus or some other multi-GPU set-up with different GPU vendors and/or drivers, add the '' | + | |
- | * TODO: How to get the '' | + | |
- | + | ||
- | < | + | |
- | + | ||
- | ==== Environment Variables ==== | + | |
- | + | ||
- | * Enables hardware acceleration and use of WebRenderer | + | |
- | * :!: WebRenderer requires the previous '' | + | |
- | + | ||
- | echo -e 'export MOZ_ACCELERATED=1\nexport MOZ_WEBRENDER=1' | + | |
- | + | ||
- | ==== Default Profile ==== | + | |
- | + | ||
- | rm -fv '/ | + | |
- | + | ||
- | < | + | |
- | [General] | + | |
- | StartWithLastProfile=1 | + | |
- | + | ||
- | [Profile0] | + | |
- | Name=default | + | |
- | IsRelative=1 | + | |
- | Path=CHANGEME | + | |
- | Default=1</ | + | |
- | + | ||
- | ==== user.js ==== | + | |
- | + | ||
- | * Last updated: 2019/ | + | |
- | * :!: IPv6 is disabled in order to prevent WebRTC from grabbing a IPv6 address even though NetworkManager has it disabled... | + | |
- | * :!: '' | + | |
- | + | ||
- | 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(" | + | |
- | + | ||
- | / | + | |
- | * Privacy * | + | |
- | | + | |
- | + | ||
- | user_pref(" | + | |
- | user_pref(" | + | |
- | /******* | + | ====== Firefox ====== |
- | * END * | + | |
- | | + | |
- | ==== Apply Settings ==== | + | * See [[notes: |
+ | * https:// | ||
- | * '' | + | ===== about: |
- | | + | |
===== Extensions ===== | ===== Extensions ===== | ||
- | ==== Startpage.com ==== | + | * [[https:// |
+ | * [[https:// | ||
- | * https:// | + | < |
- | + | ||
- | ==== Download ==== | + | |
- | + | ||
- | * Decentraleyes | + | |
- | * HTTPS Everywhere | + | |
- | * Privacy Badger | + | |
- | * Cookie AutoDelete | + | |
- | * uBlock Origin | + | |
- | * CanvasBlocker | + | |
- | + | ||
- | | + | |
- | + | ||
- | ==== 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 ==== | ==== uBlock Origin ==== | ||
- | === Settings | + | ==== Filters list ==== |
- | | + | **** |
- | + | ||
- | === Filter lists === | + | |
- | + | ||
- | | + | |
- | | + | |
- | + | ||
- | | + | |
- | * Multipurpose -> [x] hpHost' | + | |
- | * Multipurpose -> [x] MVPS HOSTS | + | |
- | + | ||
- | * Custom -> [x] Import | + | |
- | + | ||
- | === Custom 3rd-party filters === | + | |
- | + | ||
- | * Last updated: 2018/11/23 | + | |
< | < | ||
https:// | https:// | ||
https:// | https:// | ||
- | https:// | + | https:// |
- | https:// | + | https:// |
- | https:// | + | |
- | https:// | + | |
- | https:// | + | |
- | ===== Testing Sites ===== | + | ==== My filters |
- | + | ||
- | * https:// | + | |
- | * https:// | + | |
- | * https:// | + | |
- | * https:// | + | |
- | * https:// | + | |
- | + | ||
- | ====== Notable Folders and Commands ====== | + | |
- | + | ||
- | ===== Extract ISO ===== | + | |
- | + | ||
- | * '' | + | |
- | * '' | + | |
- | * No space after the '' | + | |
- | * This is primarily useful for copying Windows ISO images to a FAT32 flash drive | + | |
- | + | ||
- | sudo apt install ' | + | |
- | + | ||
- | 7z x -o' | + | |
- | + | ||
- | 7z x -o'/ | + | |
- | + | ||
- | ===== youtube-dl ===== | + | |
- | + | ||
- | ==== Show Formats ==== | + | |
- | + | ||
- | * Change '' | + | |
- | + | ||
- | sudo apt install ' | + | |
- | + | ||
- | youtube-dl -F x | + | |
- | + | ||
- | ==== Download Audio-only ==== | + | |
- | + | ||
- | * Download the '' | + | |
- | * The format code is likely '' | + | |
- | * Change '' | + | |
- | + | ||
- | youtube-dl -f 140 x | + | |
- | + | ||
- | ===== Shortcuts ===== | + | |
- | + | ||
- | / | + | |
- | + | ||
- | ~/ | + | |
- | + | ||
- | ===== Icons ===== | + | |
- | + | ||
- | / | + | |
- | + | ||
- | ~/ | + | |
- | + | ||
- | ===== Repos ===== | + | |
- | + | ||
- | nano '/ | + | |
- | + | ||
- | ls '/ | + | |
- | + | ||
- | ==== Keys ===== | + | |
- | + | ||
- | === Check Keys === | + | |
**** | **** | ||
- | sudo apt-key list | + | < |
+ | ! Phoronix as a news source and not a toxic wasteland | ||
+ | ! 2023/ | ||
+ | www.phoronix.com## | ||
+ | www.phoronix.com## | ||
+ | www.phoronix.com## | ||
+ | www.phoronix.com### | ||
+ | www.phoronix.com### | ||
+ | www.phoronix.com### | ||
+ | www.phoronix.com## | ||
- | === Remove Keys === | + | ! Hide RuneScape Wiki clocks |
+ | ! 2023/ | ||
+ | oldschool.runescape.wiki### | ||
+ | oldschool.runescape.wiki### | ||
+ | runescape.wiki## | ||
+ | runescape.wiki### | ||
- | * '' | + | ! X, toxic enough |
+ | ! 2023/ | ||
+ | x.com | ||
+ | twitter.com | ||
- | sudo apt-key del x | + | ! End</ |
- | ===== Re-generate Thumbnails | + | ===== DNS over HTTPS ===== |
- | **** | + | |
- | rm -Rf ~/'.cache/thumbnails' | + | < |
- | ===== List GNOME gsettings | + | ====== Server ====== |
- | * Change '' | + | * For workstations that run servers as a secondary directive |
+ | * For headless servers, use [[distros: | ||
- | gsettings list-recursively ' | + | ===== Automatic Updates ===== |
- | ===== GNOME Software Maintenance ===== | + | ==== Service |
- | **** | + | sudo -e '/ |
- | pkcon -c '1' | + | < |
+ | [Service] | ||
+ | Type=oneshot | ||
+ | ExecStartPre='/ | ||
+ | ExecStart='/ | ||
+ | ExecStart='/ | ||
+ | ExecStart='/ | ||
+ | ExecStartPost='/ | ||
+ | ExecStartPost='/ | ||
- | ===== fstrim | + | ===== Timer ===== |
- | **** | + | |
- | + | ||
- | sudo fstrim --verbose --all | + | |
- | + | ||
- | ===== Xorg Debug ===== | + | |
- | + | ||
- | journalctl -e _COMM=' | + | |
- | + | ||
- | gio open ~/' | + | |
- | + | ||
- | ===== Verify DRI3 ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | LIBGL_DEBUG=' | + | |
- | + | ||
- | ===== GpuTest ===== | + | |
- | + | ||
- | * https:// | + | |
- | + | ||
- | ==== Execute ==== | + | |
- | + | ||
- | === 720p === | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | wget -O '/ | + | |
- | + | ||
- | === 1080p === | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | wget -O '/ | + | |
- | + | ||
- | ==== Cleanup ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | rm -Rf '/ | + | |
- | + | ||
- | ===== Show CPU Frequency ===== | + | |
- | + | ||
- | grep ' | + | |
- | + | ||
- | watch -n 0.1 grep \'cpu MHz\' '/ | + | |
- | + | ||
- | ===== OpenSSL Supported Ciphers ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | openssl ciphers -v | awk ' | + | |
- | + | ||
- | ===== Partition Information ===== | + | |
- | + | ||
- | * Both commands do the same things | + | |
- | + | ||
- | df -hT | + | |
- | + | ||
- | df --human-readable --print-type | + | |
- | + | ||
- | ===== Encryption Information ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo cryptsetup -v status '/ | + | |
- | + | ||
- | ===== ATA Secure Erase ===== | + | |
- | + | ||
- | * :!: All '' | + | |
- | + | ||
- | ==== Preparation ==== | + | |
- | + | ||
- | sudo apt install ' | + | |
- | + | ||
- | sudo hdparm -I '/ | + | |
- | + | ||
- | systemctl suspend | + | |
- | + | ||
- | ==== ATA Secure Erase ==== | + | |
- | + | ||
- | sudo hdparm --user-master u --security-set-pass ' | + | |
- | + | ||
- | sudo hdparm --user-master u --security-set-pass ' | + | |
- | + | ||
- | ==== Quick-commands ==== | + | |
- | + | ||
- | === Standard === | + | |
- | + | ||
- | * Performs both '' | + | |
- | * [[# | + | |
- | + | ||
- | sudo hdparm --user-master u --security-set-pass ' | + | |
- | + | ||
- | === Dell === | + | |
- | + | ||
- | * Performs both '' | + | |
- | * [[# | + | |
- | + | ||
- | sudo hdparm --user-master u --security-erase ' | + | |
- | + | ||
- | ===== NVMe Erase ===== | + | |
- | + | ||
- | sudo apt install ' | + | |
- | + | ||
- | sudo nvme format '/ | + | |
- | + | ||
- | ===== Clean EFI Variables ===== | + | |
- | + | ||
- | * :!: Could potentially cause a firmware brick or other issues with improper EFI implementations, | + | |
- | * Safer way is to use '' | + | |
- | + | ||
- | sudo rm -f '/ | + | |
- | + | ||
- | ===== RAID ===== | + | |
- | + | ||
- | ==== Controller Details ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo mdadm --detail-platform | + | |
- | + | ||
- | ==== Create Software RAID ==== | + | |
- | + | ||
- | * :?: Came from old notes; I **assume** this worked at some point, but in any case, the syntax looks nice :p | + | |
- | + | ||
- | sudo mdadm --create '/ | + | |
- | + | ||
- | ===== VGA Switcheroo Power States ===== | + | |
- | + | ||
- | * https:// | + | |
- | + | ||
- | sudo cat '/ | + | |
- | + | ||
- | ===== ACPI Tables ===== | + | |
- | + | ||
- | * In '' | + | |
- | * TODO: Fix for Ubuntu | + | |
- | + | ||
- | sudo dnf install ' | + | |
- | + | ||
- | sudo cp --force '/ | + | |
- | + | ||
- | cd ~ && iasl -d ~/' | + | |
- | + | ||
- | gio open ~/' | + | |
- | + | ||
- | sudo dnf remove ' | + | |
- | + | ||
- | ===== Display EDID Info ===== | + | |
- | + | ||
- | * https:// | + | |
- | + | ||
- | sudo apt install ' | + | |
- | + | ||
- | sudo get-edid | parse-edid | + | |
- | + | ||
- | ===== Custom Resolutions ===== | + | |
- | + | ||
- | ==== Generate Modeline ==== | + | |
- | + | ||
- | * Use '' | + | |
- | * Syntax is '' | + | |
- | + | ||
- | cvt ' | + | |
- | + | ||
- | cvt --reduced ' | + | |
- | + | ||
- | < | + | |
- | + | ||
- | ==== Temporarily Apply ==== | + | |
- | + | ||
- | * Changes are lost after reboot | + | |
- | * Values after '' | + | |
- | + | ||
- | xrandr --newmode " | + | |
- | + | ||
- | xrandr --addmode ' | + | |
- | + | ||
- | xrandr --output ' | + | |
- | + | ||
- | === Verify === | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | xrandr --verbose | grep *current | + | |
- | + | ||
- | ==== Permanently Apply ==== | + | |
- | | + | |
- | * '' | + | |
- | * '' | + | |
< | < | ||
- | Section " | + | [Unit] |
- | | + | Description=Software Package Maintenance and Updater |
- | Modeline x | + | After=network-online.target |
- | Option | + | Wants=network-online.target |
- | EndSection</ | + | |
- | ===== Backlight ===== | + | [Timer] |
+ | OnCalendar=*-*-* 03:00:00 | ||
+ | Persistent=true | ||
- | ==== Notes ==== | + | [Install] |
+ | WantedBy=timers.target</ | ||
- | * The following commands with an asterisk expect only one backlight controller at ''/ | + | ====== |
- | * This was only tested on one laptop with '' | + | |
- | * See [[# | + | |
- | * See [[https:// | + | |
- | + | ||
- | ==== Controller Name ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | ls '/ | + | |
- | + | ||
- | ==== Query Current Brightness ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | cat '/ | + | |
- | + | ||
- | ==== Query Max Brightness ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | cat '/ | + | |
- | + | ||
- | ==== Set Custom Brightness ==== | + | |
- | + | ||
- | * Change '' | + | |
- | * Desired brightness **must** be under '' | + | |
- | + | ||
- | echo " | + | |
- | + | ||
- | ==== Set Max Brightness ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | echo "$(cat '/ | + | |
- | + | ||
- | ===== Intel GuC Firmware ===== | + | |
- | + | ||
- | sudo cat '/ | + | |
- | + | ||
- | sudo cat '/ | + | |
- | + | ||
- | ===== Hyper-threading Information ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | grep -e " | + | |
- | + | ||
- | ===== Optimal GCC compiler flags ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | gcc -v -E -x c -march=native -mtune=native - < /dev/null 2>&1 | grep cc1 | perl -pe 's/ -mno-\S+// | + | |
- | + | ||
- | ====== Privacy ====== | + | |
- | + | ||
- | ===== Clear Terminal History ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | history -cw | + | |
- | + | ||
- | ===== Create 7z Password Archive ===== | + | |
- | + | ||
- | * Change '' | + | |
- | * Change '' | + | |
- | + | ||
- | sudo apt install ' | + | |
- | + | ||
- | 7za a ' | + | |
- | + | ||
- | ===== oathtool ===== | + | |
- | + | ||
- | * '' | + | |
- | + | ||
- | sudo apt install ' | + | |
- | + | ||
- | oathtool --totp -b ' | + | |
- | + | ||
- | ===== Remove EXIF data ===== | + | |
- | | + | |
- | exiftool -all= *.* -overwrite_original |
/var/www/wiki/data/pages/distros/ubuntu_desktop.txt · Last modified: 2024/02/06 16:34 by Sean Rhone