diff --git a/infrastructure/graduated/fedora/fedora-kinoite.md b/infrastructure/graduated/fedora/fedora-kinoite.md index 348fe99..7e1caf2 100644 --- a/infrastructure/graduated/fedora/fedora-kinoite.md +++ b/infrastructure/graduated/fedora/fedora-kinoite.md @@ -105,23 +105,18 @@ nmcli connection add type VLAN con-name $NMCLI_DEVICE.2 dev $NMCLI_DEVICE id 2 Flatpak installs are from Flathub unless otherwise noted. +Add flathub with: + +```bash +flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo +``` + ### VSCode Write code. ```bash flatpak install com.visualstudio.code - -# Fix wayland scaling issues -cp /var/lib/flatpak/exports/share/applications/com.visualstudio.code ~/.local/share/applications -# Add `--socket=wayland` and `--ozone-platform=wayland` to the correct locations in the "Exec" field -sed \ - -ri 's/(Exec=.* run )(.*)(com.visualstudio.code)/\1--socket=wayland \2\3 --ozone-platform=wayland/g' \ - ~/.local/share/applications/com.visualstudio.code - -# Validate desktop database and reload -desktop-file-validate ~/.local/share/applications/com.nextcloud.talk.desktop -update-desktop-database ``` Add to settings.json so the host shell is spawned @@ -157,17 +152,6 @@ Password manager. ```bash flatpak install com.bitwarden.desktop - -# Fix wayland scaling issues -cp /var/lib/flatpak/exports/share/applications/com.bitwarden.desktop.desktop ~/.local/share/applications -# Add `--socket=wayland` and `--ozone-platform=wayland` to the correct locations in the "Exec" field -sed \ - -ri 's/(Exec=.* run )(.*)(com.bitwarden.desktop)/\1--socket=wayland \2\3 --ozone-platform=wayland/g' \ - ~/.local/share/applications/com.bitwarden.desktop.desktop - -# Validate desktop database and reload -desktop-file-validate ~/.local/share/applications/com.bitwarden.desktop.desktop -update-desktop-database ``` ### MPV @@ -184,17 +168,6 @@ Sync your files. ```bash flatpak install com.nextcloud.desktopclient.nextcloud - -# Fix wayland scaling issues -cp /var/lib/flatpak/exports/share/applications/com.visualstudio.code ~/.local/share/applications -# Add `--socket=wayland` and `--ozone-platform=wayland` to the correct locations in the "Exec" field -sed \ - -ri 's/(Exec=.* run )(.*)(com.visualstudio.code)/\1--socket=wayland \2\3 --ozone-platform=wayland/g' \ - ~/.local/share/applications/com.visualstudio.code - -# Validate desktop database and reload -desktop-file-validate ~/.local/share/applications/com.nextcloud.talk.desktop -update-desktop-database ``` ```bash @@ -231,18 +204,6 @@ Talk to your business partners? ```bash flatpak install me.proton.Mail - -# Fix wayland scaling issues -cp /var/lib/flatpak/exports/share/applications/me.proton.Mail.desktop ~/.local/share/applications - -# Add `--socket=wayland` and `--ozone-platform=wayland` to the correct locations in the "Exec" field -sed \ - -ri 's/(Exec=.* run )(.*)(me.proton.Mail)/\1--socket=wayland \2\3 --ozone-platform=wayland/g' \ - ~/.local/share/applications/me.proton.Mail.desktop - -# Validate desktop database and reload -desktop-file-validate ~/.local/share/applications/me.proton.Mail.desktop -update-desktop-database ``` ```bash @@ -462,17 +423,6 @@ Chrom ```bash flatpak install io.github.ungoogled_software.ungoogled_chromium - -# Fix wayland scaling issues -cp /var/lib/flatpak/exports/share/applications/io.github.ungoogled_software.ungoogled_chromium.desktop ~/.local/share/applications -# Add `--socket=wayland` and `--ozone-platform=wayland` to the correct locations in the "Exec" field -sed \ - -ri 's/(Exec=.* run )(.*)(io.github.ungoogled_software.ungoogled_chromium)/\1--socket=wayland \2\3 --ozone-platform=wayland/g' \ - ~/.local/share/applications/io.github.ungoogled_software.ungoogled_chromium.desktop - -# Validate and reload desktop database -desktop-file-validate ~/.local/share/applications/io.github.ungoogled_software.ungoogled_chromium.desktop -update-desktop-database ``` ### Signal @@ -481,17 +431,6 @@ Chat when Nextcloud Talk is down ```bash flatpak install org.signal.Signal - -# Fix wayland scaling issues -cp /var/lib/flatpak/exports/share/applications/org.signal.Signal.desktop ~/.local/share/applications -# Add `--socket=wayland` and `--ozone-platform=wayland` to the correct locations in the "Exec" field -sed \ - -ri 's/(Exec=.* run )(.*)(org.signal.Signal)/\1--socket=wayland \2\3 --ozone-platform=wayland/g' \ - ~/.local/share/applications/org.signal.Signal.desktop - -# Validate and reload desktop database -desktop-file-validate ~/.local/share/applications/org.signal.Signal.desktop -update-desktop-database ``` ```bash