plirof2

Appimage Chromium sandbox Run

Jan 16th, 2021
854
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ####################run-chromium-based-puppy.appimage.sh###############
  2.  
  3. #!/bin/sh
  4. #Version v01
  5. xhost +local:puppy
  6. IMAGE_NAME=$1
  7. #echo ${IMAGE_NAME:0:10}
  8.  
  9. PROFILE_PATH=/home/puppy/${IMAGE_NAME:0:10}/
  10. sysctl kernel.unprivileged_userns_clone=1
  11. echo $PROFILE_PATH
  12. #sudo -u puppy /appimages/Internet/Google_Chrome-87.0.4280.141.glibc2.17-x86_64.AppImage --user-data-dir=$PROFILE_PATH.data/google-chrome-stable_puppy_user_data_dir --disk-cache-dir=$PROFILE_PATH.cache/google-chrome-stable_puppy_user_cache_dir --ppapi-flash-path=/usr/lib/adobe-flashplugin/libpepflashplayer.so  --ppapi-flash-version=29.0.0.171 --disable-features=TranslateUI --always-authorize-plugins --media-cache-size=10000000 "$@"
  13. sudo -u puppy /appimages/Internet/"$@" --user-data-dir=$PROFILE_PATH.data --disk-cache-dir=$PROFILE_PATH.cache --ppapi-flash-path=/usr/lib/adobe-flashplugin/libpepflashplayer.so  --ppapi-flash-version=29.0.0.171 --disable-features=TranslateUI --always-authorize-plugins --media-cache-size=10000000
  14.  
  15.  
  16. =====================run-chromium-based-mnt-home-puppy.appimage.sh===================
  17. #!/bin/sh
  18. #Version v01
  19. xhost +local:puppy
  20. IMAGE_NAME=$1
  21. #echo ${IMAGE_NAME:0:10}
  22.  
  23. PROFILE_PATH=/mnt/home/downloads_linux/.data/${IMAGE_NAME:0:10}/
  24. sysctl kernel.unprivileged_userns_clone=1
  25. echo $PROFILE_PATH
  26. mkdir -p "$PROFILE_PATH"
  27. #sudo -u puppy /appimages/Internet/Google_Chrome-87.0.4280.141.glibc2.17-x86_64.AppImage --user-data-dir=$PROFILE_PATH.data/google-chrome-stable_puppy_user_data_dir --disk-cache-dir=$PROFILE_PATH.cache/google-chrome-stable_puppy_user_cache_dir --ppapi-flash-path=/usr/lib/adobe-flashplugin/libpepflashplayer.so  --ppapi-flash-version=29.0.0.171 --disable-features=TranslateUI --always-authorize-plugins --media-cache-size=10000000 "$@"
  28. sudo -u puppy /appimages/Internet/"$@" --user-data-dir=$PROFILE_PATH.data --disk-cache-dir=$PROFILE_PATH.cache --ppapi-flash-path=/usr/lib/adobe-flashplugin/libpepflashplayer.so  --ppapi-flash-version=29.0.0.171 --disable-features=TranslateUI --always-authorize-plugins --media-cache-size=10000000
  29.  
  30.  
  31.  
  32.  
RAW Paste Data