Run:
gsettings set org.gnome.shell.keybindings show-screenshot-ui "['Print', '<Shift><Super>s']"
from subprocess import run
db = {
"gnome-weather": "org.gnome.Weather",
"gnome-calculator": "org.gnome.Calculator",
"gnome-contacts": "org.gnome.Contacts",
"gnome-weather": "org.gnome.Weather",
"gnome-clocks": "org.gnome.clocks",
"gnome-maps": "org.gnome.Maps",
"gnome-calendar": "org.gnome.Calendar",
"gnome-boxes": "org.gnome.Boxes",
"gnome-loupe": "org.gnome.Loupe",
"gnome-connections": "org.gnome.Connections",
"snapshot": "org.gnome.Snapshot",
"totem": "com.github.rafostar.Clapper",
"evince": "org.gnome.Evince",
"rhythmbox": "io.bassi.Amberol",
"simple-scan": "org.gnome.SimpleScan",
"mediawriter": "org.fedoraproject.MediaWriter",
}
for sys_pkg, flat_pkg in db.items():
answer = input(f"Replace '{sys_pkg}' with '{flat_pkg}'? [Y/n]: ")
if answer and not answer.lower() == "y":
print("Skipping...")
continue
run(["sudo", "dnf", "autoremove", sys_pkg, "-y"])
run(["flatpak", "install", "flathub", flat_pkg, "-y"])
print(f"Replaced '{sys_pkg}' with '{flat_pkg}'")
- Install through Flatpak
- Set
GTK_USE_PORTAL=1
through Flatseal - Add these startup arguments:
--enable-features=WaylandWindowDecorations --enable-features=UseOzonePlatform --ozone-platform=wayland --unity-launch