- Notifications
You must be signed in to change notification settings - Fork1
Simple script shell to set and spin up xfce4 on native Termux android (no root required).
License
ar37-rs/xfce4-termux
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
https://github.com/termux/termux-x11
or install one of the most stable versions and slightly modified for smoother experiencefrom here (for low-end devices only)
cd && pkg install wget which && rm -rf ~/xfce4 && wget https://github.com/ar37-rs/xfce4-termux/raw/refs/heads/main/xfce4 && chmod +x ~/xfce4
Install xfce4 dependecies
~/xfce4 install
Using virglrenderer driver (for such Mali, Adreno many other modern supported GPUs)
(Read more for virgl additional usage)
~/xfce4 driver=virpipe
Using llvmpipe driver (software renderer Universal CPUs)
~/xfce4 driver=lvp
Using llvmpipe driver + zink
~/xfce4 driver=lvp-zink
Using zink driver (working great on GPU Mali-G series with vulkan 1.1+ as well)
zink xlib driver support up to OpenGL 3.2 as panfrost alternative for Mali (thanks toalexvorxx for providing the build steps)
(vgl/virgl-angle can be used co-existly for OpenGL ES and higher version of Open GL support)
~/xfce4 driver=zink# (optional) enable dri3 for better zink compatibility~/xfce4 dri3=true
Using default driver can be combined with zink, kgsl for Adreno, amd for Xclipse or any supported other gpu drivers (if any)
~/xfce4 driver=default
and then simply start xfce
~/xfce4 s
Using termux-x11DISPLAY=:1
~/xfce4 display=1
Switch back toDISPLAY=:0
~/xfce4 display=0
Activate termux-x11TERMUX_X11_FORCE_FLIP
(a workaround for some graphic drivers as mentionedhere)
~/xfce4 flip=true
Deactivated force flip
~/xfce4 flip=false
Force termux-x11 using bgra PixelFormat (a bit faster for some supported GPUs)
~/xfce4 bgra=true
Switch back using rgba
~/xfce4 bgra=false
Activate dri3 (needed for some mali panfrost, adreno kgsl, amd, vulkan wrapper and other supported drivers)
~/xfce4 dri3=true
Deactivated dri3 (default), usually for virgl driver use case if experiencing some issues
~/xfce4 dri3=false
Using pulseaudio glibc (optional if there's sound problem)
~/xfce4 pulse-glibc=true
Switch back to pulseaudio bionic (default)
~/xfce4 pulse-glibc=false
Enable sdcard storage
~/xfce4 sdcard=true
and then test cd to sdcardcd /sdcard
Quite or terminate all xfce4 and 3d party process
~/xfce4 q
If there's problem when installing, make sure the latest correct termux app version is installedfrom here
Tested using termux app v0.119.x
Fix virgl-angle vulkan support and zink for some devices
such encountered on this issue
pkg remove *icd-swrast && pkg install vulkan-loader-generic wget && cd && rm -rf ~/mesa-vulkan-icd-wrapper_25.0.0-1_aarch64.deb && wget https://github.com/ar37-rs/virgl-angle/releases/download/latest/mesa-vulkan-icd-wrapper_25.0.0-1_aarch64.deb && dpkg -i ~/mesa-vulkan-icd-wrapper_25.0.0-1_aarch64.deb
Fix for android 12+ devices with [Process completed (signal 9) - ...] issue using adb:
adb shell "settings put global settings_enable_monitor_phantom_procs false"
and set max_phantom_processes as well
adb shell "/system/bin/device_config set_sync_disabled_for_tests persistent"adb shell "/system/bin/device_config put activity_manager max_phantom_processes 2147483647"
and then restart/reboot device.read more for more info from here orhere
About
Simple script shell to set and spin up xfce4 on native Termux android (no root required).
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.