distros:fedora_workstation_gnome
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
distros:fedora_workstation_gnome [2019/09/23 13:13] – Sean Rhone | distros:fedora_workstation_gnome [2020/03/04 07:55] – [Testing Sites] Sean Rhone | ||
---|---|---|---|
Line 2: | Line 2: | ||
* Fedora Workstation ((https:// | * Fedora Workstation ((https:// | ||
- | * 31 Beta | + | * 31 |
- | ====== | + | ====== |
- | * https://blog.tingping.se/2018/ | + | * KeePassXC loads databases slower specifically on Fedora vs other distros ((https://bugzilla.redhat.com/show_bug.cgi? |
====== Download ====== | ====== Download ====== | ||
Line 28: | Line 28: | ||
* Using '' | * Using '' | ||
- | | + | wget -O '/tmp/hosts-tmp' ' |
cat '/ | cat '/ | ||
Line 37: | Line 37: | ||
* This adds RoE sites to HOSTS file and allows resources to be grabbed over 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 | + | * Useful for doing significant |
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' | 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' | ||
Line 85: | Line 85: | ||
* The initial '' | * The initial '' | ||
- | * '' | ||
sudo dnf distro-sync -y && sync | sudo dnf distro-sync -y && sync | ||
- | sudo dnf autoremove -y | + | 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 ==== | ==== Firmware ==== | ||
Line 95: | Line 103: | ||
**** | **** | ||
- | sudo fwupdmgr refresh && sudo fwupdmgr update --verbose | + | sudo fwupdmgr refresh |
==== Flatpaks ==== | ==== Flatpaks ==== | ||
Line 122: | Line 130: | ||
* '' | * '' | ||
- | sudo dnf install filezilla keepassxc p7zip p7zip-plugins unar aria2 gimp transmission-gtk hdparm nano htop wget irqbalance evolution flashrom | + | sudo dnf install filezilla keepassxc p7zip p7zip-plugins unar aria2 gimp transmission-gtk hdparm nano htop wget irqbalance evolution flashrom |
===== RPM Fusion ===== | ===== RPM Fusion ===== | ||
Line 133: | Line 141: | ||
==== nonfree ==== | ==== nonfree ==== | ||
- | |||
- | * :!: Spinesnap needs '' | ||
steam | steam | ||
- | | + | |
===== Game Controllers ===== | ===== Game Controllers ===== | ||
Line 187: | Line 193: | ||
===== Keyboard Shortcuts ===== | ===== Keyboard Shortcuts ===== | ||
- | |||
- | * As of 2019/08/29, '' | ||
gnome-terminal | gnome-terminal | ||
Line 194: | Line 198: | ||
bash -c " | bash -c " | ||
- | gnome-terminal --command "sudo sh -c 'dnf clean ' | + | gnome-terminal --command "sudo sh -c 'dnf clean ' |
==== Keys ==== | ==== Keys ==== | ||
Line 223: | Line 227: | ||
==== DNS ==== | ==== DNS ==== | ||
+ | |||
+ | === Cloudflare === | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | 1.1.1.1, | ||
+ | |||
+ | 2606: | ||
=== UncensoredDNS === | === UncensoredDNS === | ||
Line 252: | Line 264: | ||
===== Rhythmbox ===== | ===== Rhythmbox ===== | ||
- | * See [[Information: | + | * See [[Information: |
===== Terminal ===== | ===== Terminal ===== | ||
Line 264: | Line 276: | ||
http:// | http:// | ||
- | ===== GRUB ===== | + | ===== Kernel Options |
- | ==== grubby | + | ==== Magic SysRq key ==== |
- | * Add commands within '' | + | * https://www.kernel.org/ |
- | * :!: As of 2019/09/23, '' | + | |
- | | + | |
- | === Error Fix === | + | ==== Swap ==== |
- | * https://bugzilla.redhat.com/show_bug.cgi? | + | * https://www.kernel.org/doc/html/ |
- | * :!: This only applies to Legacy/MBR installs | + | |
- | sudo grub2-install | + | |
- | ==== GRUB ==== | + | === Verify |
- | **** | + | |
+ | | ||
- | | + | |
+ | |||
+ | ===== GRUB ===== | ||
+ | |||
+ | ==== Config ==== | ||
=== UEFI === | === UEFI === | ||
Line 290: | Line 305: | ||
**** | **** | ||
- | sudo grub2-mkconfig -o '/ | + | |
=== Legacy === | === Legacy === | ||
Line 296: | Line 311: | ||
**** | **** | ||
- | sudo grub2-mkconfig -o '/ | + | |
- | ==== Other Parameters ==== | + | === grubby |
- | * See [[notes:kernel_parameters|Kernel Parameters]] for other options | + | * Add commands within '' |
+ | * :!: For whatever reason, '' | ||
- | ==== AIO ==== | + | sudo grubby --update-kernel=' |
- | === Spinesnap | + | ==== Kernel Parameters ==== |
- | * Last updated: 2019/09/23 | + | === Other Parameters === |
- | | + | |
- | ==== i915 ==== | + | === Spinesnap |
- | i915.enable_fbc=1 i915.fastboot=1 | + | |
+ | * :!: With '' | ||
- | i915.enable_psr=1 | + | i915.enable_fbc=1 i915.fastboot=1 modprobe.blacklist=iTCO_wdt, |
- | ==== amdgpu ==== | + | i915.enable_guc=3 |
- | * Allows use of Overdrive options for overclocking | + | == NVIDIA == |
- | | + | |
+ | * '' | ||
- | === Verify === | + | , |
- | **** | + | i915.enable_fbc=1 i915.fastboot=1 nowatchdog |
- | cat '/ | + | ===== GNOME ===== |
- | ==== PCI ==== | + | ==== Extensions |
- | **** | + | === Top Panel Workspace Scroll === |
- | | + | |
- | ==== IOMMU ==== | + | rm -Rf ~/' |
+ | |||
+ | == Uninstall | ||
**** | **** | ||
- | | + | |
- | + | ||
- | ===== GNOME ===== | + | |
==== Disable Wayland ==== | ==== Disable Wayland ==== | ||
Line 352: | Line 370: | ||
* Run this before running GUI applications requiring root | * Run this before running GUI applications requiring root | ||
* This needs re-ran after session restart | * This needs re-ran after session restart | ||
+ | * TODO: Is this even needed anymore? | ||
xhost +LOCAL: | xhost +LOCAL: | ||
Line 359: | Line 378: | ||
=== All-in-one === | === All-in-one === | ||
- | * Last updated: 2019/09/05 | + | * Last updated: 2019/12/23 |
- | gsettings set ' | + | gsettings set ' |
=== Individual === | === Individual === | ||
- | * Last updated: 2019/08/29 | + | * Last updated: 2019/12/23 |
gsettings set ' | gsettings set ' | ||
Line 375: | Line 394: | ||
gsettings set ' | gsettings set ' | ||
- | gsettings set ' | + | gsettings set ' |
gsettings set ' | gsettings set ' | ||
Line 386: | Line 405: | ||
gsettings set ' | gsettings set ' | ||
+ | |||
+ | gsettings set ' | ||
===== Hostname ===== | ===== Hostname ===== | ||
Line 404: | Line 425: | ||
secret-tool store --label=' | secret-tool store --label=' | ||
+ | |||
+ | ===== lm_sensors ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo sensors-detect --auto | ||
===== mpv ===== | ===== mpv ===== | ||
- | | + | **** |
- | mkdir -p ~/' | + | mkdir -p ~/' |
===== NetworkManager ===== | ===== NetworkManager ===== | ||
Line 423: | Line 450: | ||
[connection-mac-randomization] | [connection-mac-randomization] | ||
- | ethernet.cloned-mac-address=random | ||
wifi.cloned-mac-address=random | wifi.cloned-mac-address=random | ||
[connection] | [connection] | ||
wifi.powersave=2</ | wifi.powersave=2</ | ||
- | |||
- | ==== Spinesnap ==== | ||
- | |||
- | * https:// | ||
- | * https:// | ||
- | * Requires '' | ||
- | |||
- | sudo -e '/ | ||
< | < | ||
- | [device] | + | [connection-mac-randomization] |
- | match-device=driver: | + | ethernet.cloned-mac-address=random</ |
- | wifi.scan-rand-mac-address=no | + | |
- | + | ||
- | [connection] | + | |
- | wifi.powersave=2</ | + | |
===== Laptop Power Management ===== | ===== Laptop Power Management ===== | ||
Line 451: | Line 465: | ||
===== Secure Shell ===== | ===== Secure Shell ===== | ||
- | * See [[Clients: | + | * See [[Clients:Secure Shell|Secure Shell]] |
- | ===== Solo Key ===== | + | ===== systemd |
- | ==== Information ==== | + | * Disable suspend on laptop lid-close if " |
+ | * :!: This is necessary on Spinesnap when using NVIDIA' | ||
- | | + | |
- | * Usable as authentication for GDM and '' | + | |
- | ==== PAM ==== | + | <code> |
- | + | [Login] | |
- | === Dependencies === | + | HandleLidSwitchDocked=ignore</code> |
- | + | ||
- | **** | + | |
- | + | ||
- | 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 ===== | ===== TRIM ===== | ||
Line 524: | Line 499: | ||
* See [[notes: | * See [[notes: | ||
- | ====== | + | ====== |
- | ===== Nightwane ===== | + | * See [[notes: |
- | ==== Volume | + | ===== Spinesnap |
- | + | ||
- | **** | + | |
- | + | ||
- | 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 | + | ==== NVIDIA ==== |
- | * 4k@60Hz CVT-RB | + | * Sets pre-rendered frames from the default to 1 |
- | * Fixes unstable HDMI at 4K@60Hz, and overly-bright colors on DisplayPort | + | * Apparently reduces CPU usage for desktop environments rendered with the NVIDIA GPU |
- | * :!: The '' | + | * May smooth-out framerates when turning |
- | * :!: This cannot be used on Wayland currently | + | |
- | * :!: This expects '' | + | |
- | | + | |
- | === xorg.conf Snippet === | + | sudo -e '/ |
- | * :!: '' | + | ==== intel + nouveau ==== |
- | 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 " | Section " | ||
Identifier | Identifier | ||
MatchDriver " | MatchDriver " | ||
- | Driver | + | Driver " |
- | Option | + | Option " |
- | Option | + | Option " |
EndSection | EndSection | ||
Section " | Section " | ||
- | Identifier | + | Identifier |
- | MatchDriver "amdgpu" | + | MatchDriver "nouveau" |
- | Driver | + | Driver " |
- | Option | + | 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/ | + | |
- | + | ||
- | sudo dnf install ' | + | |
- | + | ||
- | < | + | |
- | Section " | + | |
- | Identifier | + | |
- | MatchDriver " | + | |
- | Driver | + | |
- | Option | + | |
- | Option | + | |
- | Option | + | |
- | Option | + | |
EndSection</ | EndSection</ | ||
Line 679: | Line 541: | ||
==== Environment Variables ==== | ==== Environment Variables ==== | ||
- | * Enables hardware acceleration | + | * Enables hardware acceleration, use of WebRenderer, and smooth-scrolling |
* :!: WebRenderer requires the previous '' | * :!: WebRenderer requires the previous '' | ||
- | echo -e ' | + | echo -e ' |
+ | |||
+ | sudo -e '/ | ||
==== Default Profile ==== | ==== Default Profile ==== | ||
Line 700: | Line 564: | ||
==== user.js ==== | ==== user.js ==== | ||
- | * Last updated: 2019/04/05 | + | * Last updated: 2019/11/30 |
- | * :!: IPv6 is disabled in order to prevent WebRTC from grabbing an IPv6 address even though NetworkManager has it disabled... | + | |
- | * :!: '' | + | |
rm -fv '/ | rm -fv '/ | ||
< | < | ||
+ | / | ||
+ | * Hardware-specific * | ||
+ | | ||
+ | |||
+ | user_pref(" | ||
+ | |||
/ | / | ||
* General * | * General * | ||
Line 723: | Line 591: | ||
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(" | ||
/******* | /******* | ||
Line 730: | Line 611: | ||
user_pref(" | 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 * | * Privacy * | ||
Line 735: | Line 627: | ||
user_pref(" | user_pref(" | ||
- | user_pref(" | + | user_pref(" |
- | + | ||
- | /******* | + | |
- | * END * | + | |
- | | + | |
==== Apply Settings ==== | ==== Apply Settings ==== | ||
Line 807: | Line 695: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
====== Notable Folders and Commands ====== | ====== Notable Folders and Commands ====== | ||
Line 937: | Line 827: | ||
sudo touch '/ | sudo touch '/ | ||
- | |||
===== GNOME Monitors Reset ===== | ===== GNOME Monitors Reset ===== | ||
Line 978: | Line 867: | ||
/fullscreen /benchmark / | /fullscreen /benchmark / | ||
+ | |||
+ | == NVIDIA Optimus == | ||
+ | |||
+ | **** | ||
+ | |||
+ | wget -O '/ | ||
=== FHD === | === FHD === |