distros:fedora_workstation_gnome
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| distros:fedora_workstation_gnome [2020/03/25 09:54] – Sean Rhone | distros:fedora_workstation_gnome [2024/08/13 17:03] (current) – removed Sean Rhone | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Information ====== | ||
| - | * Fedora Workstation ((https:// | ||
| - | * 31 | ||
| - | * 32 Beta | ||
| - | |||
| - | ====== Issues ====== | ||
| - | |||
| - | * KeePassXC loads databases slower specifically on Fedora vs other distros ((https:// | ||
| - | |||
| - | ====== Download ====== | ||
| - | |||
| - | ===== Workstation ===== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | ===== Updated Live Images ===== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | ====== Installation Notes ====== | ||
| - | |||
| - | * '' | ||
| - | * Remove ''/ | ||
| - | |||
| - | ====== HOSTS ====== | ||
| - | |||
| - | * https:// | ||
| - | * Using '' | ||
| - | |||
| - | wget -O '/ | ||
| - | |||
| - | cat '/ | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | ===== RoE LAN ===== | ||
| - | |||
| - | * This adds RoE sites to HOSTS file and allows resources to be grabbed over LAN | ||
| - | * Useful for doing significant configurations with sites on LAN | ||
| - | |||
| - | echo -e '\n# RoE LAN\n192.168.1.153 realmofespionage.xyz\n192.168.1.153 social.realmofespionage.xyz\n192.168.1.153 blog.realmofespionage.xyz\n192.168.1.153 media.realmofespionage.xyz\n192.168.1.153 wiki.realmofespionage.xyz' | ||
| - | |||
| - | ====== DNF ====== | ||
| - | |||
| - | * Disables Delta RPMs with '' | ||
| - | |||
| - | cat '/ | ||
| - | |||
| - | ====== Repositories ====== | ||
| - | |||
| - | ===== su ===== | ||
| - | |||
| - | * Useful for fresh installations where repo(s) can be added, and then package updates can be ran afterwards unattended without having '' | ||
| - | |||
| - | sudo su | ||
| - | |||
| - | ===== RPM Fusion ===== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | ==== free ==== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | sudo rpm --import ' | ||
| - | |||
| - | ==== nonfree ==== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | sudo rpm --import ' | ||
| - | |||
| - | ===== RawhideKernelNodebug ===== | ||
| - | |||
| - | * https:// | ||
| - | * https:// | ||
| - | |||
| - | sudo dnf config-manager --add-repo=' | ||
| - | |||
| - | ===== gloriouseggroll/ | ||
| - | |||
| - | * https:// | ||
| - | * :!: TODO: Figure out vim or just add this after installing '' | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | < | ||
| - | [kernel-fsync] | ||
| - | name=Copr repo for kernel owned by gloriouseggroll | ||
| - | baseurl=https:// | ||
| - | type=rpm-md | ||
| - | skip_if_unavailable=True | ||
| - | gpgcheck=1 | ||
| - | gpgkey=https:// | ||
| - | repo_gpgcheck=0 | ||
| - | enabled=1 | ||
| - | enabled_metadata=1 | ||
| - | priority=1</ | ||
| - | |||
| - | ====== Software ====== | ||
| - | |||
| - | ===== Update ===== | ||
| - | |||
| - | ==== System ==== | ||
| - | |||
| - | * The initial '' | ||
| - | |||
| - | sudo dnf distro-sync -y && sync | ||
| - | |||
| - | sudo dnf autoremove | ||
| - | |||
| - | === Autoremove Fix === | ||
| - | |||
| - | * Removes the initially-installed kernel in order to fix ``dnf autoremove`` | ||
| - | * :!: This will vary depending on the Fedora image version used | ||
| - | |||
| - | sudo dnf list --installed ' | ||
| - | |||
| - | sudo dnf remove *5.3.7* && sync | ||
| - | |||
| - | ==== Firmware ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | sudo fwupdmgr refresh --force && sudo fwupdmgr update --verbose | ||
| - | |||
| - | ==== Flatpaks ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | flatpak update && sudo flatpak update | ||
| - | |||
| - | ===== GNU nano ===== | ||
| - | |||
| - | * Installs '' | ||
| - | * Sets '' | ||
| - | * Sets '' | ||
| - | |||
| - | sudo dnf install ' | ||
| - | |||
| - | ===== RPM Fusion Initial ===== | ||
| - | |||
| - | * https:// | ||
| - | * Covers AppStream data and missing Multimedia packages | ||
| - | |||
| - | sudo dnf groupupdate core multimedia sound-and-video && sync | ||
| - | |||
| - | ===== General ===== | ||
| - | |||
| - | * '' | ||
| - | |||
| - | sudo dnf install filezilla keepassxc p7zip p7zip-plugins unar aria2 gimp transmission-gtk hdparm nano htop wget irqbalance evolution flashrom lm_sensors | ||
| - | |||
| - | ===== RPM Fusion ===== | ||
| - | |||
| - | ==== free ==== | ||
| - | |||
| - | * '' | ||
| - | |||
| - | ffmpeg mpv | ||
| - | |||
| - | ==== nonfree ==== | ||
| - | |||
| - | steam | ||
| - | |||
| - | akmod-nvidia | ||
| - | |||
| - | ===== Game Controllers ===== | ||
| - | |||
| - | * Necessary for Xbox 360 controllers, | ||
| - | |||
| - | kernel-modules-extra | ||
| - | |||
| - | ===== VA-API ===== | ||
| - | |||
| - | * '' | ||
| - | * '' | ||
| - | * '' | ||
| - | |||
| - | libva-intel-driver intel-media-driver | ||
| - | |||
| - | libva-utils | ||
| - | |||
| - | ===== ckb-next ===== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | ckb-next | ||
| - | |||
| - | ===== Keybase ===== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | ' | ||
| - | |||
| - | ===== Wine ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | wine winetricks | ||
| - | |||
| - | ===== Tor Browser ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | torbrowser-launcher | ||
| - | |||
| - | ===== Google Chrome ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | sudo rpm --import ' | ||
| - | |||
| - | ====== Settings ====== | ||
| - | |||
| - | ===== Keyboard Shortcuts ===== | ||
| - | |||
| - | gnome-terminal | ||
| - | |||
| - | bash -c " | ||
| - | |||
| - | gnome-terminal --command "sudo sh -c 'dnf clean ' | ||
| - | |||
| - | ==== Keys ==== | ||
| - | |||
| - | * Listed respectively to above | ||
| - | |||
| - | * Ctrl + Alt + T | ||
| - | * Ctrl + Alt + Z | ||
| - | * Pause or F7 | ||
| - | |||
| - | ===== Printer ===== | ||
| - | |||
| - | * http:// | ||
| - | |||
| - | * :!: Select the '' | ||
| - | * 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 ===== | ||
| - | |||
| - | ==== DNS ==== | ||
| - | |||
| - | === Cloudflare === | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | 1.1.1.1, | ||
| - | |||
| - | 2606: | ||
| - | |||
| - | === UncensoredDNS === | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | 89.233.43.71, | ||
| - | |||
| - | 2a01: | ||
| - | |||
| - | === OpenNIC Anycast === | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | 185.121.177.177, | ||
| - | |||
| - | 2a05: | ||
| - | |||
| - | ==== VPN.AC ==== | ||
| - | |||
| - | * See [[information: | ||
| - | * :!: If using this VPN, disable IPv6 from NetworkManager | ||
| - | |||
| - | ===== Nautilus ===== | ||
| - | |||
| - | * Sort folders before files | ||
| - | * 4096 MB File Previews | ||
| - | |||
| - | ===== Rhythmbox ===== | ||
| - | |||
| - | * See [[Information: | ||
| - | |||
| - | ===== Terminal ===== | ||
| - | |||
| - | * 10-notch Transparency | ||
| - | |||
| - | ===== Environment Variables ===== | ||
| - | |||
| - | ==== iHD VA-API ==== | ||
| - | |||
| - | * [[https:// | ||
| - | * Requires '' | ||
| - | * :!: Requires HuC firmware loaded for " | ||
| - | |||
| - | echo ' | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | === Verify === | ||
| - | |||
| - | * Default: '' | ||
| - | * iHD: '' | ||
| - | |||
| - | vainfo | grep ' | ||
| - | |||
| - | LIBVA_DRIVER_NAME=' | ||
| - | |||
| - | ===== Kernel Options ===== | ||
| - | |||
| - | ==== Magic SysRq key ==== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | echo ' | ||
| - | |||
| - | ==== Swap ==== | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | echo -e ' | ||
| - | |||
| - | === Verify === | ||
| - | |||
| - | * '' | ||
| - | * '' | ||
| - | |||
| - | sysctl ' | ||
| - | |||
| - | ===== GRUB ===== | ||
| - | |||
| - | ==== Config ==== | ||
| - | |||
| - | === UEFI === | ||
| - | |||
| - | **** | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | === Legacy === | ||
| - | |||
| - | **** | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | === grubby === | ||
| - | |||
| - | * Add commands within '' | ||
| - | * :!: For whatever reason, '' | ||
| - | |||
| - | sudo grubby --update-kernel=' | ||
| - | |||
| - | ==== Kernel Parameters ==== | ||
| - | |||
| - | === Other Parameters === | ||
| - | |||
| - | * See [[notes: | ||
| - | |||
| - | === Spinesnap === | ||
| - | |||
| - | * Last updated: 2020/01/19 | ||
| - | * :!: With '' | ||
| - | |||
| - | i915.enable_fbc=1 i915.fastboot=1 modprobe.blacklist=iTCO_wdt, | ||
| - | |||
| - | i915.enable_guc=3 | ||
| - | |||
| - | == NVIDIA == | ||
| - | |||
| - | * Last updated: 2020/02/16 | ||
| - | * '' | ||
| - | |||
| - | , | ||
| - | |||
| - | i915.enable_fbc=1 i915.fastboot=1 nowatchdog | ||
| - | |||
| - | ===== GNOME ===== | ||
| - | |||
| - | ==== Extensions ==== | ||
| - | |||
| - | === Top Panel Workspace Scroll === | ||
| - | |||
| - | * https:// | ||
| - | |||
| - | rm -Rf ~/' | ||
| - | |||
| - | == Uninstall == | ||
| - | |||
| - | **** | ||
| - | |||
| - | gnome-extensions disable ' | ||
| - | |||
| - | ==== Disable Wayland ==== | ||
| - | |||
| - | cat '/ | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | ==== Root GUI Apps in Wayland ==== | ||
| - | |||
| - | * Run this before running GUI applications requiring root | ||
| - | * This needs re-ran after session restart | ||
| - | * TODO: Is this even needed anymore? | ||
| - | |||
| - | xhost +LOCAL: | ||
| - | |||
| - | ==== Settings ==== | ||
| - | |||
| - | === All-in-one === | ||
| - | |||
| - | * Last updated: 2019/12/23 | ||
| - | |||
| - | gsettings set ' | ||
| - | |||
| - | === Individual === | ||
| - | |||
| - | * Last updated: 2019/12/23 | ||
| - | |||
| - | gsettings set ' | ||
| - | |||
| - | gsettings set ' | ||
| - | |||
| - | gsettings set ' | ||
| - | |||
| - | gsettings set ' | ||
| - | |||
| - | gsettings set ' | ||
| - | |||
| - | gsettings set ' | ||
| - | |||
| - | gsettings set ' | ||
| - | |||
| - | gsettings set ' | ||
| - | |||
| - | gsettings set ' | ||
| - | |||
| - | gsettings set ' | ||
| - | |||
| - | gsettings set ' | ||
| - | |||
| - | ===== Hostname ===== | ||
| - | |||
| - | * Change '' | ||
| - | |||
| - | hostnamectl set-hostname ' | ||
| - | |||
| - | ===== KeePassXC ===== | ||
| - | |||
| - | ==== Settings ==== | ||
| - | |||
| - | * General -> [ ] Load previous databases on startup | ||
| - | |||
| - | ==== Add Database Password to GNOME Keyring ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | secret-tool store --label=' | ||
| - | |||
| - | ===== lm_sensors ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | sudo sensors-detect --auto | ||
| - | |||
| - | ===== mpv ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | mkdir -p ~/' | ||
| - | |||
| - | ===== 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 ===== | ||
| - | |||
| - | * See [[notes: | ||
| - | |||
| - | ===== Secure Shell ===== | ||
| - | |||
| - | * See [[Clients: | ||
| - | |||
| - | ===== TRIM ===== | ||
| - | |||
| - | ==== Swap ==== | ||
| - | |||
| - | * Add '' | ||
| - | * According to the '' | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | ,discard | ||
| - | |||
| - | ==== Service ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | sudo systemctl enable ' | ||
| - | |||
| - | ===== Wine ===== | ||
| - | |||
| - | * See [[notes: | ||
| - | |||
| - | ====== Xorg ====== | ||
| - | |||
| - | * See [[notes: | ||
| - | |||
| - | ===== Spinesnap ===== | ||
| - | |||
| - | ==== NVIDIA ==== | ||
| - | |||
| - | * Sets pre-rendered frames from the default to 1 | ||
| - | * Apparently reduces CPU usage for desktop environments rendered with the NVIDIA GPU | ||
| - | * May smooth-out framerates when turning the camera in FFXIV | ||
| - | |||
| - | echo ' | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | ==== intel + nouveau ==== | ||
| - | |||
| - | sudo dnf install xorg-x11-drv-intel xorg-x11-drv-nouveau -y && sudo -e '/ | ||
| - | |||
| - | < | ||
| - | Section " | ||
| - | Identifier | ||
| - | MatchDriver " | ||
| - | Driver " | ||
| - | Option " | ||
| - | Option " | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | Identifier | ||
| - | MatchDriver " | ||
| - | Driver " | ||
| - | Option " | ||
| - | EndSection</ | ||
| - | |||
| - | ===== Nightwane ===== | ||
| - | |||
| - | * The '' | ||
| - | |||
| - | sudo dnf install ' | ||
| - | |||
| - | < | ||
| - | Section " | ||
| - | Identifier | ||
| - | Modeline " | ||
| - | Option | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | Identifier | ||
| - | MatchDriver " | ||
| - | Driver | ||
| - | Option | ||
| - | Option | ||
| - | Option | ||
| - | Option | ||
| - | EndSection</ | ||
| - | |||
| - | ====== Mozilla Firefox ====== | ||
| - | |||
| - | ===== Settings ===== | ||
| - | |||
| - | ==== Environment Variables ==== | ||
| - | |||
| - | * Enables hardware acceleration, | ||
| - | * :!: WebRenderer requires the previous '' | ||
| - | |||
| - | echo -e ' | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | ==== Default Profile ==== | ||
| - | |||
| - | rm -fv '/ | ||
| - | |||
| - | < | ||
| - | [General] | ||
| - | StartWithLastProfile=1 | ||
| - | |||
| - | [Profile0] | ||
| - | Name=default | ||
| - | IsRelative=1 | ||
| - | Path=CHANGEME | ||
| - | Default=1</ | ||
| - | |||
| - | ==== user.js ==== | ||
| - | |||
| - | * Last updated: 2020/03/14 | ||
| - | |||
| - | rm -fv '/ | ||
| - | |||
| - | < | ||
| - | / | ||
| - | * Hardware-specific * | ||
| - | | ||
| - | |||
| - | user_pref(" | ||
| - | |||
| - | / | ||
| - | * General * | ||
| - | | ||
| - | |||
| - | user_pref(" | ||
| - | user_pref(" | ||
| - | |||
| - | user_pref(" | ||
| - | user_pref(" | ||
| - | user_pref(" | ||
| - | |||
| - | user_pref(" | ||
| - | user_pref(" | ||
| - | user_pref(" | ||
| - | user_pref(" | ||
| - | user_pref(" | ||
| - | user_pref(" | ||
| - | |||
| - | / | ||
| - | * Privacy * | ||
| - | | ||
| - | |||
| - | user_pref(" | ||
| - | user_pref(" | ||
| - | user_pref(" | ||
| - | user_pref(" | ||
| - | user_pref(" | ||
| - | user_pref(" | ||
| - | user_pref(" | ||
| - | |||
| - | user_pref(" | ||
| - | |||
| - | /******* | ||
| - | * U2F * | ||
| - | | ||
| - | |||
| - | user_pref(" | ||
| - | |||
| - | /******* | ||
| - | * END * | ||
| - | | ||
| - | |||
| - | === VPN === | ||
| - | |||
| - | * :!: Add if using a VPN in order to prevent local IP address leaking | ||
| - | * :!: IPv6 is disabled in order to prevent WebRTC from grabbing an IPv6 address even though NetworkManager has it disabled... | ||
| - | * :!: '' | ||
| - | |||
| - | < | ||
| - | / | ||
| - | * Privacy * | ||
| - | | ||
| - | |||
| - | user_pref(" | ||
| - | user_pref(" | ||
| - | |||
| - | ==== Apply Settings ==== | ||
| - | |||
| - | * '' | ||
| - | * :!: If Firefox doesn' | ||
| - | |||
| - | ls '/ | ||
| - | |||
| - | ===== Extensions ===== | ||
| - | |||
| - | ==== Download ==== | ||
| - | |||
| - | * Decentraleyes | ||
| - | * HTTPS Everywhere | ||
| - | * Privacy Possum | ||
| - | * Cookie AutoDelete | ||
| - | * uBlock Origin | ||
| - | |||
| - | gio open ' | ||
| - | |||
| - | ==== 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+) | ||
| - | |||
| - | ==== HTTPS Everywhere ==== | ||
| - | |||
| - | * Encrypt All Sites Eligible -> On | ||
| - | |||
| - | ==== uBlock Origin ==== | ||
| - | |||
| - | === Settings === | ||
| - | |||
| - | * [x] Prevent WebRTC from leaking local IP addresses | ||
| - | |||
| - | === Filter lists === | ||
| - | |||
| - | * [ ] Ads -> EasyList ((uncheck; included in '' | ||
| - | * [ ] Privacy -> EasyPrivacy ((uncheck; included in '' | ||
| - | |||
| - | * Multipurpose -> [x] Dan Pollock' | ||
| - | * 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:// | ||
| - | |||
| - | ===== Testing Sites ===== | ||
| - | |||
| - | * https:// | ||
| - | * https:// | ||
| - | * https:// | ||
| - | * 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 | ||
| - | |||
| - | 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 | ||
| - | |||
| - | ===== Re-generate Thumbnails ===== | ||
| - | |||
| - | **** | ||
| - | |||
| - | rm -Rf ~/' | ||
| - | |||
| - | ===== List GNOME gsettings ===== | ||
| - | |||
| - | * Change '' | ||
| - | |||
| - | gsettings list-recursively ' | ||
| - | |||
| - | ===== 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 apt install ' | ||
| - | |||
| - | ===== 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 dnf install ' | ||
| - | |||
| - | sudo hdparm -I '/ | ||
| - | |||
| - | systemctl suspend | ||
| - | |||
| - | ==== ATA Secure Erase ==== | ||
| - | |||
| - | sudo blkdiscard --verbose '/ | ||
| - | |||
| - | sudo hdparm --user-master u --security-set-pass ' | ||
| - | |||
| - | sudo hdparm --user-master u --security-set-pass ' | ||
| - | |||
| - | ===== 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 ==== | ||
| - | |||
| - | **** | ||
| - | |||
| - | 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 '/ | ||
| - | |||
| - | ===== 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 '' | ||
| - | * Change '' | ||
| - | |||
| - | 7za a ' | ||
| - | |||
| - | 7za a ' | ||
| - | |||
| - | ===== oathtool ===== | ||
| - | |||
| - | * '' | ||
| - | |||
| - | sudo dnf install ' | ||
| - | |||
| - | oathtool --totp -b ' | ||
| - | |||
| - | ===== Remove EXIF data ===== | ||
| - | |||
| - | sudo dnf install ' | ||
| - | |||
| - | exiftool -all= *.* -overwrite_original | ||
/srv/www/wiki/data/attic/distros/fedora_workstation_gnome.1585144466.txt.gz · Last modified: by Sean Rhone
