diff options
author | 2021-01-28 00:25:30 +0000 | |
---|---|---|
committer | 2021-01-28 00:25:30 +0000 | |
commit | f806d340bfe275e770f20639bf83c11ed37c8d02 (patch) | |
tree | 9f41c6e34dcf605c17d4c449975855ddf6204199 /etc | |
parent | streamline 'Allow xxx' comments (#3922) (diff) | |
download | firejail-f806d340bfe275e770f20639bf83c11ed37c8d02.tar.gz firejail-f806d340bfe275e770f20639bf83c11ed37c8d02.tar.zst firejail-f806d340bfe275e770f20639bf83c11ed37c8d02.zip |
add extensive comment on sandboxing google-earth-pro (#3923)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/profile-a-l/google-earth-pro.profile | 18 |
1 files changed, 17 insertions, 1 deletions
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 | |||
6 | # added by included profile | 6 | # added by included profile |
7 | #include globals.local | 7 | #include globals.local |
8 | 8 | ||
9 | # Google Earth Pro can show issues that make it unpleasant to use, even when running unsandboxed. | ||
10 | # See https://wiki.archlinux.org/index.php/Google_Earth#Troubleshooting for details. | ||
11 | # Firejailing this application will demand extra work, as there are issues only upstream can fix (see #3906). | ||
12 | # As an alternative one could use the web version: https://earth.google.com/web/. | ||
13 | # The desktop version from the AUR can be made to work with firejail by appending the below snippet | ||
14 | # to /usr/bin/googleearth-pro: | ||
15 | # <--- snippet ---> | ||
16 | # Post-shutdown cleaning | ||
17 | #_lock_app_running="${HOME}/.googleearth/instance-running-lock" | ||
18 | #[[ -L "$_lock_app_running" ]] && rm -f "${_lock_app_running:?}" | ||
19 | #_lock_collada_cache="/tmp/geColladaModelCacheLock" | ||
20 | #[[ -e "$_lock_collada_cache" ]] && rm -f "${_lock_collada_cache:?}" | ||
21 | #_lock_icon_cache="/tmp/geIconCacheLock" | ||
22 | #[[ -e "$_lock_icon_cache" ]] && rm -f "${_lock_icon_cache:?}" | ||
23 | # <--- end of snippet ---> | ||
24 | |||
9 | # If you see errors about missing commands, uncomment the below or put 'ignore private-bin' into your google-earth-pro.local | 25 | # If you see errors about missing commands, uncomment the below or put 'ignore private-bin' into your google-earth-pro.local |
10 | #ignore private-bin | 26 | #ignore private-bin |
11 | private-bin google-earth-pro,googleearth,googleearth-bin,gpsbabel,readlink,repair_tool,which,xdg-mime,xdg-settings | 27 | private-bin google-earth-pro,googleearth,googleearth-bin,gpsbabel,readlink,repair_tool,rm,which,xdg-mime,xdg-settings |
12 | 28 | ||
13 | # Redirect | 29 | # Redirect |
14 | include google-earth.profile | 30 | include google-earth.profile |