Skip to content

Simple script shell to set and spin up xfce4 on native Termux android (no root required).

License

Notifications You must be signed in to change notification settings

ar37-rs/xfce4-termux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

87be7f4 · Jan 25, 2025

History

42 Commits
Jan 14, 2025
Dec 28, 2024
Jan 25, 2025
Jan 22, 2025

Repository files navigation

alt_test

Installation:

Install latest termux-x11 official:

https://github.com/termux/termux-x11

or install one of the most stable versions and slightly modified for smoother experience from here (for low-end devices only):

termux-x11

and then

cd && pkg install wget openssl && rm -rf ~/xfce4 && wget https://github.com/ar37-rs/xfce4-termux/raw/refs/heads/main/xfce4 && chmod +x ~/xfce4

Usage from termux terminal:

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 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

Additional usage:

Activate dri3 (needed for some 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 sdcard cd /sdcard

Quite or terminate all xfce4 and 3d party process

~/xfce4 q

Note:

  • If there's problem when installing, make sure the latest correct termux app version is installed from here: https://github.com/termux/termux-app/releases

  • Tested using termux app v0.119.0-beta.1

  • Fix for android 12+ devices with [Process completed (signal 9) - press Enter] issue (using adb):

    For Android 12L & Android 13+

    adb shell "settings put global settings_enable_monitor_phantom_procs false"
    

    For Android 12

    adb shell "/system/bin/device_config set_sync_disabled_for_tests persistent; /system/bin/device_config put activity_manager max_phantom_processes 2147483647"
    

    and then restart/reboot device.

    Read more from here or here

About

Simple script shell to set and spin up xfce4 on native Termux android (no root required).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages