Advertisement
LasterRooker

Firefox

Jun 26th, 2022 (edited)
797
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.83 KB | None
  1. termux-setup-storage
  2.  
  3. echo "allow-external-apps = true" >>~/.termux/termux.properties
  4.  
  5. mkdir ~/.shortcuts
  6.  
  7. echo "am start -a android.intent.action.MAIN -n x.org.serves/x.org.server.MainActivity
  8. firefox" >>~/.shortcuts/Firefox
  9.  
  10. chmod +x ~/.shortcuts/Firefox
  11.  
  12. pkg up -y && pkg i -y proot-distro
  13.  
  14. proot-distro install debian
  15.  
  16. echo "proot-distro login debian --shared-tmp" >>~/../usr/bin/firefox
  17.  
  18. chmod +x ~/../usr/bin/firefox
  19.  
  20. firefox
  21.  
  22. apt update && apt install -y xfwm4 pulseaudio firefox-esr
  23.  
  24. exit
  25.  
  26. #ဒီCommandကEOFထိတစ်ဆက်တည်းပါ
  27.  
  28. cat <<EOF > ~/../usr/var/lib/proot-distro/installed-rootfs/debian/root/.bashrc
  29.  
  30. time sleep 7
  31. export DISPLAY=127.0.0.1:0
  32. export PULSE_SERVER=127.0.0.1
  33. xfwm4 & firefox
  34.  
  35. EOF
  36.  
  37. mkdir ~/.shortcuts/icons
  38.  
  39. mv /sdcard/Download/Firefox.png ~/.shortcuts/icons
Advertisement
RAW Paste Data Copied
Advertisement