| 1 |
# Firejail profile for google-earth-pro |
| 2 |
# This file is overwritten after every install/update |
| 3 |
# Persistent local customizations |
| 4 |
include google-earth-pro.local |
| 5 |
# Persistent global definitions |
| 6 |
# added by included profile |
| 7 |
#include globals.local |
| 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 |
|
| 25 |
# If you see errors about missing commands, add 'ignore private-bin' to your google-earth-pro.local. |
| 26 |
private-bin google-earth-pro,googleearth,googleearth-bin,gpsbabel,readlink,repair_tool,rm,which,xdg-mime,xdg-settings |
| 27 |
|
| 28 |
# Redirect |
| 29 |
include google-earth.profile |