Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sabamdarif/gnome-in-termux
Install Gnome Desktop Environment In Termux using Proot-Distro
https://github.com/sabamdarif/gnome-in-termux
gnome gnome-in-termux termux termux-desktop termux-gui termux-x11 termux-x11-desktop
Last synced: 3 months ago
JSON representation
Install Gnome Desktop Environment In Termux using Proot-Distro
- Host: GitHub
- URL: https://github.com/sabamdarif/gnome-in-termux
- Owner: sabamdarif
- Created: 2023-11-22T09:47:35.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-20T05:50:38.000Z (6 months ago)
- Last Synced: 2024-08-20T08:06:49.043Z (6 months ago)
- Topics: gnome, gnome-in-termux, termux, termux-desktop, termux-gui, termux-x11, termux-x11-desktop
- Language: Shell
- Homepage:
- Size: 438 KB
- Stars: 67
- Watchers: 2
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Easily Install Gnome Desktop in Termux
![GitHub stars](https://img.shields.io/github/stars/sabamdarif/gnome-in-termux)
![GitHub issues](https://img.shields.io/github/issues/sabamdarif/gnome-in-termux)### Features:
- :speaker: Fixed Audio Output
- :globe_with_meridians: 2 Browsers (Chromium & Mozilla Firefox)
- :tv: VLC Media Player work fine
- :books: Easy To Setup
- :computer: Login Issue Fixed
- :computer: [Termux:x11](https://github.com/termux/termux-x11) For Display Server
- :hammer: Gnome Software Preinstalled (working)
- :books: And Much More> ***This is just for test so don't think everything will work***
> ***If one distro don't work so try another one***
### Installation:
1. If you are using android 12 or higher then first disable phantom process killer [Tutorial](https://termux.xyz/how-to-fix-termux-error-process-completed-signal-9-press-enter/)
2. Install [Termux](https://termux.com) apk from [HERE](https://f-droid.org/en/packages/com.termux/)
3. Now copy pest this in termux 👇
4.
```
curl -Lf https://raw.githubusercontent.com/sabamdarif/gnome-in-termux/main/setup.sh -o setup.sh ; bash setup.sh
```
- Now Select **CORE** Or **FULL(recomended)**
DEMO IMAGES:|CORE|FULL|
|--|--|
|![img](/images/core-gnome.png)|![img](/images/full-gnome.png)|
5. Use [Termux:x11](https://github.com/termux/termux-x11/releases) (Better then VNC)
6. Enjoy :smile:### How To Setup Vnc:
> If it doesn't work, then don't ask me because it didn’t work for me eithervnc setup steps:
For Debian Based Distrosudo apt install tigervnc-standalone-server tigervnc-tools -y
mkdir -p "$HOME/.vnc"
nano $HOME/.vnc/xstartup
export XDG_CURRENT_DESKTOP="GNOME"
gnome-shell --x11 # paste it inside xstartup file
chmod +x "$HOME/.vnc/xstartup"
sudo echo "$YOUR_USER_NAME ALL=(ALL) NOPASSWD: /usr/sbin/service dbus start" | sudo tee -a /etc/sudoers
sudo nano /bin/vncstart
#!/usr/bin/env bash
sudo service dbus start
vncserver -geometry 2580x1080 #Add your screen size
sudo chmod +x /bin/vncstart
sudo nano /bin/vncstop
#!/usr/bin/env bash
if [ "\$1" == "-f" ]; then
pkill Xtigervnc
else
vncserver -kill :*
fi
rm -rf /.vnc/localhost:*.pid
rm -rf /tmp/.X1-lock
rm -rf /tmp/.X11-unix/X1
sudo chmod +x /bin/vncstop
### NOTE:
- **Type `DISTRO-NAME` to login into DISTRO CLI.**
- **Type `DISTRO-NAME -r` to login as root user**
- **Type `DISTRO-NAME -tx11` to use gnome with Termux-x11**
- **Type `DISTRO-NAME -remove` to remove the distro****Like If You Install Debian So Just Type `debian -r / debian -tx11 / debian -remove`**
### Warning:
- *In future if you upgarde the system the desktop will fail to launch.*
#### Fix:
- **First stop gui and relogin into your distro cli**
- **Then run the below command inside your distro then start gui again**
```
for file in $(find /usr -type f -iname "*login1*"); do rm -rf $file
done
```### If you like our work then dont forget to give a Star :)