mirror of
				https://gitea.blesmrt.net/mikaela/scripts.git
				synced 2025-11-04 03:17:32 +01:00 
			
		
		
		
	flatpak-workarounds.bash: fix typo, qbittorrent, harden calibre
This commit is contained in:
		
							parent
							
								
									775c928357
								
							
						
					
					
						commit
						b03d347d1a
					
				@ -134,7 +134,7 @@ flatpak override com.valvesoftware.Steam --nosocket=fallback-x11 --socket=x11 $@
 | 
			
		||||
flatpak override com.heroicgameslauncher.hgl --nosocket=fallback-x11 --socket=x11 $@
 | 
			
		||||
 | 
			
		||||
# Steam flatpak workarounds a lot by non-UTF-8 C
 | 
			
		||||
flatpak override com.valvesoftware.Steam --env=LC_ALL=C.utf8
 | 
			
		||||
flatpak override com.valvesoftware.Steam --env=LC_ALL=C.utf8 $@
 | 
			
		||||
 | 
			
		||||
# Yes, we are SteamDeck, of course
 | 
			
		||||
#flatpak override com.valvesoftware.Steam --env=SteamDeck=1 $@
 | 
			
		||||
@ -211,6 +211,23 @@ flatpak override com.vivaldi.Vivaldi --talk-name=org.kde.plasma.browser.integrat
 | 
			
		||||
flatpak override com.google.Chrome --talk-name=org.kde.plasma.browser.integration $@
 | 
			
		||||
flatpak override com.google.ChromeDev --talk-name=org.kde.plasma.browser.integration $@
 | 
			
		||||
 | 
			
		||||
# qBittorrent
 | 
			
		||||
flatpak override org.qbittorrent.qBittorrent --filesystem=~/bt:create $@
 | 
			
		||||
ln -nsfv ~/bt ~/.bt
 | 
			
		||||
flatpak override org.qbittorrent.qBittorrent --filesystem=xdg-download $@
 | 
			
		||||
 | 
			
		||||
# Explicitly allow what Calibre needs
 | 
			
		||||
flatpak override com.calibre_ebook.calibre --nofilesystem=host $@
 | 
			
		||||
flatpak override com.calibre_ebook.calibre --nodevice=all $@
 | 
			
		||||
flatpak override com.calibre_ebook.calibre --device=dri $@
 | 
			
		||||
# FanFicFare Browser Cache. TODO: Firefox flatpak and other browsers
 | 
			
		||||
flatpak override com.calibre_ebook.calibre --filesystem=~/.cache/mozilla/firefox/ $@
 | 
			
		||||
flatpak override com.calibre_ebook.calibre --filesystem=~/Calibre\ Library:create $@
 | 
			
		||||
flatpak override com.calibre_ebook.calibre --filesystem=~/bt $@
 | 
			
		||||
flatpak override com.calibre_ebook.calibre --filesystem=~/xdg-download $@
 | 
			
		||||
# Simplicity and so it won't attempt to create a directory in different locale
 | 
			
		||||
flatpak override com.calibre_ebook.calibre --env=LC_ALL=C.utf8 $@
 | 
			
		||||
 | 
			
		||||
# Display the overrides
 | 
			
		||||
if [ -d /var/lib/flatpak/overrides/ ]; then
 | 
			
		||||
	tail -n +1 /var/lib/flatpak/overrides/*
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user