It does work, I have been using it for a long time now in context of my interest of using a phone as a PC.
https://xdaforums.com/t/phone-as-a-pc.4633441/
Thing is that with just termux, you get just the android/termux environment.
There is a way to get more familiar Linux environments running on your phone by using proot from within termux.
https://wiki.termux.com/wiki/PRoot
For example, using that you can install ARM version of Manjaro, which is basically the same thing that you would run on Raspberry Pi.
But everything in there runs a bit slower, because Proot is some layer that takes up a bit of performance.
Benefit of that is that you can run some Linux software that is not found within Termux packages, but is available in the repositories of other distros. Libreoffice is one such example.
LineageOS 22.2 (on FP4) does not seem to have that option yet.
At least, it is not listed in the developer options.
You can find it if you tap on the search button within developer options (or just general settings, as that also includes results from developer options) and type “terminal” or “linux”.
The (Experimental) Run Linux terminal on Android
result shows up.
But after you tap on that, you see that toggle is greyed out. Can’t be enabled.
I am interested in getting that to work, so any help is appreciated.
There is hopefully some ADB command or something that forcefully enables Linux environment.
Make an app that guides users when folding the phone
Title reminds me of the thing that Lous Rossmann initiated:
https://wiki.rossmanngroup.com/wiki/Main_Page
which seems like it could be a subset of the thing in OP
Supposedly Google would have better time taking care of just one consumer OS instead of two, so Android is getting some PC features so that it will be able to replace ChromeOS in the future.
“accidentally inhale”
heh, then YOU could run Linux
which reminds me of this sketch from LoadingReadyRun where Linux gets installed on everything, even a person:
https://youtu.be/ajW2fDy41fY?t=229
StackOverflow says that it can be done by editing xrdp.ini:
https://askubuntu.com/questions/133343/how-do-i-set-up-xrdp-session-that-reuses-an-existing-session#360835
Is there a specific reason for choosing RDP?
VNC is the most common protocol in Linux. And RustDesk is also a good, more advanced alternative.
ah yes, that, wormhole.app, that is closed source. (but if I am reading this correctly, some early iteration of it is open source. https://github.com/saljam/webwormhole )
Magic wormhole is a different thing.
can you link to the post that claims the protocol is not open? I’m interested in looking into that
anyway, source for the magic wormhole can be found here: https://github.com/magic-wormhole/magic-wormhole which also links to both the Mailbox code and the Transit Relay code.
While others already pointed out the similarity to persistent LiveUSB, I would argue that this also feels a bit like Android desktop modes, like Samsung Dex.
yes, valid point, thank you for the correction
As jet points out, QEMU for actual hardware virtualisation.
There is one relevant thing, which is not exactly in the same category, but does somewhat similar thing:
containers
most popular example being Docker
https://en.wikipedia.org/wiki/Containerization_(computing)
containers don’t emulate whole hardware stack like virtual machines do, they just run the guest OS on top of host OS.
so because they don’t put resources towards emulating hardware, they are much more resource efficient.
so if your problem is “I’m running Fedora but I want to run something that for some reason runs just on Ubuntu”, then you could use containers for that.
containers are mostly used in headless environments (as in servers, no GUI), so running and displaying desktop Linux inside them is a bit tricky, but it can be done.
Lemmy is not like Reddit, you can edit the title even after the post was made.
Also, the latest release of Linux Mint is Xia:
https://www.linuxmint.com/download_all.php
https://en.wikipedia.org/wiki/Linux_Mint#Release_history
I’m not the author, but posting it here because it is amazing project that deserves exposure.
indirectly forces you to buy wireless earphones
USB-C wired headphones exist
edit: lol, replied too quickly. You mention wired headphones in the next sentence.
I think that the insistance on headphone jack has gone too far.
There are now enough wired USB-C headphones and wireless earbuds available.
Yes, there are edge cases, like people who work in audio industry where most equipment uses jack as standard connector, or car aux ports, etc.
But when it comes to most casual listening, there are enough solutions.
When migrating to the new phone I tried with USB-C to 3.5 adapter. It did not work most of the time. I suspect that the issue was in my somewhat defective headphones, which have damaged wire and therefore unreliable connection.
Previous phone and other devices were probably able to mitigate the occasional “disconnect”, while the adapter completely dropped connection.
But then I bought USB-C headphones, which work fine.
Termux + Termux-x11 + Proot for Linux software.
You can do it without Proot if all the software that you need is already in Termux-x11 repository.
SmartDock / Taskbar for Android applications.
I made a relevant XDA thread some time ago.
LineageOS 22.1 on FairPhone 4
cool idea
concept somewhat reminds me of OpenDesk
https://en.wikipedia.org/wiki/Opendesk
Which I know about because it uses the same name as https://opendesk.eu/en/ , which I am actually interested in.
https://gitlab.opencode.de/bmi/opendesk/gitlab-profile/-/blob/main/README_EN.md