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/11/09 15:24] – Sean Rhone | distros:fedora_workstation_gnome [2024/05/02 03:13] (current) – Sean Rhone | ||
---|---|---|---|
Line 2: | Line 2: | ||
* Fedora Workstation ((https:// | * Fedora Workstation ((https:// | ||
- | * 31 | + | * 40 |
- | ====== | + | ====== |
- | * KeePassXC loads databases slower specifically on Fedora | + | ===== Fedora |
- | ====== TODO ====== | + | |
- | + | ||
- | | + | |
- | + | ||
- | ====== Download ====== | + | |
===== Workstation ===== | ===== Workstation ===== | ||
Line 19: | Line 15: | ||
===== Updated Live Images ===== | ===== Updated Live Images ===== | ||
+ | |||
+ | * [[https:// | ||
* https:// | * https:// | ||
+ | * 2024/04/29: This is still offering F39 images currently | ||
====== Installation Notes ====== | ====== Installation Notes ====== | ||
- | * '' | + | ===== ISO Image Write ===== |
- | * Remove ''/ | + | |
- | ====== HOSTS ====== | + | * :!: 2024/04/29: Rufus from Windows 10 wrote F40's Workstation ISO in DD mode to an external HDD and caused media check to fail around 4% |
+ | * :!: Fedora Image Writer [[https:// | ||
- | * https://github.com/StevenBlack/ | + | * 2024/04/29: '' |
- | * Using '' | + | |
- | sudo wget -O '/ | + | ===== Partitioning ===== |
- | | + | |
+ | - :!: Delete | ||
+ | - Set ''/ | ||
+ | - Re-create ''/'' | ||
+ | - Set ''/'' | ||
+ | - :!: See [[notes: | ||
- | sudo -e '/ | + | ====== HOSTS ====== |
- | ===== RoE LAN ===== | + | * https:// |
+ | * Unified hosts + fakenews + gambling | ||
- | * This adds RoE sites to HOSTS file and allows resources to be grabbed over LAN | + | ===== Initial ===== |
- | * Useful for doing large configurations with sites on local LAN | + | |
- | | + | |
- | ====== DNF ====== | + | ls '/ |
- | * Disables Delta RPMs with '' | + | ===== Update ===== |
- | cat '/ | + | **** |
- | ====== Repositories ====== | + | ls '/ |
- | ===== su ===== | + | ===== Restore Backup |
- | | + | **** |
- | sudo su | + | |
- | ===== RPM Fusion | + | ====== DNF ====== |
- | * https:// | + | * Disables Delta RPMs with '' |
- | ==== free ==== | + | echo ' |
- | | + | |
- | sudo rpm --import ' | + | ====== Repositories ====== |
- | ==== nonfree | + | ===== Keybase ===== |
- | * https://download1.rpmfusion.org/ | + | * https://keybase.io/ |
- | sudo rpm --import ' | + | sudo rpm --import ' |
- | ===== RawhideKernelNodebug | + | ===== RPM Fusion |
- | * https://fedoraproject.org/ | + | * https://rpmfusion.org |
- | * https:// | + | * See [[notes:fedora_rpm_fusion|RPM Fusion]] notes |
- | + | ||
- | sudo dnf config-manager --add-repo=' | + | |
====== Software ====== | ====== Software ====== | ||
Line 88: | Line 89: | ||
==== System ==== | ==== System ==== | ||
- | * The initial | + | * See [[notes: |
- | sudo dnf distro-sync | + | sudo dnf autoremove |
- | + | ||
- | 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 remove *5.3.7* | + | |
- | + | ||
- | === Various === | + | |
- | + | ||
- | * Collection of various update and maintenance commands | + | |
- | + | ||
- | sudo dnf clean ' | + | |
- | + | ||
- | | + | |
- | + | ||
- | sudo dnf update | + | |
- | + | ||
- | sudo fwupdmgr refresh && fwupdmgr update | + | |
- | + | ||
- | sudo flatpak update | + | |
- | + | ||
- | sudo rm -Rfv '/ | + | |
- | + | ||
- | sudo wget -O '/ | + | |
- | + | ||
- | sudo fstrim --all --verbose | + | |
==== Firmware ==== | ==== Firmware ==== | ||
Line 125: | Line 97: | ||
**** | **** | ||
- | sudo fwupdmgr refresh && sudo fwupdmgr update --verbose | + | sudo fwupdmgr refresh |
==== Flatpaks ==== | ==== Flatpaks ==== | ||
Line 141: | Line 113: | ||
sudo dnf install ' | sudo dnf install ' | ||
- | ===== RPM Fusion Initial ===== | + | ==== Multimedia |
- | | + | **** |
- | | + | |
- | | + | < |
===== General ===== | ===== General ===== | ||
- | | + | **** |
- | sudo dnf install | + | sudo dnf install |
- | ===== RPM Fusion | + | ===== Google Chrome |
- | + | ||
- | ==== free ==== | + | |
- | + | ||
- | * '' | + | |
- | + | ||
- | ffmpeg mpv | + | |
- | + | ||
- | ==== nonfree | + | |
**** | **** | ||
- | | + | |
- | + | ||
- | ===== Game Controllers ===== | + | |
- | + | ||
- | * Necessary for Xbox 360 controllers, | + | |
- | + | ||
- | kernel-modules-extra | + | |
- | + | ||
- | ===== VA-API ===== | + | |
- | + | ||
- | * '' | + | |
- | + | ||
- | gstreamer1-vaapi | + | |
- | + | ||
- | libva-intel-driver | + | |
- | + | ||
- | ===== ckb-next ===== | + | |
- | + | ||
- | * https:// | + | |
- | + | ||
- | ckb-next | + | |
===== Keybase ===== | ===== Keybase ===== | ||
- | |||
- | * https:// | ||
- | |||
- | ' | ||
- | |||
- | ===== Wine ===== | ||
**** | **** | ||
- | | + | |
- | ===== Tor Browser | + | ===== OBS Studio |
- | **** | + | |
- | | + | |
- | ===== Google Chrome | + | ===== Wine ===== |
- | **** | + | < |
- | sudo rpm --import ' | + | < |
====== Settings ====== | ====== Settings ====== | ||
Line 216: | Line 153: | ||
===== Keyboard Shortcuts ===== | ===== Keyboard Shortcuts ===== | ||
- | | + | < |
- | | + | < |
- | | + | < |
==== Keys ==== | ==== Keys ==== | ||
Line 228: | Line 165: | ||
* Ctrl + Alt + T | * Ctrl + Alt + T | ||
* Ctrl + Alt + Z | * Ctrl + Alt + Z | ||
- | * Pause or F7 | + | * Menu or F6 |
===== Printer ===== | ===== Printer ===== | ||
Line 234: | Line 171: | ||
* http:// | * http:// | ||
- | * :!: Select the '' | + | |
- | * Output | + | |
- | * Print Quality: High-Resolution Photo | + | * Color Mode: Device Gray |
* Administration -> Set As Server Default | * Administration -> Set As Server Default | ||
socket:// | socket:// | ||
- | ===== gedit ===== | + | HP Officejet Pro 8710 |
+ | |||
+ | ==== Info ==== | ||
- | * 4 Tab width | + | * '' |
- | * Insert Spaces for Tab mode | + | * With Firefox, do '' |
+ | * '' | ||
+ | * '' | ||
+ | * https:// | ||
+ | * :!: The IPP option // | ||
===== Network ===== | ===== Network ===== | ||
- | ==== DNS ==== | + | ==== systemd-resolved |
- | === Pi-hole === | + | * systemd-resolved caches DNS |
+ | * [[notes: | ||
- | | + | |
- | === UncensoredDNS === | + | < |
- | + | [Resolve] | |
- | * https:// | + | DNS=9.9.9.9#dns.quad9.net 149.112.112.112# |
- | + | DNSOverTLS=yes</code> | |
- | 89.233.43.71,91.239.100.100 | + | |
- | + | ||
- | 2a01:3a0:53:53::, | + | |
- | + | ||
- | === OpenNIC Anycast === | + | |
- | + | ||
- | * https:// | + | |
- | + | ||
- | 185.121.177.177, | + | |
- | 2a05: | + | === NetworkManager === |
- | ==== VPN.AC ==== | + | < |
- | * See [[information:vpn.ac|VPN.AC]] | + | < |
- | * :!: If using this VPN, disable IPv6 from NetworkManager | + | |
===== Nautilus ===== | ===== Nautilus ===== | ||
- | * Sort folders before files | + | * Sort Folders Before Files |
- | * 4096 MB File Previews | + | |
===== Rhythmbox ===== | ===== Rhythmbox ===== | ||
Line 288: | Line 221: | ||
* 10-notch Transparency | * 10-notch Transparency | ||
- | ===== Transmission | + | ===== Fan Profile |
- | * Blocklist | + | * https:// |
- | | + | |
- | ===== GRUB ===== | + | ===== Kernel Options |
- | ==== grubby | + | ==== Magic SysRq key ==== |
- | * Add commands within '' | + | * https:// |
- | * :!: '' | + | * '' |
- | | + | |
- | ==== GRUB ==== | + | sysctl ' |
- | === UEFI === | + | ===== GRUB ===== |
- | **** | + | ==== Config ==== |
- | | + | |
+ | * Add commands within | ||
- | === Legacy === | + | sudo grubby --update-kernel=' |
- | **** | + | sudo grubby --update-kernel=' |
sudo -e '/ | sudo -e '/ | ||
- | ==== Other Parameters | + | ==== Spinesnap |
- | * See [[notes:kernel_parameters|Kernel Parameters]] for other options | + | * Last updated: 2024/ |
+ | * '' | ||
- | ==== AIO ==== | + | sudo -e '/ |
- | === Spinesnap | + | < |
- | * Last updated: 2019/10/22 | + | ===== GNOME ===== |
- | i915.enable_fbc=1 i915.fastboot=1 pci=nocrs, | + | ==== Disable Wayland ==== |
- | ==== i915 ==== | + | * :!: 2023/07/23: It's been the cause of **far** too many issues and solving nothing while doing it |
- | | + | |
- | i915.enable_psr=1 | + | < |
- | ==== amdgpu ==== | + | < |
- | * Allows use of Overdrive options for overclocking | + | ==== Force evdev ==== |
- | | + | |
- | === Test === | + | ==== Dynamic Wallpaper ==== |
**** | **** | ||
- | | + | |
- | === Verify | + | ==== Extensions ==== |
- | **** | + | === Disable unredirect fullscreen windows === |
- | | + | |
+ | * 2023: This resolves screen tearing with some games on Intel UHD 630 on GNOME on Xorg ((seemingly not required for GNOME on Wayland)) | ||
- | ==== PCI ==== | + | === Hide Top Bar === |
- | **** | + | |
+ | | ||
- | pci=nocrs, | + | ==== External Monitor Settings ==== |
- | ==== IOMMU ==== | + | * This copies the configured monitor settings from the current user to '' |
+ | * Notably useful for setting a laptop' | ||
- | | + | |
- | intel_iommu=on | + | === Undo === |
- | ===== GNOME ===== | + | **** |
- | + | ||
- | ==== Disable Wayland ==== | + | |
- | + | ||
- | cat '/ | + | |
- | + | ||
- | sudo -e '/ | + | |
- | + | ||
- | ==== Root GUI Apps in Wayland ==== | + | |
- | + | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
==== Settings ==== | ==== Settings ==== | ||
Line 385: | Line 311: | ||
=== All-in-one === | === All-in-one === | ||
- | * Last updated: | + | * Last updated: |
- | gsettings set ' | + | |
=== Individual === | === Individual === | ||
- | | + | |
gsettings set ' | gsettings set ' | ||
Line 410: | Line 336: | ||
gsettings set ' | gsettings set ' | ||
+ | |||
+ | gsettings set ' | ||
gsettings set ' | gsettings set ' | ||
gsettings set ' | gsettings set ' | ||
+ | |||
+ | ==== Weather ==== | ||
+ | |||
+ | === Location Fork === | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | * Last tested: 2024/03/31 | ||
+ | |||
+ | wget -O ~/' | ||
===== Hostname ===== | ===== Hostname ===== | ||
Line 426: | Line 364: | ||
* General -> [ ] Load previous databases on startup | * General -> [ ] Load previous databases on startup | ||
+ | * Security -> [x] Use DuckDuckGo service to download website icons | ||
==== Add Database Password to GNOME Keyring ==== | ==== Add Database Password to GNOME Keyring ==== | ||
Line 433: | Line 372: | ||
secret-tool store --label=' | secret-tool store --label=' | ||
- | ===== mpv ===== | + | ===== Keybase |
- | | + | **** |
- | mkdir -p ~/' | + | < |
- | ===== NetworkManager | + | ===== lm_sensors |
- | | + | |
- | * :!: '' | + | |
- | sudo -e '/etc/NetworkManager/conf.d/ | + | sudo -e '/etc/sysconfig/lm_sensors' |
- | < | + | ===== mpv ===== |
- | [device-mac-randomization] | + | |
- | wifi.scan-rand-mac-address=yes | + | |
- | [connection-mac-randomization] | + | mkdir -p ~/'.config/ |
- | ethernet.cloned-mac-address=random | + | |
- | wifi.cloned-mac-address=random | + | |
- | [connection] | + | < |
- | wifi.powersave=2</code> | + | save-position-on-quit |
- | + | sub-auto=fuzzy | |
- | ==== Broadcom ==== | + | force-window=yes |
- | + | profile=gpu-hq | |
- | * https:// | + | scale=ewa_lanczossharp |
- | * https:// | + | cscale=ewa_lanczossharp |
- | * Requires '' | + | video-sync=display-resample |
- | + | interpolation | |
- | sudo -e '/etc/ | + | tscale=oversample< |
< | < | ||
- | [device] | + | hwdec=vaapi |
- | match-device=driver:wl | + | hwdec-codecs=all |
- | wifi.scan-rand-mac-address=no | + | vo=dmabuf-wayland</ |
- | + | ||
- | [connection] | + | |
- | wifi.powersave=2</ | + | |
- | + | ||
- | === Driver Reload === | + | |
- | + | ||
- | * :!: '' | + | |
- | + | ||
- | sudo modprobe -r ' | + | |
- | + | ||
- | ===== Laptop Power Management ===== | + | |
- | + | ||
- | * See [[notes: | + | |
===== Secure Shell ===== | ===== Secure Shell ===== | ||
- | * See [[Clients:Secure Shell|Secure Shell]] | + | * See [[clients:secure_shell|Client]] notes to generate/ |
- | ===== Solo Key ===== | + | ===== Drive Maintenance |
- | ==== Information | + | ==== XFS Scrub ==== |
- | * https://solokeys.com/ | + | * [[https://wiki.archlinux.org/ |
- | * Usable as authentication for GDM and '' | + | |
- | ==== PAM ==== | + | sudo dnf install ' |
- | === Dependencies === | + | sudo systemctl enable ' |
- | **** | + | ==== Trim ==== |
- | + | ||
- | sudo dnf install pamu2fcfg pam-u2f | + | |
- | + | ||
- | === Centralized Key === | + | |
**** | **** | ||
- | | + | |
- | === GDM === | + | ===== UTC ===== |
- | * Add to line 2, under the '' | + | * [[https:// |
+ | * Set RTC to UTC | ||
+ | * :!: Likely needed if Windows was installed first for dual-boot | ||
+ | * :!: Windows should also be set to UTC | ||
- | sudo -e '/ | + | sudo timedatectl set-local-rtc '0' |
- | auth sufficient pam_u2f.so authfile=/ | + | ==== Verify |
- | + | ||
- | === sudo === | + | |
- | + | ||
- | * Add to line 2, under the ''# | + | |
- | + | ||
- | sudo -e '/ | + | |
- | + | ||
- | auth sufficient pam_u2f.so authfile=/ | + | |
- | + | ||
- | ===== TRIM ===== | + | |
- | + | ||
- | ==== Swap ==== | + | |
- | + | ||
- | * Add '' | + | |
- | * According to the '' | + | |
- | + | ||
- | sudo -e '/ | + | |
- | + | ||
- | ,discard | + | |
- | + | ||
- | ==== Service | + | |
**** | **** | ||
- | | + | |
===== Wine ===== | ===== Wine ===== | ||
Line 545: | Line 443: | ||
* See [[notes: | * See [[notes: | ||
- | ====== Computer-specific ====== | + | ===== Xorg/ |
- | ===== Nightwane ===== | + | ==== Display Settings |
- | ==== Volume ==== | + | * This sets Full RGB and other options for a connected display (HDMI) |
+ | * See [[notes: | ||
+ | * This works on Wayland as well as GNOME on Xorg even with Wayland globally-disabled from '' | ||
+ | * :!: The numbers '' | ||
- | * TODO: Change where this is; no longer have this computer | + | * Last updated: 2024/04/29 |
- | | + | sudo dnf install 'drm-utils' -y && sudo -e '/ |
- | + | ||
- | ==== Fan Control ==== | + | |
- | + | ||
- | * TODO: Change where this is; it's not specific to this computer nor fan control | + | |
- | + | ||
- | | + | |
- | + | ||
- | ==== 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 | + | |
- | + | ||
- | === xorg.conf Snippet === | + | |
- | + | ||
- | * :!: '' | + | |
- | + | ||
- | sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf' | + | |
< | < | ||
- | Section " | + | #!/bin/bash |
- | Identifier | + | |
- | Modeline " | + | |
- | Option | + | |
- | EndSection< | + | |
- | ===== Spinesnap ===== | + | # Broadcast RGB (99) to Full (1) |
+ | proptest -M ' | ||
- | * :!: Using an AMD eGPU with a display attached doesn' | + | # content type (107) to Game (4) |
- | * TODO: If '' | + | proptest -M 'i915' |
- | sudo dnf install xorg-x11-drv-intel xorg-x11-drv-amdgpu -y && sudo -e '/etc/X11/xorg.conf.d/ | + | # Colorspace (106) to opRGB (7) |
+ | proptest | ||
- | < | + | # max bpc (108) to 8 |
- | Section " | + | proptest |
- | Identifier | + | |
- | Modeline " | + | |
- | Option | + | |
- | EndSection | + | |
- | Section " | + | # End</ |
- | Identifier | + | |
- | MatchDriver " | + | |
- | Driver | + | |
- | Option | + | |
- | Option | + | |
- | EndSection | + | |
- | Section " | + | ====== Firefox ====== |
- | Identifier | + | |
- | MatchDriver " | + | |
- | Driver | + | |
- | Option | + | |
- | Option | + | |
- | EndSection</ | + | |
- | ===== Deep Color ===== | + | * See [[notes: |
+ | * https:// | ||
- | * The lack-of quotes around '' | + | ===== about:config ===== |
- | * :!: 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)) | + | |
- | * There is no known benefit to enabling this as of 2019/10/22 | + | |
- | | + | |
+ | * :!: '' | ||
- | < | + | layout.frame_rate |
- | Section " | + | |
- | Identifier | + | |
- | DefaultDepth | + | |
- | EndSection</ | + | |
- | ===== Graphics xorg.conf ===== | + | extensions.screenshots.disabled |
- | ==== intel ==== | + | extensions.pocket.enabled |
- | sudo dnf install ' | + | ===== Test ===== |
- | < | + | * :!: 2024/05/01: '' |
- | Section " | + | |
- | Identifier | + | |
- | MatchDriver " | + | |
- | Driver | + | |
- | Option | + | |
- | Option | + | |
- | EndSection< | + | |
- | ==== amdgpu ==== | + | gfx.x11-egl.force-disabled |
- | + | ||
- | * :!: '' | + | |
- | + | ||
- | 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/ | + | |
- | + | ||
- | sudo dnf install 'xorg-x11-drv-ati' | + | |
- | + | ||
- | < | + | |
- | 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: 2019/ | + | |
- | + | ||
- | rm -fv '/ | + | |
- | + | ||
- | < | + | |
- | / | + | |
- | * 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(" | + | |
- | + | ||
- | /******* | + | |
- | * 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 ===== | ===== Extensions ===== | ||
- | ==== Download ==== | + | |
- | + | * [[https:// | |
- | | + | * [[https:// |
- | * HTTPS Everywhere | + | |
- | * Privacy Possum | + | |
- | * Cookie AutoDelete | + | |
- | * uBlock Origin | + | |
- | + | ||
- | gio open 'https:// | + | |
- | + | ||
- | ==== 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 ==== | ==== uBlock Origin ==== | ||
- | === Settings | + | ==== Filters list ==== |
- | | + | **** |
- | + | ||
- | === Filter lists === | + | |
- | + | ||
- | | + | |
- | | + | |
- | + | ||
- | | + | |
- | * 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:// | + | https:// |
- | https:// | + | |
- | https:// | + | |
- | https:// | + | |
- | ===== Testing Sites ===== | + | ==== My filters |
- | + | ||
- | * 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 '/tmp/youtube-dl' && wget -O '/tmp/youtube-dl' | + | < |
+ | ! Hide RuneScape Wiki clocks | ||
+ | ! 2023/12/13 | ||
+ | oldschool.runescape.wiki### | ||
+ | oldschool.runescape.wiki### | ||
+ | runescape.wiki## | ||
+ | runescape.wiki### | ||
- | ==== Show Formats ==== | + | ! End</ |
- | * Change '' | + | ===== DNS over HTTPS ===== |
- | | + | |
- | ==== Download Media ==== | + | < |
- | * Change '' | + | ====== Server ====== |
- | * '' | + | |
- | | + | |
+ | * For headless servers, see [[distros: | ||
- | === M4A Audio === | + | ===== Enable SSH ===== |
- | + | ||
- | * Ideally for if iOS devices will be involved | + | |
- | + | ||
- | '/ | + | |
- | + | ||
- | === MP3 Audio === | + | |
**** | **** | ||
- | | + | |
- | ===== Shortcuts | + | ===== Automatic Updates |
- | / | + | ==== Service ==== |
- | | + | |
- | ===== Icons ===== | + | < |
+ | [Service] | ||
+ | Type=oneshot | ||
+ | ExecStartPre='/ | ||
+ | ExecStart='/ | ||
+ | ExecStart='/ | ||
+ | ExecStartPost='/ | ||
+ | ExecStartPost='/ | ||
- | / | + | ===== Timer ===== |
- | | + | |
- | ===== Anaconda Module Blacklists ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | | + | |
- | + | ||
- | ===== 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 ~/'.cache/ | + | |
- | + | ||
- | ===== List GNOME gsettings ===== | + | |
- | + | ||
- | * Change '' | + | |
- | + | ||
- | gsettings list-recursively ' | + | |
- | + | ||
- | ===== GNOME Software Maintenance ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | pkcon -c ' | + | |
- | + | ||
- | ===== fstrim ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | | + | |
- | + | ||
- | ===== 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 ===== | + | |
- | + | ||
- | **** | + | |
- | + | ||
- | | + | |
- | + | ||
- | ===== 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 '/ | + | |
- | + | ||
- | | + | |
- | + | ||
- | ==== ATA Secure Erase ==== | + | |
- | + | ||
- | sudo blkdiscard --verbose | + | |
- | + | ||
- | sudo hdparm | + | |
- | + | ||
- | 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 " | + | [Unit] |
- | | + | Description=Software Package Maintenance and Updater |
- | Modeline x | + | After=network-online.target |
- | Option | + | Wants=network-online.target |
- | EndSection</ | + | |
- | ===== Backlight ===== | + | [Timer] |
+ | OnCalendar=*-*-* 03:00:00 | ||
+ | Persistent=true | ||
- | ==== Notes ==== | + | [Install] |
+ | WantedBy=timers.target</ | ||
- | * 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 ===== | + | |
- | | + | |
- | exiftool -all= *.* -overwrite_original |
/var/www/wiki/data/attic/distros/fedora_workstation_gnome.1573331079.txt.gz · Last modified: 2019/11/09 15:24 by Sean Rhone