merge flatpak-override-themes.bash into flatpak-workarounds.bash

I cannot find an issue for those, I think it's by design and the
internet is full of that solution, except commonly rw instead of ro
This commit is contained in:
Aminda Suomalainen 2022-03-18 13:41:42 +02:00
parent 7799b8dd50
commit 182d1dcae8
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 7 additions and 14 deletions

View File

@ -1,13 +0,0 @@
#!/usr/bin/env bash
# Show commands being executed
set -x
# Results in /var/lib/flatpak/overrides/global
flatpak override --filesystem=/usr/share/themes:ro --filesystem=~/.themes:ro
flatpak override --filesystem=/usr/share/icons:ro --filesystem=~/.icons:ro
flatpak override --filesystem=/usr/share/cursors:ro --filesystem=~/.cursors:ro
flatpak override --show
# Hide commands being executed again
set +x

View File

@ -0,0 +1 @@
flatpak-workarounds.bash

View File

@ -4,11 +4,16 @@
set -x
# Workarounds for common flatpak app issues
# Allowing system themes in flatpaks
flatpak override --filesystem=/usr/share/themes:ro --filesystem=~/.themes:ro
flatpak override --filesystem=/usr/share/icons:ro --filesystem=~/.icons:ro
flatpak override --filesystem=/usr/share/cursors:ro --filesystem=~/.cursors: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
# https://github.com/flathub/org.briarproject.Briar/issues/5
flatpak override org.briarproject.Briar --filesystem=~/.briar:create
flatpak override org.briarproject.Briar --filesystem=~/.java/.userPrefs/org/briarproject/briar:create