distros:ubuntu_desktop_test
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
distros:ubuntu_desktop_test [2021/09/26 12:11] – Sean Rhone | distros:ubuntu_desktop_test [2022/06/08 22:08] (current) – removed Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Information ====== | ||
- | * Ubuntu ((https:// | ||
- | * Desktop ((https:// | ||
- | |||
- | ====== Download ====== | ||
- | |||
- | * https:// | ||
- | |||
- | ====== HOSTS ====== | ||
- | |||
- | * https:// | ||
- | * Using '' | ||
- | |||
- | wget -O '/ | ||
- | |||
- | cat '/ | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | ====== Software ====== | ||
- | |||
- | ===== Update ===== | ||
- | |||
- | ==== System ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove -y && sudo apt clean && sync | ||
- | |||
- | ==== Firmware ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo fwupdmgr refresh --force && sudo fwupdmgr update --verbose | ||
- | |||
- | ==== Snaps ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo snap refresh | ||
- | |||
- | ===== General ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo apt install evolution filezilla gimp keepassxc mpv transmission-gtk aria2 htop unar p7zip-full mesa-utils ffmpeg libsecret-tools libreoffice rhythmbox | ||
- | |||
- | ==== OpenVPN ==== | ||
- | |||
- | **** | ||
- | |||
- | network-manager-openvpn-gnome | ||
- | |||
- | ===== ckb-next ===== | ||
- | |||
- | * https:// | ||
- | |||
- | ckb-next | ||
- | |||
- | ===== Keybase ===== | ||
- | |||
- | * https:// | ||
- | * :!: This needs ran as a separate command and not combined with the above package installations | ||
- | |||
- | rm -Rf '/ | ||
- | |||
- | ===== Google Chrome ===== | ||
- | |||
- | * :!: TODO: This may need updated to run with '' | ||
- | |||
- | wget -O '/ | ||
- | |||
- | ====== Settings ====== | ||
- | |||
- | ===== Keyboard Shortcuts ===== | ||
- | |||
- | bash -c " | ||
- | |||
- | gnome-terminal --command "sudo sh -c 'apt update && apt full-upgrade -y && apt clean && apt autoremove -y && sync && snap refresh && wget -O '/ | ||
- | |||
- | ==== Keys ==== | ||
- | |||
- | * Listed respectively to above | ||
- | |||
- | * Ctrl + Alt + Z | ||
- | * Pause or F7 | ||
- | |||
- | ===== Printer ===== | ||
- | |||
- | * http:// | ||
- | |||
- | * :!: Log-in as '' | ||
- | * Output Mode: Black Only Grayscale | ||
- | * Print Quality: High-Resolution Photo | ||
- | * Administration -> Set As Server Default | ||
- | |||
- | socket:// | ||
- | |||
- | ===== gedit ===== | ||
- | |||
- | * 4 Tab width | ||
- | * Insert Spaces for Tab mode | ||
- | |||
- | ===== Network ===== | ||
- | |||
- | ==== Quad9 DNS ==== | ||
- | |||
- | * https:// | ||
- | * Secured w/ECS | ||
- | * See [[notes: | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | |||
- | ==== VPN.AC ==== | ||
- | |||
- | * See [[information: | ||
- | * :!: If using this VPN, disable IPv6 from NetworkManager | ||
- | |||
- | ===== Nautilus ===== | ||
- | |||
- | * Sort folders before files | ||
- | |||
- | ===== Rhythmbox ===== | ||
- | |||
- | * 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 ===== | ||
- | |||
- | * See [[notes: | ||
- | |||
- | ==== Config ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | ==== IOMMU ==== | ||
- | |||
- | * :!: On Ryzen, this should be left enabled in the firmware settings in all cases, but if not directly used for virtualization, | ||
- | |||
- | iommu=pt | ||
- | |||
- | ==== amdgpu ==== | ||
- | |||
- | * Allows use of Overdrive options for overclocking and notably increasing the Power Limit | ||
- | * See [[devices: | ||
- | |||
- | amdgpu.ppfeaturemask=0xffffffff | ||
- | |||
- | cat '/ | ||
- | |||
- | ===== GNOME ===== | ||
- | |||
- | ==== Settings ==== | ||
- | |||
- | === All-in-one === | ||
- | |||
- | * Last updated: 2021/09/26 | ||
- | |||
- | gsettings set ' | ||
- | |||
- | === Individual === | ||
- | |||
- | * Last updated: 2021/09/26 | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | gsettings set ' | ||
- | |||
- | ===== KeePassXC ===== | ||
- | |||
- | ==== Settings ==== | ||
- | |||
- | * General -> [ ] Load previous databases on startup | ||
- | * Security -> [x] Use DuckDuckGo service to download website icons | ||
- | |||
- | ==== Add Database Password to GNOME Keyring ==== | ||
- | |||
- | **** | ||
- | |||
- | secret-tool store --label=' | ||
- | |||
- | ===== lm_sensors ===== | ||
- | |||
- | * '' | ||
- | |||
- | sudo sensors-detect | ||
- | |||
- | sudo sensors-detect --auto | ||
- | |||
- | ===== mpv ===== | ||
- | |||
- | * [[https:// | ||
- | |||
- | mkdir -p ~/' | ||
- | |||
- | < | ||
- | profile=gpu-hq | ||
- | scale=ewa_lanczossharp | ||
- | cscale=ewa_lanczossharp | ||
- | video-sync=display-resample | ||
- | interpolation | ||
- | tscale=oversample</ | ||
- | |||
- | ===== NetworkManager ===== | ||
- | |||
- | * '' | ||
- | * :!: '' | ||
- | |||
- | sudo mkdir -p '/ | ||
- | |||
- | < | ||
- | [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</ | ||
- | |||
- | ===== Secure Shell ===== | ||
- | |||
- | * See [[clients: | ||
- | |||
- | ===== Uncomplicated Firewall ===== | ||
- | |||
- | < | ||
- | sudo ufw reset && sudo ufw default deny && sudo ufw logging off && sudo ufw enable && sudo systemctl enable ' | ||
- | |||
- | < | ||
- | sudo ufw allow ' | ||
- | |||
- | ===== Drive Maintenance ===== | ||
- | |||
- | ==== Trim ==== | ||
- | |||
- | * :!: Enable only if a SSD is being used for Linux | ||
- | |||
- | sudo systemctl enable ' | ||
- | |||
- | ==== XFS Scrub ==== | ||
- | |||
- | * [[https:// | ||
- | * :!: Enable only if a persistent drive exists formatted with XFS | ||
- | * :!: TODO: Test this on Ubuntu | ||
- | |||
- | sudo systemctl enable ' | ||
- | |||
- | ===== UTC ===== | ||
- | |||
- | * [[https:// | ||
- | * Set RTC to UTC | ||
- | * :!: Needed if Windows is installed first | ||
- | * :!: Windows should also be set to UTC | ||
- | |||
- | sudo timedatectl set-local-rtc ' | ||
- | |||
- | ==== Verify ==== | ||
- | |||
- | **** | ||
- | |||
- | timedatectl | grep local | ||
- | |||
- | ===== Wine ===== | ||
- | |||
- | * See [[notes: | ||
- | |||
- | ====== Xorg ====== | ||
- | |||
- | * See [[notes: | ||
- | * :!: Ideally '' | ||
- | |||
- | ====== Mozilla Firefox ====== | ||
- | |||
- | * See [[notes: | ||
- | |||
- | ====== Server ====== | ||
- | |||
- | * For workstations that run servers as a secondary directive | ||
- | * For headless servers, use [[distros: | ||
- | |||
- | ===== Automatic Updates ===== | ||
- | |||
- | ==== Service ==== | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | [Service] | ||
- | Type=oneshot | ||
- | ExecStartPre='/ | ||
- | ExecStart='/ | ||
- | ExecStart='/ | ||
- | ExecStartPost='/ | ||
- | ExecStartPost='/ | ||
- | |||
- | ==== Timer ==== | ||
- | |||
- | * 06:00 Oak | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | [Unit] | ||
- | Description=Software Package Maintenance and Updater | ||
- | After=network-online.target | ||
- | Wants=network-online.target | ||
- | |||
- | [Timer] | ||
- | OnCalendar=*-*-* 06:00:00 | ||
- | Persistent=true | ||
- | |||
- | [Install] | ||
- | 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 ===== | ||
- | |||
- | / | ||
- | |||
- | ~/ | ||
- | |||
- | ===== Zypper ===== | ||
- | |||
- | ==== Find Orphans ==== | ||
- | |||
- | **** | ||
- | |||
- | zypper packages --orphaned | ||
- | |||
- | ==== Remove Package and Deps ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo zypper remove --clean-deps ' | ||
- | |||
- | ==== Show Installed Patterns ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo zypper patterns --installed-only | ||
- | |||
- | ==== Folder ==== | ||
- | |||
- | **** | ||
- | |||
- | ls '/ | ||
- | |||
- | ==== List ==== | ||
- | |||
- | **** | ||
- | |||
- | zypper repos --priority | ||
- | |||
- | ===== GPG Keys ===== | ||
- | |||
- | ==== Check Keys ==== | ||
- | |||
- | **** | ||
- | |||
- | rpm -q gpg-pubkey --qf ' | ||
- | |||
- | ==== Remove Keys ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo rpm -e x | ||
- | |||
- | ===== Re-generate Thumbnails ===== | ||
- | |||
- | **** | ||
- | |||
- | rm -Rf ~/' | ||
- | |||
- | ===== List GNOME gsettings ===== | ||
- | |||
- | * Change '' | ||
- | |||
- | gsettings list-recursively ' | ||
- | |||
- | ===== GNOME Software Maintenance ===== | ||
- | |||
- | **** | ||
- | |||
- | pkcon -c ' | ||
- | |||
- | ===== GNOME Monitors Reset ===== | ||
- | |||
- | **** | ||
- | |||
- | rm -f ~/' | ||
- | |||
- | ===== PulseAudio Reset ===== | ||
- | |||
- | **** | ||
- | |||
- | rm -f ~/' | ||
- | |||
- | ===== Xorg Debug ===== | ||
- | |||
- | journalctl -e _COMM=' | ||
- | |||
- | gio open ~/' | ||
- | |||
- | ===== GpuTest ===== | ||
- | |||
- | * https:// | ||
- | |||
- | ==== Execute ==== | ||
- | |||
- | === HDTV === | ||
- | |||
- | * 1280x720 | ||
- | |||
- | wget -O '/ | ||
- | |||
- | cd '/ | ||
- | |||
- | /fullscreen /benchmark / | ||
- | |||
- | === FHD === | ||
- | |||
- | * 1920x1080 | ||
- | |||
- | wget -O '/ | ||
- | |||
- | cd '/ | ||
- | |||
- | /fullscreen /benchmark / | ||
- | |||
- | === UHDTV1 === | ||
- | |||
- | * 3840x2160 | ||
- | |||
- | wget -O '/ | ||
- | |||
- | cd '/ | ||
- | |||
- | /fullscreen /benchmark / | ||
- | |||
- | ==== Cleanup ==== | ||
- | |||
- | **** | ||
- | |||
- | rm -Rf '/ | ||
- | |||
- | ===== Show Sensors ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo watch -n0.5 sensors | ||
- | |||
- | ===== Show CPU Frequency ===== | ||
- | |||
- | grep ' | ||
- | |||
- | watch -n 0.1 grep \'cpu MHz\' '/ | ||
- | |||
- | ===== Partition Information ===== | ||
- | |||
- | * Both commands present the same information | ||
- | |||
- | df -hT | ||
- | |||
- | df --human-readable --print-type | ||
- | |||
- | ===== Privacy ===== | ||
- | |||
- | ==== Clear Terminal History ==== | ||
- | |||
- | **** | ||
- | |||
- | history -cw | ||
- | |||
- | ==== Create 7z Password Archive ==== | ||
- | |||
- | * Change '' | ||
- | * Change '' | ||
- | * Change '' | ||
- | |||
- | sudo apt install ' | ||
- | |||
- | 7za a ' | ||
- | |||
- | 7za a ' | ||
- | |||
- | ==== Remove EXIF data ==== | ||
- | |||
- | sudo apt install ' | ||
- | |||
- | exiftool -all= *.* -overwrite_original |
/var/www/wiki/data/attic/distros/ubuntu_desktop_test.1632672667.txt.gz · Last modified: 2021/09/26 12:11 by Sean Rhone