distros:ubuntu_desktop
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
distros:ubuntu_desktop [2021/10/29 20:00] – Sean Rhone | distros:ubuntu_desktop [2022/06/08 21:48] – Modernize (partial) Sean Rhone | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Ubuntu ((https:// | * Ubuntu ((https:// | ||
* Desktop ((https:// | * Desktop ((https:// | ||
+ | * 22.04 LTS | ||
====== Download ====== | ====== Download ====== | ||
Line 18: | Line 19: | ||
sudo -e '/ | sudo -e '/ | ||
+ | |||
+ | ===== Restore ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo cp '/ | ||
+ | |||
+ | ====== Repositories ====== | ||
+ | |||
+ | ===== Keybase ===== | ||
+ | |||
+ | * https:// | ||
+ | * https:// | ||
+ | * :!: This is only the signing key at the moment | ||
+ | |||
+ | wget -O '/ | ||
+ | |||
+ | ===== ROCm ===== | ||
+ | |||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | wget -O '/ | ||
+ | |||
+ | ===== WineHQ ===== | ||
+ | |||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | wget -O '/ | ||
====== Software ====== | ====== Software ====== | ||
Line 33: | Line 65: | ||
**** | **** | ||
- | sudo fwupdmgr refresh --force && sudo fwupdmgr update --verbose | + | sudo fwupdmgr refresh --force && sudo fwupdmgr update --verbose |
==== Snaps ==== | ==== Snaps ==== | ||
Line 39: | Line 71: | ||
**** | **** | ||
- | sudo snap refresh | + | sudo snap refresh |
===== General ===== | ===== General ===== | ||
Line 45: | Line 77: | ||
**** | **** | ||
- | sudo apt install evolution filezilla gimp keepassxc | + | sudo apt install evolution filezilla gimp keepassxc |
- | ==== OpenVPN | + | ===== ckb-next ===== |
- | **** | + | |
- | | + | |
- | ==== ckb-next | + | ===== ROCm ===== |
- | * https://github.com/ckb-next/ckb-next | + | * https://docs.amd.com/bundle/ROCm-Installation-Guide-v5.1.3/ |
- | | + | |
- | ==== Wine ==== | + | ===== Steam ===== |
**** | **** | ||
- | | + | |
- | ==== Tor Browser | + | ===== Wine ===== |
- | **** | + | |
- | | + | |
- | ==== Keybase ==== | + | ===== Keybase |
* https:// | * https:// | ||
Line 78: | Line 110: | ||
rm -Rf '/ | rm -Rf '/ | ||
- | ==== Google Chrome ==== | + | ===== Tor Browser ===== |
+ | |||
+ | **** | ||
+ | |||
+ | torbrowser-launcher | ||
+ | |||
+ | ===== Google Chrome | ||
* :!: TODO: This may need updated to run with '' | * :!: TODO: This may need updated to run with '' | ||
Line 91: | Line 129: | ||
gnome-terminal --command "sudo sh -c 'apt update && apt full-upgrade -y && apt clean && apt autoremove -y && sync && snap refresh && wget -O '/ | 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 97: | Line 143: | ||
* Ctrl + Alt + Z | * Ctrl + Alt + Z | ||
- | * Pause or F7 | + | * Pause or Launch1 |
+ | * F6 | ||
+ | * F8 | ||
===== Printer ===== | ===== Printer ===== | ||
Line 103: | Line 151: | ||
* http:// | * http:// | ||
- | * '' | + | * Internet Printing Protocol (ipps) -> HP -> IPP Everywhere ™ |
- | * Print Color Mode: Device Gray | + | * Color Mode: Device Gray |
* Administration -> Set As Server Default | * Administration -> Set As Server Default | ||
- | | + | |
===== gedit ===== | ===== gedit ===== | ||
Line 116: | Line 164: | ||
===== Network ===== | ===== Network ===== | ||
- | ==== Cloudflare | + | ==== 1.1.1.1 DNS ==== |
* https:// | * https:// | ||
Line 125: | Line 173: | ||
< | < | ||
- | ==== VPN.AC | + | ===== Nautilus ===== |
- | * See [[information: | + | * Sort Folders Before Files |
- | * :!: If using this VPN, disable IPv6 from NetworkManager | + | |
===== Rhythmbox ===== | ===== Rhythmbox ===== | ||
Line 142: | Line 189: | ||
==== Config ==== | ==== Config ==== | ||
- | **** | + | |
sudo -e '/ | sudo -e '/ | ||
- | ==== amdgpu | + | ==== AMD Memory Encryption |
- | * Allows use of Overdrive options for overclocking and notably | + | |
+ | * 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 | ||
+ | |||
+ | mem_encrypt=on | ||
+ | |||
+ | dmesg | grep ' | ||
+ | |||
+ | ==== AMDGPU ==== | ||
+ | |||
+ | === Power === | ||
+ | |||
+ | | ||
amdgpu.ppfeaturemask=0xffffffff | amdgpu.ppfeaturemask=0xffffffff | ||
- | === Verify | + | cat '/ |
+ | |||
+ | === Other === | ||
+ | |||
+ | * https:// | ||
+ | * :!: '' | ||
+ | |||
+ | amdgpu.mes=1 | ||
+ | |||
+ | amdgpu.mcbp=1 | ||
+ | |||
+ | amdgpu.deep_color=1 | ||
+ | |||
+ | ==== EDID ==== | ||
+ | |||
+ | * :!: TODO | ||
+ | |||
+ | drm.edid_firmware=edid/ | ||
+ | |||
+ | ==== IOMMU ==== | ||
**** | **** | ||
- | cat '/sys/module/amdgpu/parameters/ppfeaturemask' | + | |
+ | |||
+ | ==== NVMe ==== | ||
+ | |||
+ | * :!: This may need adjusted for different CPU core counts | ||
+ | |||
+ | nvme.poll_queues=16 | ||
+ | |||
+ | dmesg | grep ' | ||
+ | |||
+ | | ||
+ | |||
+ | ==== 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://us.download.nvidia.com/XFree86/ | ||
+ | * 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 ===== | ===== GNOME ===== | ||
- | ==== Settings | + | ==== Hide Top Bar ==== |
- | === All-in-one === | + | * https:// |
- | * Last updated: 2021/10/29 | + | ==== Disable Wayland ==== |
- | | + | * :!: ckb-next auto light shutoff requires Xorg |
+ | * :!: GPU scaling for resolution requires Xorg | ||
+ | * :!: Setting | ||
- | | + | |
- | gsettings reset ' | + | |
+ | |||
+ | ==== Settings ==== | ||
+ | |||
+ | === All-in-one === | ||
+ | |||
+ | * Last updated: 2022/ | ||
+ | |||
+ | | ||
=== Individual === | === Individual === | ||
- | * Last updated: | + | * Last updated: |
- | gsettings set ' | + | |
+ | |||
+ | | ||
gsettings set ' | gsettings set ' | ||
Line 193: | Line 316: | ||
gsettings set ' | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | == Other == | ||
- | |||
- | * The first depend on GNOME Software existing | ||
- | * The second needs GNOME 40+ and isn't applicable on Ubuntu 21.04 | ||
gsettings set ' | gsettings set ' | ||
- | gsettings | + | gsettings |
===== Hostname ===== | ===== Hostname ===== | ||
Line 232: | Line 348: | ||
===== lm_sensors ===== | ===== lm_sensors ===== | ||
- | | + | **** |
- | + | ||
- | sudo sensors-detect | + | |
sudo sensors-detect --auto | sudo sensors-detect --auto | ||
Line 251: | Line 365: | ||
interpolation | interpolation | ||
tscale=oversample</ | tscale=oversample</ | ||
- | |||
- | ===== NetworkManager ===== | ||
- | |||
- | * '' | ||
- | * :!: '' | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | [device-mac-randomization] | ||
- | wifi.scan-rand-mac-address=yes | ||
- | |||
- | [connection-mac-randomization] | ||
- | wifi.cloned-mac-address=random | ||
- | |||
- | [connection] | ||
- | wifi.powersave=2</ | ||
- | |||
- | < | ||
- | [connection-mac-randomization] | ||
- | ethernet.cloned-mac-address=random</ | ||
===== Laptop Power Management ===== | ===== Laptop Power Management ===== | ||
Line 280: | Line 373: | ||
* 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 293: | Line 378: | ||
==== Trim ==== | ==== Trim ==== | ||
- | | + | **** |
sudo systemctl enable ' | sudo systemctl enable ' | ||
Line 300: | Line 385: | ||
* [[https:// | * [[https:// | ||
- | * :!: This is only necessary if XFS is being used on any persistent drives, and requires | + | * :!: Enable in all cases since it's likely both '' |
- | + | ||
- | sudo apt install | + | |
sudo systemctl enable ' | sudo systemctl enable ' | ||
Line 328: | Line 411: | ||
* See [[notes: | * 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 | ||
- | ===== Nightwane | + | ====== Mozilla Firefox ====== |
- | * :!: With Fedora 34 as of 2021/05/12, the '' | + | * See [[notes:firefox|Firefox]] if old configuration is needed, otherwise use Firefox Sync |
- | * :!: This doesn' | + | |
- | * Since '' | + | |
- | * [[http:// | + | |
- | * :!: TODO: Test if this is necessary on Ubuntu 21.04+ | + | ===== DNS over HTTPS ===== |
- | < | + | * [[https:// |
- | ====== Mozilla Firefox ====== | + | https:// |
- | + | ||
- | * See [[notes:firefox|Firefox]] if old configuration is needed, otherwise use Firefox Sync | + | |
====== Server ====== | ====== Server ====== | ||
* For workstations that run servers as a secondary directive | * For workstations that run servers as a secondary directive | ||
- | * For headless servers, use [[distros:ubuntu_server|Ubuntu | + | * For headless servers, use [[distros:fedora_server|Fedora |
+ | |||
+ | ===== Enable SSH ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo systemctl enable --now ' | ||
===== Automatic Updates ===== | ===== Automatic Updates ===== | ||
Line 353: | Line 438: | ||
==== Service ==== | ==== Service ==== | ||
- | sudo -e '/ | + | sudo -e '/ |
< | < | ||
[Service] | [Service] | ||
Type=oneshot | Type=oneshot | ||
- | ExecStartPre='/ | + | ExecStartPre='/ |
- | ExecStart='/ | + | ExecStart='/ |
- | ExecStart='/ | + | ExecStart='/ |
- | ExecStart='/ | + | |
ExecStartPost='/ | ExecStartPost='/ | ||
ExecStartPost='/ | ExecStartPost='/ | ||
- | ==== Timer ==== | + | ===== Timer ===== |
* 03:00 Oak | * 03:00 Oak | ||
- | sudo -e '/ | + | sudo -e '/ |
< | < | ||
Line 383: | Line 467: | ||
[Install] | [Install] | ||
WantedBy=timers.target</ | WantedBy=timers.target</ | ||
+ | |||
+ | ====== 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 [[# | ||
+ | * 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