Replies: 40 comments 85 replies
-
UDROID Ubuntu 22.04 Jammy is working for now , and I did not have any issues . If anyone also installed 22.04 , please write about your experience or possible problems here . |
Beta Was this translation helpful? Give feedback.
-
Updated : ( edited first post ) How to remove and disable snap and install latest Firefox . xubuntu-desktop is not recomended to install . |
Beta Was this translation helpful? Give feedback.
-
I will use this version until Udroid officialy releases Udroid 22.04 Jammy . |
Beta Was this translation helpful? Give feedback.
-
Installed Eclipse for Java And made simple Gui project creating a single window . Paste and go this link into Browser, it will download Arm64 Eclipse to Downloads dir in Jammy . and from XFCE4 Terminal unpack and start Eclipse [ Can be unpacked from file manager too ] .
Move dir Eclipse where you want it to be from Downloads . On Eclipse under Help there is Eclipse marketplace . When window is open type windowbuilder in find and install it for GUI projects . Install only windowbuilder 1.9.8 ( first one ) at first , otherwise it will cause non-working windowbuilder . Functional Eclipse IDE with working WindowBuilder . Functional Eclipse IDE with working WindowBuilder . Does anyone else tried to code with Eclipse under proot without any errors ? If does what is to be expected ? Is it usable under Udroid because of proot ? |
Beta Was this translation helpful? Give feedback.
-
VS CODE RUNS ON ANY BROWSER IN ANDROID OR ANY BROWSER IN JAMMY VIA TERMUX In Termux type :
You are now in Install wget npm nodejs git
Download the VS code tar package:
Start the code server in Termux :
Open Chrome in DEX and paste and go into browser adress bar :
Browser screen will prompt you for password . and copy the password that's generated in Termux to Browser screen prompt
On browser screen you will be prompt for a password , copy pass from Termux and paste into browser prompt [ 3ca9c016701bef7ef744f057 ] And there it is VS CODE in your browser . The whole video how to do it, is here : VS CODE in Android Chrome on DEX . ANDROID If you wanna run VS CODE n Jammy , start VS CODE server in Termux , Open Mozilla , go to localhost:8080 , enter pass from Termux and enjoy ! JAMMY Next time to start VS CODE procedure is : Termux :
Browser : Start localhost:8080 in browser adress bar . Copy pass from Termux to browser screen bar , |
Beta Was this translation helpful? Give feedback.
-
lmms [ MUSIC COMPOSER ] While testing various software under proot , came accross lmms and seems that it is working fine .
1025 Free samples : |
Beta Was this translation helpful? Give feedback.
-
I don't have panel in my XFCE, but everything else is working just fine. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
thank you for your project. Do you have any idea for using lxqt? |
Beta Was this translation helpful? Give feedback.
-
REMOVED DOWN NAV BUTTONS ( KEYBOARD ) IN LAST SUCCESSFUL BUILD OF Build#164 [ and Buids newer , I installed Buid#170 ] While Termux-X11 is running go to notification pane of Termux-X11 , under notification pane of termux-x11 ( where exit is ) click on preferences and uncheck SHOW ADDITIONAL KEYBOARD . Direct input mode has a bug , other two are stable . It is recently implemented and for that is needed to install last successful build of termux-x11 - app-debug.apk ( install in Android ) ( see first post for installing those two ) The most recent version of Termux-x11 apk and .deb package can be found here https://github.com/termux/termux-x11/actions/workflows/debug_build.yml under the Actions tab. On the left side click on the build ( under All workflows ) and It will open that workflow and there will be last build , Artifact Click on termux-x11 and download it to phone Download dir and unzip it . On the first post " Installation of Jammy " you will find how to install Termux-X11 .apk and .deb WITHOUT BOTTOM NAV BAR ! In DEX upper title bar is still visible and annoying . It should AUTOHIDE like in movie player . Issue 125 https://github.com/termux/termux-x11/issues/125 |
Beta Was this translation helpful? Give feedback.
-
The SOLUTION for starting Termux-x11 from Termux by works way much better . ! ! !
NOTE : I edited first post and included this solution into guide . This SOLUTION removed issues I had with starting Termux-x11 . |
Beta Was this translation helpful? Give feedback.
-
Thank you for the guide, it's working much better than the VNC method and I'm really happy with it. My only issue now is that after a few minutes and seemingly randomly termux-x11 will crash and in termux I get this error: |
Beta Was this translation helpful? Give feedback.
-
I've tried both methods, I've done it constantly, deleted and reinstalled, and I've been meeting a blank screen every time. I don't know what's happening. |
Beta Was this translation helpful? Give feedback.
-
I noticed a strange behavior . If Termux is pinned to be always on top of applications Termux-x11 starts from first try . In DEX pin for ALWAYS ON TOP is icon pin . If the Termux has focus always on top Termux-x11 starts normally ! If it is not on top it won't start from first try ? So that issue could be related how Android handles apps ? NOW , IF TERMUX IS WITHOUT ALWAYS ON TOP [ FOCUS ] WHEN STARTING TERMUX-X11 I GOT BLACK SCREEN . Message : Another instance took over . Leaving ... Another try Without Always on top of Termux . Messages for failure are many , but results with black screen ! I TESTED THIS MANY TIMES AND ALWAYS THE SAME HAPPENED ! I am not using the latest Build of Termux-x11 , but one from 2 months ago , [ Using Android 12 ] ! Anyone noticed this ??? COULD BE ANDROID HANDLING APPS ISSUE ? |
Beta Was this translation helpful? Give feedback.
-
Can I use kde? |
Beta Was this translation helpful? Give feedback.
-
MEMORY ALLOCATION WHEN USING JAMMY While using various apps on Android , DEX and Libre Office memory usage was very high 8.02 GB of 12 GB was used .
From terminal type htop to see system usage . Then I went back to Android and clean memory via Device care after which Jammy was running at only 4.71 GB . It could be good practice to clean memory before using Jammy in order to reduce system stress . Android App Device Care / Memory Before cleaning there is option to exclude apps from terminating [ very usefull ] This way memory cleaner wont terminate Termux and Termux- X11 [ TX11 ] 4.71 GB allocated after memory clean up . |
Beta Was this translation helpful? Give feedback.
-
For the message shown in Jammy terminal when started
Solution is , type in terminal >
|
Beta Was this translation helpful? Give feedback.
-
See [ Season 03 E01 ] Video is 1080p . Wanted to see if proot Jammy can play movie , and is very watchable in Full Screen . |
Beta Was this translation helpful? Give feedback.
-
NORDIC THEME Arm64 Ubuntu Jammy Nordic TX-11 Samsung S20 DEX Nordic Theme https://www.xfce-look.org/p/1267246 Desert-Dark-Icons https://store.kde.org/p/1733286 Mozzila / Settings / Colors / Manage Colors Choose your own clolors
#FF4500 Blood Orange [ Unvisited text ] [ Visited text ] |
Beta Was this translation helpful? Give feedback.
-
SKEUOS GREY DARK THEME https://www.gnome-look.org/p/1441725/ Arm64 Ubuntu Jammy TX-11 DEX Desert-Dark-Icons https://store.kde.org/p/1733286 Mozzila / Settings / Colors / Manage Colors #FF4500 Blood Orange [ Unvisited text ] [ Visited text ] |
Beta Was this translation helpful? Give feedback.
-
MONODEVELOP C# IDE If you dont have Nala installed substitute Nala with Apt .
|
Beta Was this translation helpful? Give feedback.
-
BleachBit [ Cleaning Software ] It seems that is working in proot . I did only one run successfully and it passed without errors . BleachBit recovered around 1,1 GB in my system . Lots of apps which tempering on system in proot results in crash and errors . If you dont have Installed Nala substitute Nala with Apt .
System [ 265 MB recovered ] It passed Office and Firefox cleaning as well . Nothing crashed . DeepScan went well . [ Slow ] Apt and Bash [ 833 MB recovered ] . No crash . UNINSTALL WITH NALA
[ in my case is 23 from Nala history list ] You can also use REDO in Nala History . After cleaning i made backup of distro and my distro with all above and more apps is 2,7 GB . |
Beta Was this translation helpful? Give feedback.
-
Thanks very much for this tutorial, I have it now working in Samsung Z Fold 4, and it's amazing! Anyone tried to install Intellij IDEA? They have instructions here: |
Beta Was this translation helpful? Give feedback.
-
Samsung S20 DEX Full screen without upper Nav Bar [ how to remove down Nav Bar is in previous posts ] Install X11 Build#196 [ Enables Full Screen ] Enabled Force Desktop Mode [ Experimental Desktop mode on secondary displays ] |
Beta Was this translation helpful? Give feedback.
-
I am using DEX for mixing Android and Linux software a lot . DEX allow that and that is great . Linux and Android browser for example . The Linux theme is a little bit lighter , but who cares ? I am using Libre office in Linux and play games on DEX [ example only ] . Both OS'es together are powerfull combination ! And DEX is making it possible . It works ! DEX is nothing special , only window menager . But as the window manager it is doing excellent job mixing all Android and Linux windows just as they are one OS . You can work in both at the same time like they are one and same ! That is the power of DEX ! I can watch the movie on DEX player while writing in Libre Office on Linux just as they are one OS . ! I dont need to watch movie on Linux because X11 is too slow , and I dont need too . I have DEX for that . But DEX does not have Libre Office ? But both together ??? |
Beta Was this translation helpful? Give feedback.
-
Everytime I try to start xwayland it says, there is already a server running. the Problem is I cant exit Termux x11 because I hjave no notification for it. Is there a way to kill the Wayland server? Another fact which I dont know if its a problem or not is that im login to jammy not through proot but through udroid directly. Starting through proot is unfortunatly not working. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to passthrough Input and Output devices? Since Discord on Mobile is really a mess with Input Output devices. |
Beta Was this translation helpful? Give feedback.
-
UBUNTU 22.04 JAMMY installed on fresh Termux app .
Termux-x11 FAST GUI .
MANY THANKS TO Mr. Zman and Mr. Sam WHO MADE UDROID PROJECT !
JOIN UDROID DISCORD CHANNEL FOR MORE INFO ON UDROID XWAYLAND PROJECT ,
Join it from here https://discord.com/invite/h7wZ9BfbU9
WHY TO USE UDROID VERSION OF JAMMY ?
UDROID UBUNTU 22-04 JAMMY WILL BE MORE
OPTIMIZED AND ACCELERATED AS WELL AS CRASH FREE
THAN STANDARD PROOT - DISTRO JAMMY !
GUIDE CONTENT Links :
Installing Ubuntu Jammy [ This post , the first post ]
Starting X-11 with bash script
Backup Ubuntu Jammy and Restore
Removing down navigation bar on X-11 window
Full Screen on DEX without upper Nav bar
Run VS CODE on any browser on Android or Jammy
Signal 9 [ Termux crashes in android 12 ]
Nordic Theme Jammy [ Arm64 Ubuntu Jammy Nordic TX-11 ]
Skeuos Grey Dark Theme Jammy
Eclipse IDE [ Working under proot ]
MonoDevelop C# IDE [ Working under proot ]
Lmms [ Music composer ]
Nala [ Substitute for apt ]
Kicad [ Spice Simulator ]
LosslessCut [ Cut / Join / Merge Video software without re-encoding ]
BleachBit [ Cleaning Software ]
Arm64 Ubuntu Jammy Nordic TX-11 Theme
INSTALL UBUNTU JAMMY [ Termux-X11 ]
RELEASE BUILD of Termux . [ Recommended to install ]
Termux app for android. Download and install.
termux-app_v0.118.0+github-debug_arm64-v8a from
https://github.com/termux/termux-app/releases
NOTE :
DEVELOPER BUILDS of Termux .
From AnninoDr4
you can install termux DEV BUILDS from here: https://github.com/termux/termux-app/actions/workflows/debug_build.yml
But if you use DEV BUILDS also make sure to patch ~/../usr/etc/apt/sources.list with command below to remove update issues:
In Termux type :
In sources.list add following repos
CTRL + o [ save ]
ENTER [ confirm name and save ]
CTRL + x [ Exit nano ]
most of the packages ( including xwayalnd ) not available in termux dev build so above fixes everything
NOTE : the latest build of Termux app can be found here if you wanna try what they recently implemented , but it is optional .
https://github.com/termux/termux-app/actions/workflows/debug_build.yml
Under the tab Actions.
On left under Workflows click on Build , and it will list builds ( workflows ).
Click on the most recent build from list and when it opens will see artifacts on bottom ( most recent build ) for download .
You have to be logged in Git Hub to download any of those .
Also is neded to set property allow-external-apps to true in ~/.termux/termux.properties in termux app.
In termux type command :
In Termux type :
echo 'allow-external-apps = true' >> ~/.termux/termux.properties
Install git
Temux access storage setup
termux-setup-storage
Install Udroid
Install proot
pkg install proot
List of available distros under proot .
proot-distro list
Install Ubuntu 22.04 Jammy UDROID distro !
udroid --suite jammy -i raw
Login in Jammy distro
Create non root user - you .
Log into distro .
login v8
If you dont have sudo installed , install it
apt install sudo
Edit Sudoers
Under # User privilege specification add yourself
v8 ALL=(ALL:ALL) ALL
Save and exit nano .
CTRL + o [ save ]
ENTER [ confirm name and save ]
CTRL + x [ Exit nano ]
Install xfce4
Udrod Jammy is reported to crash because power manager .
Uninstall power manager :
sudo apt remove xfce4-power-manager-plugins
Exit back to Termux and install everything for termux-x11
Exit from user to root
exit
From root to Termux
exit
Download and install
termux-x11 - app-debug.apk
and install in Android from
Termux-x11 Build#41 can be found here , this is old build confirmed to work .
Later , when X-11 is working you can try newer build .
https://github.com/SaicharanKandukuri/T-X11/actions/runs/2510011847
Clicking on [ Bottom ] termux-wayland . It will download .zip which contains 2 files [ .apk and .deb ]
New builds can be found here :
https://github.com/termux/termux-x11/actions/workflows/debug_build.yml
Download
termux-x11.deb
( If you downloaded termux-x11 app from above , termux-x11.deb will be in that .zip file
so you dont have to download it again )
and dpkg in Termux from
Termux-x11 Build#41 can be found here , this is old build confirmed to work .
Later , when X-11 is working you can try newer build .
https://github.com/SaicharanKandukuri/T-X11/actions/runs/2510011847
Clicking on [ Bottom ] termux-wayland . It will download .zip which contains 2 files [ .apk and .deb ]
New builds can be found here :
https://github.com/termux/termux-x11/actions/workflows/debug_build.yml
Navigate to Download dir on phone in Termux terminal .
NOTE : the latest build of Termux-x11 APK and DEB packages can be found here if you wanna try what they recently implemented , but it is optional .
https://github.com/termux/termux-x11/actions/workflows/debug_build.yml
Under the tab Actions.
On left under Workflows click on Build , and it will list builds ( workflows ).
Click on the most recent build from list and when it opens will see artifacts ( most recent build ) for download .
Clone termux-x11 packages from Git .
git clone https://github.com/termux/x11-packages.git
Allow external apps once more after termux-x11 is installed .
Type in Termux .
echo 'allow-external-apps = true' >> ~/.termux/termux.properties
ON TERMUX-X11 GIVE ALL PERMISSIONS YOU CAN FIND , ALL ALLOW .
[ In Android right click on icon Termux-X11 ]
Clear cache can be found here if needed ,
ON TERMUX APP GIVE ALL PERMISSIONS YOU CAN FIND , ALL ALLOW .
[ In Android right click on icon Termux ]
Set the XDG_RUNTIME_DIR variable .
export XDG_RUNTIME_DIR=${TMPDIR}
Note : Skip first and second method and go to AUTOMATE START OF TERMUX-X11
and create bash script for starting X-11
Start termux-x11 - FIRST METHOD
Termux-11 Will start by typing in Termux :
Note : Skip first and second method and go to AUTOMATE START OF TERMUX-X11
and create bash script for starting X-11
Start termux-x11 - SECOND METHOD [ BETTER ONE ]
The SOLUTION for starting Termux-x11 from Termux by
Hossam001-bot
Works way much better . ! ! !
This solution removed issues with starting Termux-x11 .
.
Termux-11 Will start by typing in Termux :
AUTOMATE START OF TERMUX-X11
OS Jammy on Arm64 Galaxy S20 DEX
Termux-x11 Build#164
Inspired by post
termux/termux-x11#138 (comment)
I tried to automate of starting Termux-x11 with Bash script and it worked .
Again , you have to be in Termux and not logged in Ubuntu .
If you are in Termux , you will see Termux sign
If you dont have Nano installed , install it :
apt install nano -y
In Termux type :
nano xgo
Nano will create file xgo
In xgo file paste next lines :
CTRL + o [ save ]
ENTER [ confirm name ]
CTRL + x [ Exit nano ]
You are now in Termux again and type
In order to make your PATH variable permanent have to edit config .
In Termux type :
nano ~/.profile
on the end of file add :
export PATH="$PATH:$HOME/bin"
Save and exit Nano .
For starting Termux-x11 you dont have to type all the commands over and over but simple type name of your script :
Type in Termux :
xgo
And you have your Termux-x11 started !
NOTE :
in line [ in xgo bash script ]
proot-distro login udroid-jammy-raw --shared-tmp -- runuser -l v8 -c 'DISPLAY=:0 xfce4-session
I am logged as v8 , if your login name is different replace v8 with your login name !
IF YOUR STARTUP OF TERMUX-X11 FAILS
Simply go to notification pane , roll down pane of Termux-x11 and click Exit .
Dont just close Termux-x11 window , it wont kill Termux-x11 session ,
Termux-x11 needs to be closed from notification pane in order to
end Termux-x11 session !
Get back to Termux and type :
xgo
And Termux-x11 is started !
EXITING FROM TERMUX-X11 SESSION
You will not end session of Termux-x11 by only closing its window ,
Termux-x11 session will remain active in memory and if you try again to start Termux-x11 ,
you will face black screen .
TERMUX-X11 MUST BE EXITED FROM NOTIFICATION PANE BY CLICKING ON EXIT !
On phone for exit from termux-x11 pull down notification pane and expand termux-x11
notification where you will see exit option.
.
On Samsung DEX notification pane for exit.
.
SNAP WILL NOT WORK WITH PROOT AND NEEDS TO BE REMOVED .
snapd is not working, and firefox needs snapd in Ubuntu 22.04,
so purge snapd and disable it .
At this point you dont have Web browser and can not see this guide in Jammy because copy / paste
does not work beetween Android and Jammy .
You can install in Jammy any Browser via apt or make pdf of this guide which then open from Jammy .
sudo apt install evince
But there is solution to this w3m , I think that it is already in system but if you need to install it :
sudo apt install w3m
w3m is terminal browser and will open web page inside terminal , it does not look perfect but you can read this guide from terminal .
Type in terminal :
w3m -v https://github.com/RandomCoderOrg/ubuntu-on-android/discussions/152
and it will open this page in terminal .
You can surf with w3m , also google things if started with :
w3m -v https://google.com/
Hit the q for exit from w3m .
Open xfce terminal on your Ubuntu .
.
To prevent repository packages from triggering the installation of snap .
sudo nano /etc/apt/preferences.d/nosnap.pref
When the file opens, paste lines below to tell refuse snapd from any repository .
This file forbids snapd from being installed by APT.
Save and exit nano .
.
Install the PPA and latest Firefox .
.
Set the higher priority than snap for firefox .
Paste this into file, save and exit .
After saving
.
Or install Chromium
Proot Tools [ Needed to be root@localhost , not logged into Ubuntu Jammy ]
Exit to Termux and from Termux type :
proot-distro login udroid-jammy-raw --shared-tmp
Now you are in root@localhost and type following :
FONTS ARE TO LARGE ON SOME APPLICATIONS
Adjust DPI scalling
.
Open Settings Manager in Ubuntu .
.
Click on Appearance .
.
On the window Appearance click tab Fonts .
Here you have Custom DPI settings .
For me 86% worked perfectly !
Disable anti-aliasing on fonts will speed up rendering fonts .
In Jammy disable Screensaver .
On Session and Startup disable
Power Manager and Screensaver
Install the software
VS CODE #152 (comment)
Runs on any Android Web browser via Termux [ which is faster than X-11 ] , or any Web browser on Jammy .
With all apps above installed my distro is 1,81 GB .
Beta Was this translation helpful? Give feedback.
All reactions