User Tools

Site Tools


distros:fedora_workstation_gnome

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
distros:fedora_workstation_gnome [2019/12/01 22:01] – Various "best" settings removed from mpv since they caused massive frame drops; hwdec all codec removed because album art corruption Sean Rhonedistros:fedora_workstation_gnome [2020/05/12 07:57] – [UTC] Sean Rhone
Line 2: Line 2:
  
   * Fedora Workstation ((https://getfedora.org/en/workstation))   * Fedora Workstation ((https://getfedora.org/en/workstation))
-  * 31+  * 32
  
 ====== Issues ====== ====== Issues ======
Line 10: Line 10:
 ====== TODO ====== ====== TODO ======
  
-  * https://blog.tingping.se/2018/12/01/amdgpu-fullrgb.html+  * https://github.com/intel/gvt-linux/issues/107
  
 ====== Download ====== ====== Download ======
Line 32: Line 32:
   * Using ''Unified hosts + fakenews + gambling''   * Using ''Unified hosts + fakenews + gambling''
  
-  sudo wget -O '/etc/hosts' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts' && sync+  wget -O '/tmp/hosts-tmp' 'https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts' && sudo cp '/etc/hosts' '/etc/hosts-bak' && sudo mv '/tmp/hosts-tmp' '/etc/hosts' && sync
  
   cat '/etc/hosts' | grep 'Date:'   cat '/etc/hosts' | grep 'Date:'
Line 98: Line 98:
   * Removes the initially-installed kernel in order to fix ``dnf autoremove``   * Removes the initially-installed kernel in order to fix ``dnf autoremove``
   * :!: This will vary depending on the Fedora image version used   * :!: This will vary depending on the Fedora image version used
 +
 +  sudo dnf list --installed 'kernel'*
  
   sudo dnf remove *5.3.7* && sync   sudo dnf remove *5.3.7* && sync
Line 105: Line 107:
 **** ****
  
-  sudo fwupdmgr refresh && sudo fwupdmgr update --verbose+  sudo fwupdmgr refresh --force && sudo fwupdmgr update --verbose
  
 ==== Flatpaks ==== ==== Flatpaks ====
Line 132: Line 134:
   * ''p7zip-plugins'' provides ''7z'' which can be used for extracting ISOs and other formats   * ''p7zip-plugins'' provides ''7z'' which can be used for extracting ISOs and other formats
  
-  sudo dnf install filezilla keepassxc p7zip p7zip-plugins unar aria2 gimp transmission-gtk hdparm nano htop wget irqbalance evolution kernel-tools flashrom lm_sensors +  sudo dnf install filezilla keepassxc p7zip p7zip-plugins unar aria2 gimp transmission-gtk hdparm nano htop wget irqbalance evolution flashrom lm_sensors 
  
 ===== RPM Fusion ===== ===== RPM Fusion =====
Line 147: Line 149:
  
   akmod-nvidia   akmod-nvidia
 +
 +===== Keybase =====
 +
 +  * https://keybase.io
 +
 +  'https://prerelease.keybase.io/keybase_amd64.rpm'
  
 ===== Game Controllers ===== ===== Game Controllers =====
  
-  * Necessary for Xbox 360 controllers, and maybe others+  * Necessary for Xbox 360 controllers 
 +  * Not necessary for a Steam Controller
  
   kernel-modules-extra   kernel-modules-extra
Line 157: Line 166:
  
   * ''libva-intel-driver'' requires the [[#free1|RPM Fusion free repo]]   * ''libva-intel-driver'' requires the [[#free1|RPM Fusion free repo]]
- +  * :!: ''intel-media-driver'' requires the [[#nonfree|RPM Fusion nonfree repo]] 
-  gstreamer1-vaapi+  * ''intel-media-driver'' is the newer VA-API solution for Intel HD graphics 
 +  * ''libva-utils'' provides ''vainfo''
  
   libva-intel-driver   libva-intel-driver
  
-===== ckb-next =====+  intel-media-driver
  
-  * https://github.com/ckb-next/ckb-next+  libva-utils
  
-  ckb-next+===== VDPAU =====
  
-===== Keybase =====+  libva-vdpau-driver 
  
-  * https://keybase.io+  vdpauinfo
  
-  'https://prerelease.keybase.io/keybase_amd64.rpm'+  vdpauinfo | grep 'Information' 
 + 
 +===== ckb-next ===== 
 + 
 +  * https://github.com/ckb-next/ckb-next 
 + 
 +  ckb-next
  
 ===== Wine ===== ===== Wine =====
Line 229: Line 245:
  
 ==== DNS ==== ==== DNS ====
 +
 +=== Cloudflare ===
 +
 +  * https://1.1.1.1/dns/
 +
 +  1.1.1.1,1.0.0.1
 +
 +  2606:4700:4700::1111,2606:4700:4700::1001
  
 === UncensoredDNS === === UncensoredDNS ===
Line 264: Line 288:
   * 10-notch Transparency   * 10-notch Transparency
  
-===== Transmission =====+===== Kernel Options ===== 
 + 
 +==== Magic SysRq key ==== 
 + 
 +  * https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html 
 + 
 +  echo 'kernel.sysrq = 1' | sudo tee '/etc/sysctl.d/99-sysrq.conf' > '/dev/null' && cat '/etc/sysctl.d/99-sysrq.conf' 
 + 
 +==== Swap ==== 
 + 
 +  * https://www.kernel.org/doc/html/latest/admin-guide/sysctl/vm.htm 
 + 
 +  echo -e 'vm.swappiness = 1\nvm.vfs_cache_pressure = 50' | sudo tee '/etc/sysctl.d/99-swap.conf' > '/dev/null' && cat '/etc/sysctl.d/99-swap.conf' 
 + 
 +=== Verify ===
  
-  * Blocklist+  * ''swappiness'' should be ''1'' 
 +  * ''vfs_cache_pressure'' should be ''50''
  
-  http://john.bitsurge.net/public/biglist.p2p.gz+  sysctl 'vm.swappiness' 'vm.vfs_cache_pressure'
  
 ===== GRUB ===== ===== GRUB =====
Line 301: Line 340:
 === Spinesnap === === Spinesnap ===
  
-  * Last updated: 2019/11/30+  * Last updated: 2020/04/15
  
-  i915.enable_fbc=1 i915.fastboot=1 i915.enable_psr=1+  i915.enable_fbc=1 i915.fastboot=1 usbcore.quirks=1b1c:1b3c:gn
  
 ===== GNOME ===== ===== GNOME =====
 +
 +==== Extensions ====
 +
 +=== Top Panel Workspace Scroll ===
 +
 +  * https://github.com/timbertson/gnome-shell-scroll-workspaces
 +
 +  rm -Rf ~/'.local/share/gnome-shell/extensions/scroll-workspaces@gfxmonk.net' '/tmp/gnome-shell-scroll-workspaces-master.zip' '/tmp/gnome-shell-scroll-workspaces-master' && wget -O '/tmp/gnome-shell-scroll-workspaces-master.zip' 'https://github.com/timbertson/gnome-shell-scroll-workspaces/archive/master.zip' && unzip '/tmp/gnome-shell-scroll-workspaces-master.zip'  -d '/tmp' && mkdir -p ~/'.local/share/gnome-shell/extensions' && mv '/tmp/gnome-shell-scroll-workspaces-master/scroll-workspaces' ~/'.local/share/gnome-shell/extensions/scroll-workspaces@gfxmonk.net' && gnome-extensions enable 'scroll-workspaces@gfxmonk.net' && sync
 +
 +== Uninstall ==
 +
 +****
 +
 +  gnome-extensions disable 'scroll-workspaces@gfxmonk.net' && rm -Rf ~/'.local/share/gnome-shell/extensions/scroll-workspaces@gfxmonk.net' && sync
  
 ==== Disable Wayland ==== ==== Disable Wayland ====
Line 325: Line 378:
 === All-in-one === === All-in-one ===
  
-  * Last updated: 2019/12/01+  * Last updated: 2019/12/23
  
-  gsettings set 'org.gnome.desktop.interface' 'enable-animations' 'true' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'send-events' 'disabled-on-external-mouse' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'natural-scroll' 'false' && gsettings set 'org.gnome.desktop.peripherals.mouse' 'accel-profile' 'flat' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'tap-to-click' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'tap-and-drag' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'disable-while-typing' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'click-method' 'areas' && gsettings set 'org.gnome.desktop.interface' 'clock-show-date' 'true' && gsettings set 'org.gnome.software' 'download-updates' 'false' && gsettings set 'org.gnome.desktop.interface' 'clock-show-weekday' 'true'+  gsettings set 'org.gnome.desktop.interface' 'enable-animations' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'send-events' 'disabled-on-external-mouse' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'natural-scroll' 'false' && gsettings set 'org.gnome.desktop.peripherals.mouse' 'accel-profile' 'flat' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'tap-to-click' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'tap-and-drag' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'disable-while-typing' 'false' && gsettings set 'org.gnome.desktop.peripherals.touchpad' 'click-method' 'areas' && gsettings set 'org.gnome.desktop.interface' 'clock-show-date' 'true' && gsettings set 'org.gnome.software' 'download-updates' 'false' && gsettings set 'org.gnome.desktop.interface' 'clock-show-weekday' 'true'
  
 === Individual === === Individual ===
  
-  * Last updated: 2019/12/01+  * Last updated: 2019/12/23
  
-  gsettings set 'org.gnome.desktop.interface' 'enable-animations' 'true'+  gsettings set 'org.gnome.desktop.interface' 'enable-animations' 'false'
  
   gsettings set 'org.gnome.desktop.peripherals.touchpad' 'send-events' 'disabled-on-external-mouse'   gsettings set 'org.gnome.desktop.peripherals.touchpad' 'send-events' 'disabled-on-external-mouse'
Line 366: Line 419:
  
   * 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 381: Line 435:
 ===== mpv ===== ===== mpv =====
  
-****+  Change ''hwdec'' to ''nvdec'' if using NVIDIA GPU primarily 
 +  :!: TODO: Why is ''vaapi-copy'' being used here?
  
-  mkdir -p ~/'.config/mpv' && echo -e "vo=gpu\nprofile=gpu-hq\nhwdec=vaapi" | tee ~/'.config/mpv/mpv.conf' > '/dev/null' && cat ~/'.config/mpv/mpv.conf'+  mkdir -p ~/'.config/mpv' && echo -e "vo=gpu\nprofile=gpu-hq\nhwdec=vaapi-copy" | tee ~/'.config/mpv/mpv.conf' > '/dev/null' && cat ~/'.config/mpv/mpv.conf'
  
 ===== NetworkManager ===== ===== NetworkManager =====
Line 397: Line 452:
  
 [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</code> wifi.powersave=2</code>
 +
 +<code>
 +[connection-mac-randomization]
 +ethernet.cloned-mac-address=random</code>
  
 ===== Laptop Power Management ===== ===== Laptop Power Management =====
Line 427: Line 485:
  
   sudo systemctl enable 'fstrim.timer' --now && sudo systemctl start 'fstrim' && sync && sudo systemctl status 'fstrim' -l   sudo systemctl enable 'fstrim.timer' --now && sudo systemctl start 'fstrim' && sync && sudo systemctl status 'fstrim' -l
 +
 +===== UTC =====
 +
 +  * [[https://wiki.archlinux.org/index.php/System_time#Time_standard|ArchWiki]]
 +  * Set RTC to UTC
 +  * :!: Needed if Windows is installed first
 +  * :!: Windows should also be set to UTC
 +
 +  sudo timedatectl set-local-rtc '0'
 +
 +==== Verify ====
 +
 +****
 +
 +  timedatectl | grep local
  
 ===== Wine ===== ===== Wine =====
Line 438: Line 511:
 ===== Spinesnap ===== ===== Spinesnap =====
  
-==== intel ====+==== NVIDIA ====
  
-  * Can be used with the NVIDIA proprietary driver+=== Environment Variables ===
  
-  sudo dnf install 'xorg-x11-drv-intel' -&& sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'+  * Sets pre-rendered frames from the default to 1 
 +  * Apparently reduces CPU usage for desktop environments rendered with the NVIDIA GPU 
 + 
 +  echo 'export __GL_MaxFramesAllowed=1'sudo tee '/etc/profile.d/nvidia-custom.sh' > '/dev/null' && cat '/etc/profile.d/nvidia-custom.sh' 
 + 
 +  sudo -'/etc/profile.d/nvidia-custom.sh' 
 + 
 +=== Disable PRIME Render Offload === 
 + 
 +  * [[http://download.nvidia.com/XFree86/Linux-x86_64/440.64/README/randr14.html|Offloading Graphics Display with RandR 1.4]] 
 +  * :!: Required if planning to use external displays 
 +  * :!: ''Coolbits'' is not required here, but may be useful 
 + 
 +  sudo cp -p '/usr/share/X11/xorg.conf.d/nvidia.conf' '/etc/X11/xorg.conf.d/nvidia.conf' && sudo -e '/etc/X11/xorg.conf.d/nvidia.conf'
  
 <code> <code>
-Section "OutputClass" +        Option "PrimaryGPU" "yes
-    Identifier  "Intel Graphics" +        Option "Coolbits" "28"</code>
-    MatchDriver "i915" +
-    Driver      "intel" +
-    Option      "DRI      "3+
-    Option      "TearFree "0" +
-EndSection</code>+
  
-==== intel + nouveau ====+===== Nightwane =====
  
-  * :!: Don't use this with the NVIDIA properitary driver+  * :!: The ''Modeline'' expects an Acer S271HL monitor to be used over DVI
  
-  sudo dnf install xorg-x11-drv-intel xorg-x11-drv-nouveau -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'+  sudo dnf install 'xorg-x11-drv-ati' -y && sudo -e '/etc/X11/xorg.conf.d/99-graphics.conf'
  
 <code> <code>
-Section "OutputClass+Section "Monitor
-    Identifier  "Intel Graphics+    Identifier  "DVI-1
-    MatchDriver "i915" +    Modeline "1920x1080_75 164.61  1920 1944 1976 2008  1080 1083 1088 1093 +hsync +vsync 
-    Driver "intel+    Option      "PreferredMode" "1920x1080_75"
-    Option "DRI      "3" +
-    Option "TearFree"  "0"+
 EndSection EndSection
  
 Section "OutputClass" Section "OutputClass"
-    Identifier  "NVIDIA Graphics" +    Identifier  "AMD Graphics" 
-    MatchDriver "nouveau+    MatchDriver "radeon
-    Driver "nouveau+    Driver      "radeon
-    Option "DRI"       "3"+    Option      "DRI"               "3
 +    Option      "SwapbuffersWait"   "0" 
 +    Option      "TearFree"          "0" 
 +    Option      "AccelMethod"       "EXA"
 EndSection</code> EndSection</code>
  
Line 504: Line 586:
 ==== user.js ==== ==== user.js ====
  
-  * Last updated: 2019/11/30+  * Last updated: 2020/04/15
  
   rm -fv '/tmp/user.js' && nano '/tmp/user.js'   rm -fv '/tmp/user.js' && nano '/tmp/user.js'
Line 525: Line 607:
 user_pref("media.mediasource.ignore_codecs", true); user_pref("media.mediasource.ignore_codecs", true);
 user_pref("media.autoplay.enabled", false); user_pref("media.autoplay.enabled", false);
 +user_pref("media.av1.enabled", false);
 +user_pref("media.hardware-video-decoding.force-enabled", true);
 +user_pref("widget.wayland-dmabuf-vaapi.enabled", true);
  
 user_pref("webgl.disabled", true); user_pref("webgl.disabled", true);
Line 544: Line 629:
 user_pref("security.ssl3.rsa_des_ede3_sha", false); user_pref("security.ssl3.rsa_des_ede3_sha", false);
 user_pref("security.ssl.enable_false_start", false); user_pref("security.ssl.enable_false_start", false);
 +
 +user_pref("geo.enabled", false);
 +user_pref("network.http.sendRefererHeader", false);
 +user_pref("privacy.donottrackheader.enabled", true);
 +
 +user_pref("browser.safebrowsing.malware.enabled", false);
 +user_pref("browser.safebrowsing.phishing.enabled", false);
 +user_pref("browser.safebrowsing.downloads.enabled", false);
 +
 +user_pref("network.security.esni.enabled", true);
 +
 +user_pref("privacy.resistFingerprinting", true);
 +user_pref("privacy.trackingprotection.enabled", true);
 +user_pref("toolkit.telemetry.enabled", false);
  
 /******* /*******
Line 550: Line 649:
  
 user_pref("security.webauth.u2f", true); user_pref("security.webauth.u2f", true);
 +
 +/**********
 + * Tweaks *
 + **********/
 +
 +user_pref("browser.cache.disk.enable", false);
 +user_pref("browser.cache.memory.enable", true);
 +user_pref("browser.cache.memory.enable", true);
  
 /******* /*******
Line 562: Line 669:
  
 <code> <code>
-/*********** +/******* 
- Privacy + VPN 
- ***********/+ *******/
  
 user_pref("network.dns.disableIPv6", true); user_pref("network.dns.disableIPv6", true);
Line 596: Line 703:
   * [x] Clean Cookies from Open Tabs on Startup   * [x] Clean Cookies from Open Tabs on Startup
   * [x] Localstorage Cleanup (Firefox 58+)   * [x] Localstorage Cleanup (Firefox 58+)
 +
 +==== HTTPS Everywhere ====
 +
 +  * Encrypt All Sites Eligible -> On
  
 ==== uBlock Origin ==== ==== uBlock Origin ====
Line 609: Line 720:
  
   * Multipurpose -> [x] Dan Pollock's hosts file   * Multipurpose -> [x] Dan Pollock's hosts file
-  * Multipurpose -> [x] hpHost's Ad and tracking servers 
   * Multipurpose -> [x] MVPS HOSTS   * Multipurpose -> [x] MVPS HOSTS
  
Line 635: Line 745:
   * https://browserleaks.com/   * https://browserleaks.com/
   * https://speedof.me/   * https://speedof.me/
 +  * https://www.cloudflare.com/ssl/encrypted-sni/
 +  * https://1.1.1.1/help
  
 ====== Notable Folders and Commands ====== ====== Notable Folders and Commands ======
Line 805: Line 917:
  
   /fullscreen /benchmark /benchmark_duration_ms='15000'   /fullscreen /benchmark /benchmark_duration_ms='15000'
 +
 +== NVIDIA Optimus ==
 +
 +****
 +
 +  wget -O '/tmp/GpuTest_Linux_x64.zip' 'http://www.ozone3d.net/gputest/dl/GpuTest_Linux_x64_0.7.0.zip' && unzip '/tmp/GpuTest_Linux_x64.zip' -d '/tmp' && cd '/tmp/GpuTest_Linux_x64_'* && __NV_PRIME_RENDER_OFFLOAD='1' __GLX_VENDOR_LIBRARY_NAME='nvidia' ./GpuTest /test='fur' /width='1280' /height='720'
  
 === FHD === === FHD ===
Line 905: Line 1023:
 ==== Controller Details ==== ==== Controller Details ====
  
-****+  This can be used to get the Oprom version for Intel RST
  
   sudo mdadm --detail-platform   sudo mdadm --detail-platform
/var/www/wiki/data/pages/distros/fedora_workstation_gnome.txt · Last modified: 2024/04/07 15:21 by Sean Rhone