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 [2022/06/08 21:48] – Modernize (partial) Sean Rhone | distros:ubuntu_desktop [2024/02/06 16:34] (current) – Sean Rhone | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Ubuntu ((https:// | * Ubuntu ((https:// | ||
* Desktop ((https:// | * Desktop ((https:// | ||
- | * 22.04 LTS | + | * 23.10 |
====== Download ====== | ====== Download ====== | ||
+ | |||
+ | ===== Etcher Image Writer ===== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | ===== Ubuntu ===== | ||
* https:// | * https:// | ||
Line 14: | Line 20: | ||
* Unified hosts + fakenews + gambling | * Unified hosts + fakenews + gambling | ||
- | wget -O '/ | + | ===== Initial ===== |
- | | + | |
- | sudo -e '/ | + | |
- | ===== Restore | + | ===== Update |
**** | **** | ||
- | | + | |
- | ====== Repositories ====== | + | ===== Restore Backup |
- | ===== Keybase ===== | + | **** |
- | | + | |
- | * https://prerelease.keybase.io/ | + | |
- | * :!: This is only the signing key at the moment | + | |
- | wget -O '/ | + | ====== Repositories ====== |
- | ===== ROCm ===== | + | ===== Liquorix Kernel |
- | * https://docs.amd.com/ | + | * https://liquorix.net/ |
- | * https:// | + | |
- | | + | |
===== WineHQ ===== | ===== WineHQ ===== | ||
Line 48: | Line 51: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | * :!: '' | ||
+ | |||
+ | sudo dpkg --add-architecture ' | ||
+ | |||
+ | wget -O '/ | ||
+ | |||
+ | ===== oibaf/ | ||
+ | |||
+ | * https:// | ||
- | | + | |
====== Software ====== | ====== Software ====== | ||
Line 77: | Line 89: | ||
**** | **** | ||
- | sudo apt install evolution filezilla gimp keepassxc libreoffice | + | sudo apt install |
- | ===== ckb-next | + | ===== Wine ===== |
- | * https://github.com/ | + | * https://wiki.winehq.org/Ubuntu |
- | | + | |
- | ===== ROCm ===== | + | ===== Liquorix Kernel |
- | + | ||
- | * https:// | + | |
- | + | ||
- | rocm-opencl rocm-smi | + | |
- | + | ||
- | ===== Steam ===== | + | |
**** | **** | ||
- | | + | |
- | + | ||
- | ===== Wine ===== | + | |
- | + | ||
- | * https:// | + | |
- | + | ||
- | winehq-staging winbind winetricks | + | |
- | ===== Keybase | + | ===== Intel Media Driver for VAAPI ===== |
- | * https://keybase.io | + | * https://github.com/ |
- | * :!: This needs ran as a separate command | + | |
- | | + | |
===== Tor Browser ===== | ===== Tor Browser ===== | ||
Line 118: | Line 117: | ||
===== Google Chrome ===== | ===== Google Chrome ===== | ||
- | | + | **** |
- | wget -O '/ | + | wget -O '/ |
- | ====== Settings ====== | + | ===== Steam ===== |
- | ===== Keyboard Shortcuts ===== | + | * https:// |
- | | + | |
- | gnome-terminal --command "sudo sh -c 'apt update && apt full-upgrade -y && apt clean && apt autoremove -y && sync && snap refresh && wget -O '/ | + | ====== Settings ====== |
- | ==== Miner ==== | + | ===== Keyboard Shortcuts ===== |
- | + | ||
- | * See [[mining: | + | |
- | gnome-terminal | + | < |
- | | + | < |
==== Keys ==== | ==== Keys ==== | ||
Line 143: | Line 140: | ||
* Ctrl + Alt + Z | * Ctrl + Alt + Z | ||
- | * Pause or Launch1 | + | * Menu |
- | * F6 | + | |
- | * F8 | + | |
===== Printer ===== | ===== Printer ===== | ||
Line 151: | Line 146: | ||
* http:// | * http:// | ||
- | * Internet Printing Protocol (ipps) | + | * Printer name can be '' |
+ | * :!: AppSocket/ | ||
* Color Mode: Device Gray | * Color Mode: Device Gray | ||
* Administration -> Set As Server Default | * Administration -> Set As Server Default | ||
- | | + | |
- | ===== gedit ===== | + | Kole |
- | | + | |
- | * Insert Spaces for Tab mode | + | |
- | ===== Network ===== | + | ==== Info ==== |
- | ==== 1.1.1.1 DNS ==== | + | * :!: '' |
+ | * With Firefox, do '' | ||
+ | * Last one is '' | ||
+ | * https:// | ||
+ | * :!: The IPP option // | ||
- | * https:// | + | ===== Network ===== |
- | * See [[notes: | + | |
- | < | + | * See [[notes: |
- | < | + | < |
- | ===== Nautilus ===== | + | < |
- | * Sort Folders Before Files | + | < |
===== Rhythmbox ===== | ===== Rhythmbox ===== | ||
Line 184: | Line 182: | ||
* 10-notch Transparency | * 10-notch Transparency | ||
+ | |||
+ | ===== Fan Profile ===== | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | sudo apt install ' | ||
===== GRUB ===== | ===== GRUB ===== | ||
Line 189: | Line 193: | ||
==== Config ==== | ==== Config ==== | ||
+ | * :!: [[notes: | ||
* Add options in '' | * Add options in '' | ||
sudo -e '/ | sudo -e '/ | ||
- | ==== AMD Memory Encryption | + | ==== Spinesnap |
- | * https://access.redhat.com/ | + | * Last updated: 2024/02/06s |
- | * 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 | + | |
- | | + | |
- | dmesg | grep 'SME' | + | < |
- | ==== AMDGPU | + | ===== GNOME ===== |
- | === Power === | + | ==== Extensions ==== |
- | * Allows use of Overdrive options for overclocking and increasing the Power Limit | + | * https:// |
- | amdgpu.ppfeaturemask=0xffffffff | + | ==== External Monitor Settings ==== |
- | | + | |
+ | * Notably useful for setting a laptop' | ||
- | === Other === | + | sudo cp ~/' |
- | * https:// | + | === Undo === |
- | * :!: '' | + | |
- | + | ||
- | amdgpu.mes=1 | + | |
- | + | ||
- | amdgpu.mcbp=1 | + | |
- | + | ||
- | amdgpu.deep_color=1 | + | |
- | + | ||
- | ==== EDID ==== | + | |
- | + | ||
- | * :!: TODO | + | |
- | + | ||
- | drm.edid_firmware=edid/ | + | |
- | + | ||
- | ==== IOMMU ==== | + | |
**** | **** | ||
- | | + | |
- | ==== NVMe ==== | + | ==== Tweaks |
- | | + | |
- | nvme.poll_queues=16 | + | < |
- | + | # Mutter | |
- | dmesg | grep 'nvme' | + | export MUTTER_DEBUG_ENABLE_ATOMIC_KMS='0' |
- | + | export MUTTER_DEBUG_FORCE_KMS_MODE='simple' | |
- | cat '/ | + | |
- | + | ||
- | ==== Intel Optimization ==== | + | |
- | + | ||
- | * 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 ==== | + | |
- | + | ||
- | * http:// | + | |
- | * Allows loading of GSP firmware | + | |
- | * :!: As of 2022/02/24 with a RTX 3060 and the 510.54 proprietary driver, this causes the mouse cursor to not update visibly from the top-left corner on GNOME 41/Fedora 35 | + | |
- | * :!: This has not been tested with https:// | + | |
- | + | ||
- | nvidia.NVreg_EnableGpuFirmware=1 | + | |
- | + | ||
- | ===== GNOME ===== | + | |
- | + | ||
- | ==== Hide Top Bar ==== | + | |
- | + | ||
- | * https:// | + | |
- | + | ||
- | ==== Disable Wayland ==== | + | |
- | * :!: ckb-next auto light shutoff requires Xorg | + | # Clutter |
- | * :!: GPU scaling for resolution requires Xorg | + | export CLUTTER_PAINT='disable-dynamic-max-render-time' |
- | * :!: Setting '' | + | |
- | cat '/ | + | # Mesa |
+ | export MESA_DISK_CACHE_SINGLE_FILE='1' | ||
+ | export MESA_DISK_CACHE_DATABASE='1' | ||
+ | export MESA_DISK_CACHE_COMBINE_RW_WITH_RO_FOZ='1' | ||
+ | export VAAPI_MPEG4_ENABLED='1' | ||
- | sudo -e '/etc/ | + | # End</code> |
==== Settings ==== | ==== Settings ==== | ||
Line 289: | Line 250: | ||
=== All-in-one === | === All-in-one === | ||
- | * Last updated: | + | * Last updated: |
- | gsettings reset ' | + | gsettings reset ' |
=== Individual === | === Individual === | ||
- | * Last updated: | + | * Last updated: |
gsettings reset ' | gsettings reset ' | ||
Line 317: | Line 278: | ||
gsettings set ' | gsettings set ' | ||
- | gsettings set ' | + | gsettings set ' |
+ | |||
+ | gsettings set ' | ||
gsettings set ' | gsettings set ' | ||
- | |||
- | ===== Hostname ===== | ||
- | |||
- | * Change '' | ||
- | |||
- | hostnamectl set-hostname ' | ||
- | |||
- | ===== Keybase ===== | ||
- | |||
- | * :!: Run after initial install | ||
- | |||
- | run_keybase | ||
===== KeePassXC ===== | ===== KeePassXC ===== | ||
Line 348: | Line 299: | ||
===== lm_sensors ===== | ===== lm_sensors ===== | ||
- | **** | + | sudo sensors-detect --auto |
- | sudo sensors-detect --auto | + | sudo -e '/ |
===== mpv ===== | ===== mpv ===== | ||
- | |||
- | * [[https:// | ||
mkdir -p ~/' | mkdir -p ~/' | ||
< | < | ||
+ | save-position-on-quit | ||
+ | sub-auto=fuzzy | ||
+ | force-window=yes | ||
profile=gpu-hq | profile=gpu-hq | ||
scale=ewa_lanczossharp | scale=ewa_lanczossharp | ||
Line 364: | Line 316: | ||
video-sync=display-resample | video-sync=display-resample | ||
interpolation | interpolation | ||
- | tscale=oversample</ | + | tscale=oversample |
+ | hwdec=vaapi | ||
+ | hwdec-codecs=all</ | ||
===== Laptop Power Management ===== | ===== Laptop Power Management ===== | ||
Line 373: | Line 327: | ||
* See [[clients: | * 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 ===== | ===== Drive Maintenance ===== | ||
Line 381: | Line 343: | ||
sudo systemctl enable ' | sudo systemctl enable ' | ||
- | |||
- | ==== XFS Scrub ==== | ||
- | |||
- | * [[https:// | ||
- | * :!: Enable in all cases since it's likely both ''/'' | ||
- | |||
- | sudo systemctl enable ' | ||
===== UTC ===== | ===== UTC ===== | ||
Line 408: | Line 363: | ||
* See [[notes: | * See [[notes: | ||
- | ====== Xorg ====== | + | ===== Wayland |
- | * See [[notes: | + | ==== Full RGB HDMI ==== |
- | * :!: 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 | + | |
- | ====== | + | * See [[notes: |
+ | |||
+ | sudo apt install ' | ||
+ | |||
+ | < | ||
+ | # | ||
+ | proptest -M ' | ||
+ | proptest -M ' | ||
+ | |||
+ | ====== Firefox ====== | ||
* See [[notes: | * See [[notes: | ||
+ | * https:// | ||
- | ===== DNS over HTTPS ===== | + | ===== about: |
- | * [[https:// | + | * See [[notes:firefox# |
- | https:// | + | ===== Extensions ===== |
- | ====== Server ====== | + | * [[https:// |
+ | * [[https:// | ||
- | * For workstations that run servers as a secondary directive | + | < |
- | * For headless servers, use [[distros:fedora_server|Fedora Server]] | + | |
- | ===== Enable SSH ===== | + | ==== uBlock Origin |
+ | |||
+ | ==== Filters list ==== | ||
**** | **** | ||
- | sudo systemctl enable | + | < |
+ | https:// | ||
+ | https:// | ||
+ | https:// | ||
+ | https:// | ||
+ | |||
+ | ==== My filters ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | < | ||
+ | ! 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## | ||
+ | |||
+ | ! Hide RuneScape Wiki clocks | ||
+ | ! 2023/ | ||
+ | oldschool.runescape.wiki### | ||
+ | oldschool.runescape.wiki### | ||
+ | runescape.wiki## | ||
+ | runescape.wiki### | ||
+ | |||
+ | ! X, toxic enough for an entire domain block | ||
+ | ! 2023/ | ||
+ | x.com | ||
+ | twitter.com | ||
+ | |||
+ | ! End</ | ||
+ | |||
+ | ===== DNS over HTTPS ===== | ||
+ | |||
+ | * See [[notes: | ||
+ | |||
+ | < | ||
+ | |||
+ | ====== Server ====== | ||
+ | |||
+ | * For workstations that run servers as a secondary directive | ||
+ | * For headless servers, use [[distros: | ||
===== Automatic Updates ===== | ===== Automatic Updates ===== | ||
Line 438: | Line 448: | ||
==== Service ==== | ==== Service ==== | ||
- | sudo -e '/ | + | sudo -e '/ |
< | < | ||
[Service] | [Service] | ||
Type=oneshot | Type=oneshot | ||
- | ExecStartPre='/ | + | ExecStartPre='/ |
- | ExecStart='/ | + | ExecStart='/ |
- | ExecStart='/ | + | ExecStart='/ |
+ | ExecStart='/ | ||
ExecStartPost='/ | ExecStartPost='/ | ||
ExecStartPost='/ | ExecStartPost='/ | ||
Line 453: | Line 464: | ||
* 03:00 Oak | * 03:00 Oak | ||
- | sudo -e '/ | + | sudo -e '/ |
< | < | ||
Line 470: | Line 481: | ||
====== Notable Folders and Commands ====== | ====== Notable Folders and Commands ====== | ||
- | ===== Extract ISO ===== | + | |
- | + | ||
- | * '' | + | |
- | * '' | + | |
- | * No space after the '' | + | |
- | * This is primarily useful for copying Windows ISO images to a FAT32 flash drive | + | |
- | + | ||
- | 7z x -o' | + | |
- | + | ||
- | 7z x -o'/ | + | |
- | + | ||
- | ===== youtube-dl ===== | + | |
- | + | ||
- | * https:// | + | |
- | + | ||
- | ==== Download ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | rm -f '/ | + | |
- | + | ||
- | ==== Show Formats ==== | + | |
- | + | ||
- | * Change '' | + | |
- | + | ||
- | '/ | + | |
- | + | ||
- | ==== Download Media ==== | + | |
- | + | ||
- | * Change '' | + | |
- | * '' | + | |
- | + | ||
- | '/ | + | |
- | + | ||
- | === M4A Audio === | + | |
- | + | ||
- | * Ideally for if iOS devices will be involved | + | |
- | + | ||
- | '/ | + | |
- | + | ||
- | === MP3 Audio === | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | '/ | + | |
- | + | ||
- | ===== Shortcuts ===== | + | |
- | + | ||
- | / | + | |
- | + | ||
- | ~/ | + | |
- | + | ||
- | ===== Icons ===== | + | |
- | + | ||
- | / | + | |
- | + | ||
- | ~/ | + | |
- | + | ||
- | ===== Anaconda Module Blacklists ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo -e '/ | + | |
- | + | ||
- | ===== YUM/DNF Repos ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | gio open '/ | + | |
- | + | ||
- | ===== DNF History ===== | + | |
- | + | ||
- | ==== Transaction IDs ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo dnf history | + | |
- | + | ||
- | ==== Undo ==== | + | |
- | + | ||
- | * Change '' | + | |
- | + | ||
- | 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 ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | rm -Rf ~/' | + | |
- | + | ||
- | ===== List GNOME gsettings ===== | + | |
- | + | ||
- | * Change '' | + | |
- | + | ||
- | gsettings list-recursively ' | + | |
- | + | ||
- | ===== GNOME App Grid Reset ===== | + | |
- | + | ||
- | * [[https:// | + | |
- | + | ||
- | gsettings reset ' | + | |
- | + | ||
- | ===== GNOME Software Maintenance ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | pkcon -c ' | + | |
- | + | ||
- | ===== fstrim ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo fstrim --verbose --all | + | |
- | + | ||
- | ===== SELinux Re-label ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo touch '/ | + | |
- | + | ||
- | ===== GNOME Monitors Reset ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | rm -f ~/' | + | |
- | + | ||
- | ===== PulseAudio Reset ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | rm -f ~/' | + | |
- | + | ||
- | ===== Xorg Debug ===== | + | |
- | + | ||
- | journalctl -e _COMM=' | + | |
- | + | ||
- | gio open ~/' | + | |
- | + | ||
- | ===== Verify DRI3 ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | LIBGL_DEBUG=' | + | |
- | + | ||
- | ===== GpuTest ===== | + | |
- | + | ||
- | * https:// | + | |
- | + | ||
- | ==== Execute ==== | + | |
- | + | ||
- | === HDTV === | + | |
- | + | ||
- | * 1280x720 | + | |
- | + | ||
- | wget -O '/ | + | |
- | + | ||
- | cd '/ | + | |
- | + | ||
- | /fullscreen /benchmark / | + | |
- | + | ||
- | == NVIDIA Optimus == | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | wget -O '/ | + | |
- | + | ||
- | === FHD === | + | |
- | + | ||
- | * 1920x1080 | + | |
- | + | ||
- | wget -O '/ | + | |
- | + | ||
- | cd '/ | + | |
- | + | ||
- | /fullscreen /benchmark / | + | |
- | + | ||
- | === UHDTV1 === | + | |
- | + | ||
- | * 3840x2160 | + | |
- | + | ||
- | wget -O '/ | + | |
- | + | ||
- | cd '/ | + | |
- | + | ||
- | /fullscreen /benchmark / | + | |
- | + | ||
- | ==== Cleanup ==== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | rm -Rf '/ | + | |
- | + | ||
- | ===== Show Sensors ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo dnf install ' | + | |
- | + | ||
- | ===== Show CPU Frequency ===== | + | |
- | + | ||
- | grep ' | + | |
- | + | ||
- | watch --interval ' | + | |
- | + | ||
- | ===== OpenSSL Supported Ciphers ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | openssl ciphers -v | awk ' | + | |
- | + | ||
- | ===== Partition Information ===== | + | |
- | + | ||
- | * Both commands present the same information | + | |
- | + | ||
- | df -hT | + | |
- | + | ||
- | df --human-readable --print-type | + | |
- | + | ||
- | ===== Encryption Information ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | sudo cryptsetup -v status '/ | + | |
- | + | ||
- | ===== ATA Secure Erase ===== | + | |
- | + | ||
- | * :!: All '' | + | |
- | + | ||
- | ==== Preparation ==== | + | |
- | + | ||
- | sudo dnf install ' | + | |
- | + | ||
- | sudo hdparm -I '/ | + | |
- | + | ||
- | sync && systemctl suspend | + | |
- | + | ||
- | ==== ATA Secure Erase ==== | + | |
- | + | ||
- | < | + | |
- | + | ||
- | < | + | |
- | + | ||
- | < | + | |
- | + | ||
- | ===== NVMe Erase ===== | + | |
- | + | ||
- | * NVMe Erase from the start page lands here and I usually use a Ubuntu LiveUSB to do this, hence the '' | + | |
- | + | ||
- | sudo apt install ' | + | |
- | + | ||
- | sudo dnf 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 ==== | + | |
- | + | ||
- | * This can be used to get the Oprom version for Intel RST | + | |
- | + | ||
- | 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 '' | + | |
- | + | ||
- | sudo dnf install ' | + | |
- | + | ||
- | sudo cp --force '/ | + | |
- | + | ||
- | cd ~ && iasl -d ~/' | + | |
- | + | ||
- | gio open ~/' | + | |
- | + | ||
- | sudo dnf remove ' | + | |
- | + | ||
- | ===== Display EDID Info ===== | + | |
- | + | ||
- | * https:// | + | |
- | + | ||
- | sudo dnf install ' | + | |
- | + | ||
- | monitor-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 " | + | |
- | Identifier | + | |
- | Modeline x | + | |
- | Option | + | |
- | EndSection</ | + | |
- | + | ||
- | ===== Backlight ===== | + | |
- | + | ||
- | ==== Notes ==== | + | |
- | + | ||
- | * The following commands with an asterisk expect only one backlight controller at ''/ | + | |
- | * This was only tested on one laptop with '' | + | |
- | | + | |
- | * 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 '/ | + | |
- | + | ||
- | ===== HT/SMT 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 '' | + | |
- | * Change '' | + | |
- | + | ||
- | 7za a ' | + | |
- | + | ||
- | 7za a ' | + | |
- | + | ||
- | ===== oathtool ===== | + | |
- | + | ||
- | * '' | + | |
- | + | ||
- | sudo dnf install ' | + | |
- | + | ||
- | oathtool --totp -b ' | + | |
- | + | ||
- | ===== Remove EXIF data ===== | + | |
- | + | ||
- | sudo dnf install ' | + | |
- | + | ||
- | exiftool -all= *.* -overwrite_original | + | |
/var/www/wiki/data/pages/distros/ubuntu_desktop.txt · Last modified: 2024/02/06 16:34 by Sean Rhone