From 3fd0cfdef812ab1b7a91d4577e090b6e2d7368c7 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 18 Apr 2022 15:01:11 +0300 Subject: [PATCH] flatpak-workarounds.bash: add read-only access to gdbinit Ref: Mikaela/shell-things#130 --- bash/flatpak-workarounds.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bash/flatpak-workarounds.bash b/bash/flatpak-workarounds.bash index 807ec1c..22922d7 100755 --- a/bash/flatpak-workarounds.bash +++ b/bash/flatpak-workarounds.bash @@ -10,6 +10,10 @@ flatpak override --filesystem=/usr/local/share/themes:ro --filesystem=/usr/share flatpak override --filesystem=/usr/local/share/icons:ro --filesystem=/usr/share/icons:ro --filesystem=~/.icons:ro flatpak override --filesystem=/usr/local/share/cursors:ro --filesystem=/usr/share/cursors:ro --filesystem=~/.cursors:ro +# In case debugging flatpaks is subject to the other restrictions and running +# gdb there is made easier by access to the file +flatpak override --filesystem=~/.gdbinit:ro + # Backticks and a lot of common characters in all Flatpaks # https://github.com/flatpak/flatpak/issues/2031 flatpak override --talk-name=org.fcitx.Fcitx --talk-name=org.freedesktop.portal.Fcitx