Here are located build scripts and patches for X11 packages for Termux.
To use X11-enabled programs, you need to install VNC Viewer or XServer XSDL. If launching program from terminal, make sure that environment variable 'DISPLAY' is set to correct value, e.g. export DISPLAY=:1
when using TigerVNC or export DISPLAY=127.0.0.1:0
when XServer XSDL.
Currently, termux-x11.ml is not added as default to sources.list, so if you want to use X11 packages, you need to do the following steps:
- Add GPG key:
pkg install dirmngr
apt-key adv --keyserver pool.sks-keyservers.net --recv 45F2964132545795
- Edit sources.list file to add the following lines:
# The X11 termux repository:
deb https://termux-x11.ml x11 main
- Update package lists:
pkg update
- Termux home page: https://termux.com/
- Termux Wiki: https://wiki.termux.com/wiki/Main_Page
- Termux App: https://github.com/termux/termux-app
- Termux Packages: https://github.com/termux/termux-packages