mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-08-21 05:47:20 +02:00
Compare commits
No commits in common. "8084f48a2be24c0ef669de3f05d59d2ead306995" and "7c20d70d72561990e90605a5c550a9b8aab8329a" have entirely different histories.
8084f48a2b
...
7c20d70d72
@ -19,13 +19,6 @@ flatpak override --filesystem=~/.gdbinit:ro --filesystem=~/gdb.txt:rw --filesyst
|
|||||||
# Must be rw for access by text editors, otherwise they are ro or I will repeat myself
|
# Must be rw for access by text editors, otherwise they are ro or I will repeat myself
|
||||||
flatpak override --filesystem=~/.shell-things:rw --filesystem=~/src/gitea.blesmrt.net/Mikaela/shell-things:rw --filesystem=~/src/gitea.blesmrt.net/Mikaela/gist:rw --filesystem=~/src/gitea.blesmrt.net/Mikaela/scripts:rw --filesystem=~/src/github.com/Mikaela/mikaela.github.io:rw $@
|
flatpak override --filesystem=~/.shell-things:rw --filesystem=~/src/gitea.blesmrt.net/Mikaela/shell-things:rw --filesystem=~/src/gitea.blesmrt.net/Mikaela/gist:rw --filesystem=~/src/gitea.blesmrt.net/Mikaela/scripts:rw --filesystem=~/src/github.com/Mikaela/mikaela.github.io:rw $@
|
||||||
|
|
||||||
# EXPERIMENT! All apps may use wayland (sandboxed) and downgrade to
|
|
||||||
# X11/xwayland only if current desktop doesn't support wayland.
|
|
||||||
# SECURITY! May let untrusted apps spy on everything on X11 desktops, but
|
|
||||||
# I either don't have those around or Fedora 40 removes them with the new KDE
|
|
||||||
# Plasma. NOTE: fallback-x11 should override x11 socket permission.
|
|
||||||
flatpak override --socket=wayland --socket=fallback-x11 --nosocket=x11 $@
|
|
||||||
|
|
||||||
# Backticks and a lot of common characters in all Flatpaks
|
# Backticks and a lot of common characters in all Flatpaks
|
||||||
# https://github.com/flatpak/flatpak/issues/2031
|
# https://github.com/flatpak/flatpak/issues/2031
|
||||||
flatpak override --talk-name=org.fcitx.Fcitx --talk-name=org.freedesktop.portal.Fcitx $@
|
flatpak override --talk-name=org.fcitx.Fcitx --talk-name=org.freedesktop.portal.Fcitx $@
|
||||||
@ -37,7 +30,7 @@ flatpak override --env=FLATPAK_ENABLE_SDK_EXT=texlive,dotnet,golang $@
|
|||||||
flatpak override io.neovim.nvim --filesystem=host --filesystem=host-os --filesystem=host-etc $@
|
flatpak override io.neovim.nvim --filesystem=host --filesystem=host-os --filesystem=host-etc $@
|
||||||
|
|
||||||
# https://github.com/flathub/org.briarproject.Briar/issues/5
|
# https://github.com/flathub/org.briarproject.Briar/issues/5
|
||||||
flatpak override org.briarproject.Briar --filesystem=~/.briar:create --filesystem=~/.java/.userPrefs/org/briarproject/briar:create --nosocket=fallback-x11 --socket=x11 $@
|
flatpak override org.briarproject.Briar --filesystem=~/.briar:create --filesystem=~/.java/.userPrefs/org/briarproject/briar:create $@
|
||||||
|
|
||||||
# Directory I have normal Nextcloud in
|
# Directory I have normal Nextcloud in
|
||||||
flatpak override com.nextcloud.desktopclient.nextcloud --filesystem=~/Nextcloud:create $@
|
flatpak override com.nextcloud.desktopclient.nextcloud --filesystem=~/Nextcloud:create $@
|
||||||
@ -50,10 +43,6 @@ flatpak override net.pcsx2.PCSX2 --filesystem=~/.config/PCSX2:create --filesyste
|
|||||||
flatpak override com.valvesoftware.Steam --filesystem=~/SteamLibrary:create $@
|
flatpak override com.valvesoftware.Steam --filesystem=~/SteamLibrary:create $@
|
||||||
flatpak override net.lutris.Lutris --filesystem=~/SteamLibrary:create $@
|
flatpak override net.lutris.Lutris --filesystem=~/SteamLibrary:create $@
|
||||||
|
|
||||||
# https://github.com/ValveSoftware/steam-for-linux/issues/4924
|
|
||||||
# ref: the experiment near top
|
|
||||||
flatpak override com.valvesoftware.Steam --nosocket=fallback-x11 --socket=x11
|
|
||||||
|
|
||||||
# For use with system syncthing, note its flags
|
# For use with system syncthing, note its flags
|
||||||
flatpak override me.kozec.syncthingtk --filesystem=~/.config/syncthing:create $@
|
flatpak override me.kozec.syncthingtk --filesystem=~/.config/syncthing:create $@
|
||||||
|
|
||||||
@ -68,7 +57,7 @@ flatpak override --filesystem=~/.ssh/config:ro --filesystem=~/.ssh/config.d:ro -
|
|||||||
flatpak override im.riot.Riot --talk-name=org.freedesktop.secrets $@
|
flatpak override im.riot.Riot --talk-name=org.freedesktop.secrets $@
|
||||||
|
|
||||||
# DeltaChat wayland support (may break X11?)
|
# DeltaChat wayland support (may break X11?)
|
||||||
#flatpak override chat.delta.desktop --socket=wayland --socket=fallback-x11 $@
|
flatpak override chat.delta.desktop --socket=wayland --socket=fallback-x11 $@
|
||||||
|
|
||||||
# Display the overrides
|
# Display the overrides
|
||||||
if [ -d /var/lib/flatpak/overrides/ ]; then
|
if [ -d /var/lib/flatpak/overrides/ ]; then
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# workarounding dependency issues
|
|
||||||
|
|
||||||
#set -x
|
|
||||||
# The usual system-wide installation
|
|
||||||
if [ -f /var/lib/flatpak/exports/bin/org.libreoffice.LibreOffice ]; then
|
|
||||||
flatpak run org.libreoffice.LibreOffice $@
|
|
||||||
# User-specific flatpak
|
|
||||||
elif [ -f ~/.local/share/flatpak/exports/bin/org.libreoffice.LibreOffice ]; then
|
|
||||||
flatpak run --user org.libreoffice.LibreOffice $@
|
|
||||||
# The usual installation
|
|
||||||
elif [ -f /usr/bin/libreoffice ]; then
|
|
||||||
/usr/bin/libreoffice $@
|
|
||||||
else
|
|
||||||
printf "LibreOffice doesn't seem to be installed :("
|
|
||||||
fi
|
|
||||||
#set +x
|
|
Loading…
x
Reference in New Issue
Block a user