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 [2019/09/11 07:43] – Sean Rhone | distros:fedora_workstation_gnome [2024/08/13 17:03] (current) – removed Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Information ====== | ||
- | * Fedora Workstation ((https:// | ||
- | * 30 | ||
- | |||
- | ====== TODO ====== | ||
- | |||
- | * https:// | ||
- | |||
- | ====== Download ====== | ||
- | |||
- | ===== Workstation ===== | ||
- | |||
- | * https:// | ||
- | |||
- | ===== Updated Live Images ===== | ||
- | |||
- | * https:// | ||
- | |||
- | ====== Installation Notes ====== | ||
- | |||
- | * '' | ||
- | * Remove ''/ | ||
- | |||
- | ====== HOSTS ====== | ||
- | |||
- | * https:// | ||
- | * Using '' | ||
- | |||
- | sudo 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 large configurations with sites on local 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=' | ||
- | |||
- | ===== pp3345/ | ||
- | |||
- | * https:// | ||
- | |||
- | sudo dnf copr enable ' | ||
- | |||
- | ===== gloriouseggroll/ | ||
- | |||
- | * https:// | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | ====== Software ====== | ||
- | |||
- | ===== Update ===== | ||
- | |||
- | ==== System ==== | ||
- | |||
- | * The initial '' | ||
- | * '' | ||
- | |||
- | sudo dnf distro-sync -y && sync | ||
- | |||
- | sudo dnf autoremove -y | ||
- | |||
- | ==== Firmware ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo fwupdmgr refresh && 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 | ||
- | |||
- | ===== RPM Fusion ===== | ||
- | |||
- | ==== free ==== | ||
- | |||
- | * '' | ||
- | |||
- | ffmpeg mpv | ||
- | |||
- | ==== nonfree ==== | ||
- | |||
- | * :!: Spinesnap needs '' | ||
- | |||
- | steam | ||
- | |||
- | broadcom-wl | ||
- | |||
- | ===== Game Controllers ===== | ||
- | |||
- | * Necessary for Xbox 360 controllers, | ||
- | |||
- | kernel-modules-extra | ||
- | |||
- | ===== VA-API ===== | ||
- | |||
- | * '' | ||
- | |||
- | gstreamer1-vaapi | ||
- | |||
- | libva-intel-driver | ||
- | |||
- | ===== ckb-next ===== | ||
- | |||
- | * https:// | ||
- | |||
- | ckb-next | ||
- | |||
- | ===== Keybase ===== | ||
- | |||
- | * https:// | ||
- | |||
- | ' | ||
- | |||
- | ===== Wine ===== | ||
- | |||
- | **** | ||
- | |||
- | wine winetricks | ||
- | |||
- | ===== Tor Browser ===== | ||
- | |||
- | **** | ||
- | |||
- | torbrowser-launcher | ||
- | |||
- | ===== Google Chrome ===== | ||
- | |||
- | **** | ||
- | |||
- | sudo rpm --import ' | ||
- | |||
- | ====== Settings ====== | ||
- | |||
- | ===== Keyboard Shortcuts ===== | ||
- | |||
- | * As of 2019/08/29, '' | ||
- | |||
- | 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 ==== | ||
- | |||
- | === 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 | ||
- | |||
- | ===== GRUB ===== | ||
- | |||
- | ==== grubby ==== | ||
- | |||
- | * Add commands within '' | ||
- | |||
- | sudo grubby --update-kernel=' | ||
- | |||
- | === Error Fix === | ||
- | |||
- | * https:// | ||
- | * :!: This only applies to Legacy/MBR installs | ||
- | |||
- | sudo grub2-install '/ | ||
- | |||
- | ==== Other Parameters ==== | ||
- | |||
- | * See [[notes: | ||
- | |||
- | ==== AIO ==== | ||
- | |||
- | === Spinesnap === | ||
- | |||
- | * Last updated: 2019/09/07 | ||
- | |||
- | scsi_mod.use_blk_mq=y dm_mod.use_blk_mq=y i915.enable_fbc=1 i915.fastboot=1 i915.enable_psr=1 usbcore.quirks=1b1c: | ||
- | |||
- | ==== blk_mq ==== | ||
- | |||
- | **** | ||
- | |||
- | scsi_mod.use_blk_mq=y dm_mod.use_blk_mq=y | ||
- | |||
- | ==== Reboot ==== | ||
- | |||
- | * '' | ||
- | * '' | ||
- | * There are other values possible should either of those not work | ||
- | |||
- | reboot=pci | ||
- | |||
- | reboot=efi | ||
- | |||
- | ==== i915 ==== | ||
- | |||
- | **** | ||
- | |||
- | i915.enable_fbc=1 i915.fastboot=1 i915.enable_psr=1 | ||
- | |||
- | ==== amdgpu ==== | ||
- | |||
- | * Allows use of Overdrive options for overclocking | ||
- | |||
- | amdgpu.ppfeaturemask=0xffffffff | ||
- | |||
- | === Verify === | ||
- | |||
- | **** | ||
- | |||
- | cat '/ | ||
- | |||
- | ==== Corsair USB Quirks ==== | ||
- | |||
- | * https:// | ||
- | |||
- | usbcore.quirks=1b1c: | ||
- | |||
- | ==== PCI ==== | ||
- | |||
- | **** | ||
- | |||
- | pci=nocrs, | ||
- | |||
- | ==== IOMMU ==== | ||
- | |||
- | **** | ||
- | |||
- | intel_iommu=on | ||
- | |||
- | ==== Blacklist Watchdogs ==== | ||
- | |||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * Apparently this reduces power usage slightly | ||
- | |||
- | modprobe.blacklist=iTCO_wdt, | ||
- | |||
- | ===== GNOME ===== | ||
- | |||
- | ==== 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 | ||
- | |||
- | xhost +LOCAL: | ||
- | |||
- | ==== Settings ==== | ||
- | |||
- | === All-in-one === | ||
- | |||
- | * Last updated: 2019/09/05 | ||
- | |||
- | gsettings set ' | ||
- | |||
- | === Individual === | ||
- | |||
- | * Last updated: 2019/08/29 | ||
- | |||
- | 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=' | ||
- | |||
- | ===== mpv ===== | ||
- | |||
- | * https:// | ||
- | |||
- | mkdir -p ~/' | ||
- | |||
- | ===== NetworkManager ===== | ||
- | |||
- | * '' | ||
- | * :!: '' | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | [device-mac-randomization] | ||
- | wifi.scan-rand-mac-address=yes | ||
- | |||
- | [connection-mac-randomization] | ||
- | ethernet.cloned-mac-address=random | ||
- | wifi.cloned-mac-address=random | ||
- | |||
- | [connection] | ||
- | wifi.powersave=2</ | ||
- | |||
- | ==== Spinesnap ==== | ||
- | |||
- | * https:// | ||
- | * https:// | ||
- | * Requires '' | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | [device] | ||
- | match-device=driver: | ||
- | wifi.scan-rand-mac-address=no | ||
- | |||
- | [connection] | ||
- | wifi.powersave=2</ | ||
- | |||
- | ===== Laptop Power Management ===== | ||
- | |||
- | * See [[notes: | ||
- | |||
- | ===== Secure Shell ===== | ||
- | |||
- | * See [[Clients: | ||
- | |||
- | ===== Solo Key ===== | ||
- | |||
- | ==== Information ==== | ||
- | |||
- | * https:// | ||
- | * Usable as authentication for GDM and '' | ||
- | |||
- | ==== PAM ==== | ||
- | |||
- | === Dependencies === | ||
- | |||
- | **** | ||
- | |||
- | sudo dnf install pamu2fcfg pam-u2f | ||
- | |||
- | === Centralized Key === | ||
- | |||
- | **** | ||
- | |||
- | pamu2fcfg > ~/' | ||
- | |||
- | === GDM === | ||
- | |||
- | * Add to line 2, under the '' | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | auth sufficient pam_u2f.so authfile=/ | ||
- | |||
- | === sudo === | ||
- | |||
- | * Add to line 2, under the ''# | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | auth sufficient pam_u2f.so authfile=/ | ||
- | |||
- | ===== Swappiness ===== | ||
- | |||
- | echo " | ||
- | |||
- | cat '/ | ||
- | |||
- | ===== systemd ===== | ||
- | |||
- | * Log data is stored in volatile storage | ||
- | * Max log file sizes of '' | ||
- | |||
- | sudo mkdir -p '/ | ||
- | |||
- | ===== TRIM ===== | ||
- | |||
- | ==== Swap ==== | ||
- | |||
- | * Add '' | ||
- | * According to the '' | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | ,discard | ||
- | |||
- | ==== Service ==== | ||
- | |||
- | **** | ||
- | |||
- | sudo systemctl enable ' | ||
- | |||
- | ===== Wine ===== | ||
- | |||
- | * See [[notes: | ||
- | |||
- | ====== Computer-specific ====== | ||
- | |||
- | ===== Nightwane ===== | ||
- | |||
- | ==== Volume ==== | ||
- | |||
- | **** | ||
- | |||
- | alsamixer | ||
- | |||
- | ==== Fan Control ==== | ||
- | |||
- | * Expects an ASUS KCMA-D8 motherboard | ||
- | * If OpenBMC is figured out, this may be superseded | ||
- | * :!: Answer '' | ||
- | |||
- | sudo dnf install ' | ||
- | |||
- | < | ||
- | INTERVAL=10 | ||
- | DEVNAME=/ | ||
- | |||
- | FCTEMPS=/ | ||
- | FCFANS=/ | ||
- | |||
- | MINTEMP=/ | ||
- | MAXTEMP=/ | ||
- | |||
- | MINSTART=/ | ||
- | MINSTOP=/ | ||
- | |||
- | ==== Custom Resolution ==== | ||
- | |||
- | === Generate Modeline === | ||
- | |||
- | * 4k@60Hz CVT-RB | ||
- | * Fixes unstable HDMI at 4K@60Hz, and overly-bright colors on DisplayPort | ||
- | * :!: The '' | ||
- | * :!: This cannot be used on Wayland currently | ||
- | * :!: This expects '' | ||
- | |||
- | cvt --verbose --reduced ' | ||
- | |||
- | === xorg.conf Snippet === | ||
- | |||
- | * :!: '' | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | Section " | ||
- | Identifier | ||
- | Modeline " | ||
- | Option | ||
- | EndSection</ | ||
- | |||
- | ===== Spinesnap ===== | ||
- | |||
- | * :!: Using an AMD eGPU with a display attached doesn' | ||
- | * TODO: If '' | ||
- | |||
- | sudo dnf install xorg-x11-drv-intel xorg-x11-drv-amdgpu -y && sudo -e '/ | ||
- | |||
- | < | ||
- | Section " | ||
- | Identifier | ||
- | Modeline " | ||
- | Option | ||
- | EndSection | ||
- | |||
- | Section " | ||
- | Identifier | ||
- | MatchDriver " | ||
- | Driver | ||
- | Option | ||
- | Option | ||
- | EndSection | ||
- | |||
- | Section " | ||
- | Identifier | ||
- | MatchDriver " | ||
- | Driver | ||
- | Option | ||
- | Option | ||
- | EndSection</ | ||
- | |||
- | ===== Deep Color ===== | ||
- | |||
- | * The lack-of quotes around '' | ||
- | * :!: This may cause minor issues with programs not expecting 30-bit color ((GpuTest' | ||
- | * :!: This can cause games in Wine to not start under some circumstances ((FFXIV crashes on start-up due to a DirectX error)) | ||
- | |||
- | sudo -e '/ | ||
- | |||
- | < | ||
- | Section " | ||
- | Identifier | ||
- | DefaultDepth | ||
- | EndSection</ | ||
- | |||
- | ===== Graphics xorg.conf ===== | ||
- | |||
- | ==== intel ==== | ||
- | |||
- | sudo dnf install ' | ||
- | |||
- | < | ||
- | Section " | ||
- | Identifier | ||
- | MatchDriver " | ||
- | Driver | ||
- | Option | ||
- | Option | ||
- | EndSection</ | ||
- | |||
- | ==== amdgpu ==== | ||
- | |||
- | * :!: '' | ||
- | |||
- | sudo dnf install ' | ||
- | |||
- | < | ||
- | Section " | ||
- | Identifier | ||
- | MatchDriver " | ||
- | Driver | ||
- | Option | ||
- | Option | ||
- | EndSection</ | ||
- | |||
- | ==== radeon ==== | ||
- | |||
- | * Expects pre-SI GPUs ((HD6000 series and lower, and non-SI HD7000 series)) | ||
- | * For SI, CIK, and newer GPUs, use '' | ||
- | * :!: This was changed to a new syntax and untested as of 2019/08/23 | ||
- | |||
- | sudo dnf install ' | ||
- | |||
- | < | ||
- | Section " | ||
- | Identifier | ||
- | MatchDriver " | ||
- | Driver | ||
- | Option | ||
- | Option | ||
- | Option | ||
- | Option | ||
- | EndSection</ | ||
- | |||
- | ====== Mozilla Firefox ====== | ||
- | |||
- | ===== Settings ===== | ||
- | |||
- | ==== Environment Variables ==== | ||
- | |||
- | * Enables hardware acceleration and use of WebRenderer | ||
- | * :!: WebRenderer requires the previous '' | ||
- | |||
- | echo -e ' | ||
- | |||
- | ==== Default Profile ==== | ||
- | |||
- | rm -fv '/ | ||
- | |||
- | < | ||
- | [General] | ||
- | StartWithLastProfile=1 | ||
- | |||
- | [Profile0] | ||
- | Name=default | ||
- | IsRelative=1 | ||
- | Path=CHANGEME | ||
- | Default=1</ | ||
- | |||
- | ==== user.js ==== | ||
- | |||
- | * Last updated: 2019/04/05 | ||
- | * :!: IPv6 is disabled in order to prevent WebRTC from grabbing an IPv6 address even though NetworkManager has it disabled... | ||
- | * :!: '' | ||
- | |||
- | rm -fv '/ | ||
- | |||
- | < | ||
- | / | ||
- | * General * | ||
- | | ||
- | |||
- | user_pref(" | ||
- | user_pref(" | ||
- | |||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | |||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | user_pref(" | ||
- | |||
- | /******* | ||
- | * U2F * | ||
- | | ||
- | |||
- | user_pref(" | ||
- | |||
- | / | ||
- | * Privacy * | ||
- | | ||
- | |||
- | user_pref(" | ||
- | user_pref(" | ||
- | |||
- | /******* | ||
- | * END * | ||
- | | ||
- | |||
- | ==== 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+) | ||
- | |||
- | ==== 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:// | ||
- | |||
- | ====== 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 / | ||
- | |||
- | === 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 |
C:/www/wiki/data/attic/distros/fedora_workstation_gnome.1568202198.txt.gz · Last modified: by Sean Rhone