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/11 07:43] – Sean Rhone | distros:fedora_workstation_gnome [2020/03/09 05:12] – Sean Rhone | ||
---|---|---|---|
Line 2: | Line 2: | ||
* Fedora Workstation ((https:// | * Fedora Workstation ((https:// | ||
- | * 30 | + | * 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 78: | Line 78: | ||
sudo dnf config-manager --add-repo=' | sudo dnf config-manager --add-repo=' | ||
- | ===== pp3345/gnome-with-patches | + | ===== gloriouseggroll/kernel Copr ===== |
- | * https:// | + | * https:// |
+ | * :!: TODO: Figure out vim or just add this after installing '' | ||
- | sudo dnf copr enable | + | sudo -e '/etc/ |
- | ===== gloriouseggroll/ | + | < |
- | + | [kernel-fsync] | |
- | | + | name=Copr repo for kernel owned by gloriouseggroll |
- | + | baseurl=https:// | |
- | sudo -e '/etc/yum.repos.d/mesa-aco.repo' | + | type=rpm-md |
+ | skip_if_unavailable=True | ||
+ | gpgcheck=1 | ||
+ | gpgkey=https: | ||
+ | repo_gpgcheck=0 | ||
+ | enabled=1 | ||
+ | enabled_metadata=1 | ||
+ | priority=1</ | ||
====== Software ====== | ====== Software ====== | ||
Line 97: | Line 105: | ||
* 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 107: | Line 123: | ||
**** | **** | ||
- | sudo fwupdmgr refresh && sudo fwupdmgr update --verbose | + | sudo fwupdmgr refresh |
==== Flatpaks ==== | ==== Flatpaks ==== | ||
Line 134: | Line 150: | ||
* '' | * '' | ||
- | 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 145: | Line 161: | ||
==== nonfree ==== | ==== nonfree ==== | ||
- | |||
- | * :!: Spinesnap needs '' | ||
steam | steam | ||
- | | + | |
===== Game Controllers ===== | ===== Game Controllers ===== | ||
Line 199: | Line 213: | ||
===== Keyboard Shortcuts ===== | ===== Keyboard Shortcuts ===== | ||
- | |||
- | * As of 2019/08/29, '' | ||
gnome-terminal | gnome-terminal | ||
Line 206: | Line 218: | ||
bash -c " | bash -c " | ||
- | gnome-terminal --command "sudo sh -c 'dnf clean ' | + | gnome-terminal --command "sudo sh -c 'dnf clean ' |
==== Keys ==== | ==== Keys ==== | ||
Line 235: | Line 247: | ||
==== DNS ==== | ==== DNS ==== | ||
+ | |||
+ | === Cloudflare === | ||
+ | |||
+ | * https:// | ||
+ | |||
+ | 1.1.1.1, | ||
+ | |||
+ | 2606: | ||
=== UncensoredDNS === | === UncensoredDNS === | ||
Line 264: | Line 284: | ||
===== Rhythmbox ===== | ===== Rhythmbox ===== | ||
- | * See [[Information: | + | * See [[Information: |
===== Terminal ===== | ===== Terminal ===== | ||
Line 270: | Line 290: | ||
* 10-notch Transparency | * 10-notch Transparency | ||
- | ===== GRUB ===== | + | ===== Transmission |
- | ==== grubby ==== | + | * Blocklist |
- | | + | |
- | sudo grubby --update-kernel=' | + | ===== Kernel Options ===== |
- | === Error Fix === | + | ==== Magic SysRq key ==== |
- | * https://bugzilla.redhat.com/show_bug.cgi? | + | * https://www.kernel.org/doc/html/ |
- | * :!: This only applies to Legacy/MBR installs | + | |
- | sudo grub2-install | + | |
- | ==== Other Parameters | + | ==== Swap ==== |
- | * See [[notes:kernel_parameters|Kernel Parameters]] for other options | + | * https:// |
- | ==== AIO ==== | + | echo -e ' |
- | === Spinesnap | + | === Verify |
- | * Last updated: 2019/09/07 | + | * '' |
+ | * '' | ||
- | | + | |
- | ==== blk_mq | + | ===== GRUB ===== |
- | **** | + | ==== Config ==== |
- | scsi_mod.use_blk_mq=y dm_mod.use_blk_mq=y | + | === UEFI === |
- | ==== Reboot ==== | + | **** |
- | | + | |
- | * '' | + | |
- | * There are other values possible should either of those not work | + | |
- | reboot=pci | + | === Legacy === |
- | reboot=efi | + | **** |
- | ==== i915 ==== | + | sudo -e '/ |
- | **** | + | === grubby === |
- | | + | |
+ | * :!: For whatever reason, '' | ||
- | ==== amdgpu ==== | + | sudo grubby --update-kernel=' |
- | * Allows use of Overdrive options for overclocking | + | ==== Kernel Parameters ==== |
- | amdgpu.ppfeaturemask=0xffffffff | + | === Other Parameters === |
- | === Verify === | + | * See [[notes: |
- | **** | + | === Spinesnap === |
- | | + | |
+ | * :!: With '' | ||
- | ==== Corsair USB Quirks ==== | + | i915.enable_fbc=1 i915.fastboot=1 modprobe.blacklist=iTCO_wdt, |
- | | + | |
- | usbcore.quirks=1b1c: | + | == NVIDIA == |
- | ==== PCI ==== | + | * Last updated: 2020/ |
+ | * '' | ||
- | **** | + | , |
- | | + | |
- | ==== IOMMU ==== | + | ===== GNOME ===== |
- | **** | + | ==== Extensions ==== |
- | intel_iommu=on | + | === Top Panel Workspace Scroll === |
- | ==== Blacklist Watchdogs ==== | + | * https:// |
- | | + | |
- | * '' | + | |
- | * '' | + | |
- | * Apparently this reduces power usage slightly | + | |
- | modprobe.blacklist=iTCO_wdt, | + | == Uninstall == |
- | ===== GNOME ===== | + | **** |
+ | |||
+ | gnome-extensions disable ' | ||
==== Disable Wayland ==== | ==== Disable Wayland ==== | ||
Line 370: | Line 390: | ||
* 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 377: | Line 398: | ||
=== 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 393: | Line 414: | ||
gsettings set ' | gsettings set ' | ||
- | gsettings set ' | + | gsettings set ' |
gsettings set ' | gsettings set ' | ||
Line 404: | Line 425: | ||
gsettings set ' | gsettings set ' | ||
+ | |||
+ | gsettings set ' | ||
===== Hostname ===== | ===== Hostname ===== | ||
Line 422: | Line 445: | ||
secret-tool store --label=' | secret-tool store --label=' | ||
+ | |||
+ | ===== lm_sensors ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo sensors-detect --auto | ||
===== mpv ===== | ===== mpv ===== | ||
- | | + | **** |
- | mkdir -p ~/' | + | mkdir -p ~/' |
===== NetworkManager ===== | ===== NetworkManager ===== | ||
Line 441: | Line 470: | ||
[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 469: | Line 485: | ||
===== 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 542: | Line 519: | ||
* 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 697: | Line 561: | ||
==== 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 718: | Line 584: | ||
==== 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 741: | Line 611: | ||
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 748: | Line 631: | ||
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 753: | Line 647: | ||
user_pref(" | user_pref(" | ||
- | user_pref(" | + | user_pref(" |
- | + | ||
- | /******* | + | |
- | * END * | + | |
- | | + | |
==== Apply Settings ==== | ==== Apply Settings ==== | ||
Line 825: | Line 715: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
====== Notable Folders and Commands ====== | ====== Notable Folders and Commands ====== | ||
Line 955: | Line 847: | ||
sudo touch '/ | sudo touch '/ | ||
- | |||
===== GNOME Monitors Reset ===== | ===== GNOME Monitors Reset ===== | ||
Line 996: | Line 887: | ||
/fullscreen /benchmark / | /fullscreen /benchmark / | ||
+ | |||
+ | == NVIDIA Optimus == | ||
+ | |||
+ | **** | ||
+ | |||
+ | wget -O '/ | ||
=== FHD === | === FHD === |
/var/www/wiki/data/pages/distros/fedora_workstation_gnome.txt · Last modified: 2024/05/02 03:13 by Sean Rhone