distros:ubuntu_desktop_test
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
distros:ubuntu_desktop_test [2021/09/26 12:06] – created Sean Rhone | distros:ubuntu_desktop_test [2021/09/26 12:35] – Sean Rhone | ||
---|---|---|---|
Line 45: | Line 45: | ||
**** | **** | ||
- | sudo apt install evolution filezilla gimp keepassxc mpv transmission-gtk aria2 htop unar p7zip-full mesa-utils ffmpeg libsecret-tools libreoffice rhythmbox | + | sudo apt install evolution filezilla gimp keepassxc mpv transmission-gtk aria2 htop unar p7zip-full mesa-utils ffmpeg libsecret-tools |
==== OpenVPN ==== | ==== OpenVPN ==== | ||
Line 91: | Line 91: | ||
* http:// | * http:// | ||
- | * :!: Log-in as '' | + | * '' |
- | * Output | + | * Print Color Mode: Device Gray |
- | * Print Quality: High-Resolution Photo | + | |
* Administration -> Set As Server Default | * Administration -> Set As Server Default | ||
Line 127: | Line 126: | ||
* See [[Information: | * See [[Information: | ||
- | |||
- | ===== ckb-next ===== | ||
- | |||
- | * :!: May have to disable automatic firmware update check from ckb-next settings in order to prevent it from crashing on profile switch? | ||
- | |||
- | sudo systemctl enable ' | ||
===== GRUB ===== | ===== GRUB ===== | ||
Line 469: | Line 462: | ||
pkcon -c ' | pkcon -c ' | ||
- | |||
- | ===== fstrim ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo fstrim --verbose --all | ||
===== GNOME Monitors Reset ===== | ===== GNOME Monitors Reset ===== | ||
Line 493: | Line 480: | ||
gio open ~/' | gio open ~/' | ||
- | |||
- | ===== Verify DRI3 ===== | ||
- | |||
- | **** | ||
- | |||
- | LIBGL_DEBUG=' | ||
===== GpuTest ===== | ===== GpuTest ===== | ||
Line 515: | Line 496: | ||
/fullscreen /benchmark / | /fullscreen /benchmark / | ||
- | |||
- | == NVIDIA Optimus == | ||
- | |||
- | **** | ||
- | |||
- | wget -O '/ | ||
=== FHD === | === FHD === | ||
Line 552: | Line 527: | ||
**** | **** | ||
- | | + | sudo watch -n0.5 sensors |
===== Show CPU Frequency ===== | ===== Show CPU Frequency ===== | ||
Line 559: | Line 534: | ||
watch -n 0.1 grep \'cpu MHz\' '/ | watch -n 0.1 grep \'cpu MHz\' '/ | ||
- | |||
- | ===== OpenSSL Supported Ciphers ===== | ||
- | |||
- | **** | ||
- | |||
- | openssl ciphers -v | awk ' | ||
===== Partition Information ===== | ===== Partition Information ===== | ||
Line 573: | Line 542: | ||
df --human-readable --print-type | df --human-readable --print-type | ||
- | |||
- | ===== Encryption Information ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo cryptsetup -v status '/ | ||
- | |||
- | ===== ATA Secure Erase ===== | ||
- | |||
- | * :!: All '' | ||
- | |||
- | ==== Preparation ==== | ||
- | |||
- | sudo zypper 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 zypper 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 zypper install ' | ||
- | |||
- | sudo cp --force '/ | ||
- | |||
- | cd ~ && iasl -d ~/' | ||
- | |||
- | gio open ~/' | ||
- | |||
- | sudo zypper remove ' | ||
- | |||
- | ===== 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 ===== | ===== Privacy ===== | ||
Line 765: | Line 556: | ||
* Change '' | * Change '' | ||
* Change '' | * Change '' | ||
+ | |||
+ | sudo apt install ' | ||
7za a ' | 7za a ' | ||
7za a ' | 7za a ' | ||
- | |||
- | ===== oathtool ===== | ||
- | |||
- | * '' | ||
- | |||
- | sudo zypper install ' | ||
- | |||
- | oathtool --totp -b ' | ||
==== Remove EXIF data ==== | ==== Remove EXIF data ==== | ||
- | sudo zypper | + | sudo apt install 'libimage-exiftool-perl' |
exiftool -all= *.* -overwrite_original | exiftool -all= *.* -overwrite_original |