Termux-projects
⚙️ Automate GUI of Any Linux with Working Sound in Termux
This project helps you automate GUI startup setup (with sound support) for any Linux distribution running inside Termux on Android. Supports native Linux, chrooted distros, Kali NetHunter, and Proot-distro!
GitHub Repo: github.com/mikey-7x/Termux-projects
📦 Step 1: Clone the Repository
git clone https://github.com/mikey-7x/Termux-projects
cd Termux-projects
🛠️ Step 2: Use p1.sh
(Universal Script)
Works for all Linux types (native, chroot, modded, Kali). Automatically sets DISPLAY
, launches termux-x11
, and starts PulseAudio.
Download & Run:
wget https://raw.githubusercontent.com/mikey-7x/Termux-projects/main/p1.sh
chmod +x p1.sh
nano p1.sh # Edit login/username if needed
./p1.sh
⚠️ Extra for Kali NetHunter
nano $PREFIX/bin/nh
After the /dev
line, add:
-b /data/data/com.termux/files/usr/tmp:/tmp \
Then run Kali and start GUI:
./p1.sh
📂 Step 3: Use pd.sh
(For Proot-distro)
Specially designed for proot-distro
environments.
wget https://raw.githubusercontent.com/mikey-7x/Termux-projects/main/pd.sh
chmod +x pd.sh
nano pd.sh # Replace 'ubuntu' with your proot distro ID
./pd.sh
🔧 Step 4: Install Required Packages in Termux
pkg update && pkg upgrade
pkg install x11-repo tur-repo
pkg install termux-x11-nightly pulseaudio wget git
🖥️ Step 5: Install Desktop in Linux
apt update
apt install -y xfce4 dbus-x11 x11-xserver-utils
⚙️ Step 6: Enable External Apps in Termux
nano ~/.termux/termux.properties
Uncomment:
allow-external-apps = true
Then restart Termux.
📜 License
This project is licensed under the MIT License.
📜 Credits
Thanks to the developers of Termux, Termux-X11, PulseAudio, XFCE4, UDroid, and the amazing open-source Linux community.
Developed by mikey-7x🚀🔥
Comments
Post a Comment