From 4207af146a7ac84f798d86566e39ab7f1cffa02f Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 12 Oct 2023 11:13:12 +0300 Subject: [PATCH] flatpak-workarounds.bash: add Mosh --- bash/flatpak-workarounds.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bash/flatpak-workarounds.bash b/bash/flatpak-workarounds.bash index bb990eb..d9701af 100755 --- a/bash/flatpak-workarounds.bash +++ b/bash/flatpak-workarounds.bash @@ -49,6 +49,9 @@ flatpak override me.kozec.syncthingtk --filesystem=~/.config/syncthing:create $@ # https://github.com/flathub/com.microsoft.Edge?tab=readme-ov-file#game-controllers-not-working flatpak override --filesystem=/run/udev:ro com.microsoft.Edge $@ +# Mosh starts by opening an SSH connection and thus it needs to at least read my SSH config. Seeing new keys probably needs rw to known_hosts and as I use sockets, they may need rw. Then there is my config.d being in a private git repo... +flatpak override --filesystem=~/.ssh/config:ro --filesystem=~/.ssh/config.d:ro --filesystem=~/.ssh/known_hosts:rw --filesystem=~/.ssh/sockets:rw --filesystem=~/src/gitea.blesmrt.net/Mikaela/privgist/ssh/config.d:ro org.mosh.mosh $@ + # Display the overrides if [ -d /var/lib/flatpak/overrides/ ]; then tail -n +1 /var/lib/flatpak/overrides/*