LasterRooker

Droid-kex

Jun 15th, 2023
780
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.76 KB | None | 0 0
  1. #INSTALLATION
  2.  
  3. echo "allow-external-apps = true" >>~/.termux/termux.properties && pkg up -y && pkg i -y termux-x11-nightly tur-repo && pkg i -y chromium firefox && curl -sLf https://raw.githubusercontent.com/Yisus7u7/termux-desktop-xfce/main/boostrap.sh | bash
  4.  
  5. #To start termux-x11
  6.  
  7. termux-x11 :1 &
  8.  
  9. #For Distros
  10.  
  11. export PULSE_SERVER=127.0.0.1;env DISPLAY=:1 dbus-launch --exit-with-session xfce4-session
  12.  
  13. #For Termux
  14.  
  15. env DISPLAY=:1 dbus-launch --exit-with-session xfce4-session
  16.  
  17. #For Audio
  18.  
  19. pulseaudio --start --exit-idle-time=-1; pacmd load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1
  20.  
  21. #Then go to termux-desktop,login to linux distro.In linux,
  22.  
  23. export DISPLAY=:1;export PULSE_SERVER=127.0.0.1
  24.  
  25. xfce4-session &>/dev/null
  26.  
Advertisement
Add Comment
Please, Sign In to add comment