Skip to content

Instantly share code, notes, and snippets.

@d3-X-t3r
Created November 9, 2022 23:31
Show Gist options
  • Save d3-X-t3r/bbb4688d87486b6cc4afdf2365615e52 to your computer and use it in GitHub Desktop.
Save d3-X-t3r/bbb4688d87486b6cc4afdf2365615e52 to your computer and use it in GitHub Desktop.
Linux / Fedora New Setup Notes and Tweaks
# Note: This is incomplete / WIP
# Last updated: 10/11/2022
# Disable ModemManager because a) it's buggy and b) modems in a laptop are crap and I'd rather hotspot from a phone
sudo systemctl disable ModemManager.service
sudo systemctl stop ModemManager.service
# ***TODO: Disable NetworkManager and replace with iwd
# Fedora 37 - Restore hardware acceleration / VA-API which Fedora removed due to legal issues
# - by u/kicsyromy
# Just copy home:kicsyromy.repo from https://download.opensuse.org/repositories/home:/kicsyromy/Fedora_37/ to /etc/yum.repos.d/
# Then run dnf update --refresh to update. Also make sure that mesa-va-drivers package is installed.
# Fix Steam small UI issue on HiDPI monitors - Fkatpak version
cp /var/lib/flatpak/exports/share/applications/com.valvesoftware.Steam.desktop ~/.local/share/applications/
vim ~/.local/share/applications/com.valvesoftware.Steam.desktop
:%s/Exec=/Exec=env GDK_SCALE=2 /g
# Fix Flatpak cursor theme/size
flatpak --user override --filesystem=/home/$USER/.icons/:ro
flatpak --user override --filesystem=/usr/share/icons/:ro
# If the above doesn't fix it
sudo flatpak override --env=XCURSOR_SIZE=64 com.company.appname
# Edge Flatpak - Enable Wayland and PipeWire
vim ~/.var/app/com.microsoft.Edge/config/edge-flags.conf
--ozone-platform=wayland
--enable-features=UseOzonePlatform,WebRTCPipeWireCapturer

Disable unwanted repos

Keyboard macros / automation:

TODO: Notes for installing ydotool and dotool

Flatpak Tip: NEVER change files under /var/lib/flatpak/app/

If you want to modify the shortcut icon/properties, then you should copy the .desktop file from /var/lib/flatpak/app/com.microsoft.Edge/current/active/files/share/applications to ~/.local/share/applications and modify from there.

Run flatpak repair and flatpak repair --user to revert everything you've changed in Flatpak specific directories.

Must-have GNOME Shell Extensions

  • ddterm for drop-down Quake-like terminal
  • Dash-to-dock
  • A sensible theme because the default one is too fat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment