From f806d340bfe275e770f20639bf83c11ed37c8d02 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Thu, 28 Jan 2021 00:25:30 +0000 Subject: add extensive comment on sandboxing google-earth-pro (#3923) --- etc/profile-a-l/google-earth-pro.profile | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'etc/profile-a-l/google-earth-pro.profile') diff --git a/etc/profile-a-l/google-earth-pro.profile b/etc/profile-a-l/google-earth-pro.profile index a0e4f6d86..1240dc3b7 100644 --- a/etc/profile-a-l/google-earth-pro.profile +++ b/etc/profile-a-l/google-earth-pro.profile @@ -6,9 +6,25 @@ include google-earth-pro.local # added by included profile #include globals.local +# Google Earth Pro can show issues that make it unpleasant to use, even when running unsandboxed. +# See https://wiki.archlinux.org/index.php/Google_Earth#Troubleshooting for details. +# Firejailing this application will demand extra work, as there are issues only upstream can fix (see #3906). +# As an alternative one could use the web version: https://earth.google.com/web/. +# The desktop version from the AUR can be made to work with firejail by appending the below snippet +# to /usr/bin/googleearth-pro: +# <--- snippet ---> +# Post-shutdown cleaning +#_lock_app_running="${HOME}/.googleearth/instance-running-lock" +#[[ -L "$_lock_app_running" ]] && rm -f "${_lock_app_running:?}" +#_lock_collada_cache="/tmp/geColladaModelCacheLock" +#[[ -e "$_lock_collada_cache" ]] && rm -f "${_lock_collada_cache:?}" +#_lock_icon_cache="/tmp/geIconCacheLock" +#[[ -e "$_lock_icon_cache" ]] && rm -f "${_lock_icon_cache:?}" +# <--- end of snippet ---> + # If you see errors about missing commands, uncomment the below or put 'ignore private-bin' into your google-earth-pro.local #ignore private-bin -private-bin google-earth-pro,googleearth,googleearth-bin,gpsbabel,readlink,repair_tool,which,xdg-mime,xdg-settings +private-bin google-earth-pro,googleearth,googleearth-bin,gpsbabel,readlink,repair_tool,rm,which,xdg-mime,xdg-settings # Redirect include google-earth.profile -- cgit v1.2.3-54-g00ecf