Earlier quoted context omitted.
Maybe a stupid question but why not just run Debian on a chrome book, or any cheap laptop? Or spend a bit more for a thinkpad or dell XPS
Because I don't want to be a sysadmin. I want to take advantage of all the work Google has done to make ChromeOS a slick user experience, including good drivers, seamless and invisible auto-update, fast boot, integration with Google services, etc.
Termux: terminal emulator and Debian-style userland as an Android app
51–60 of 148 posts
Re: Termux: terminal emulator and Debian-style userland as an Android app
#52Wow. Given that this works with ChromeOS, this appears to give me what I've been looking for for a long time: something that makes a Chromebook a usable developer laptop. Now time to buy a Chromebook and try it out.
Just a warning, unless you get a "free" Chromebook from a hacker friend you're looking at probably $100 for a new one. In the end you're way better off with a beater $50 eBay thinkpad like my favorite x201. Which supports LibreBoot, is a repairable real computer. Thick is the new thin.
Re: Termux: terminal emulator and Debian-style userland as an Android app
#53Earlier quoted context omitted.
Having tried it, it's an "almost there" solution. Termux is a proot, not a chroot. This means you can't do certain things. You end up in a state where you can run nodejs and react, but you can't run create-react-app successfully. Rustup doesn't work in Termux, when it does booted into Linux on the same chromebook. You can git clone, but you can't clone a repo from a USB stick. Every single time I tried to do any deve…
That's a bummer to hear.
Re: Termux: terminal emulator and Debian-style userland as an Android app
#54Earlier quoted context omitted.
Maybe a stupid question but why not just run Debian on a chrome book, or any cheap laptop? Or spend a bit more for a thinkpad or dell XPS
Because I don't want to be a sysadmin. I want to take advantage of all the work Google has done to make ChromeOS a slick user experience, including good drivers, seamless and invisible auto-update, fast boot, integration with Google services, etc.
Hence "run Debian on it". The whole reason to run a Linux distribution is that the maintainers do most the sysadmin work for you, and Debian maintainers are among the most skilled sysadmins you can find.
You have to keep your filesystems from being full, but apart from that things will Just Work as long as you stay within the Debian tooling.
Re: Termux: terminal emulator and Debian-style userland as an Android app
#55Earlier quoted context omitted.
Because I don't want to be a sysadmin. I want to take advantage of all the work Google has done to make ChromeOS a slick user experience, including good drivers, seamless and invisible auto-update, fast boot, integration with Google services, etc.
It's false that you have to be a sysadmin to run Linux, and the users here know it perfectly well. There hasn't been a laptop (or desktop for that matter) I owned in the past ~8 years that hasn't worked flawlessly out of the box on the latest Ubuntu/Linux Mint (granted, with the exception of dedicated GPU drivers). And I got everything you mentioned: slick UX, good drivers, auto updates, fast boot on SSD. Granted, no…
Re: Termux: terminal emulator and Debian-style userland as an Android app
#56I use the termux widget to give me one-click access to a bunch of rsync over ssh commands. It is the best backup solution for android I've ever come across (this can also be automated with apps such as tasker or automate). Using rsync I also have two-way syncing for some folders so that I can easily put a file I want on my phone on my nas and then just sync it.
I always felt the rsync apps on the play store to be extremely clunky and when not wanting to go through a cloud the alternatives are limited. But this works perfectly.
edit: Also, being able to SSH into my phone and manipulate using a real keyboard and bigger screen is quite pleasant.
Re: Termux: terminal emulator and Debian-style userland as an Android app
#57I love termux. The only negative I can say is that I think touch keyboards are a bit awkward doing terminal work. (note that termux has a few hidden shortcuts such as when holding volume up wasd becomes arrow keys etc.) I use the termux widget to give me one-click access to a bunch of rsync over ssh commands. It is the best backup solution for android I've ever come across (this can also be automated with apps such a…
Re: Termux: terminal emulator and Debian-style userland as an Android app
#58I installed this months ago and cant figure out how to access localhost through my browser. I wrote a sample flask app and ran it but cant access it outside of termux. Is there a way to do so?
python3 -m http.server http://localhost:8000/ # on phone However, I haven't been able to access a server running on termux on my phone from anywhere else. I suspect servers are blocked by my mobile ISP (makes sense!), but I never got to the bottom of it. Should work over wifi though.
python -m http.server 0.0.0.0:8000
That should allow you to access it externally.Re: Termux: terminal emulator and Debian-style userland as an Android app
#59I tried this out a little while ago and I was really impressed. It's worth mentioning that this isn't just a Debian chroot/container, the software is actually compiled to run natively on the Android NDK. It seems like they work around any limitations of Bionic compared to glibc by patching NDK headers and using support libraries. Check out their "ports tree" to see what packages are available: https://github.com/term…
What exactly would you use it for? Not trying to be negative, I'm just not sure what would be worth typing out on a phone keyboard on the go, instead of waiting until I have access to an actual keyboard. I guess if you have a keyboard for your phone that's also different. (so for android tablets etc this is great)
I also run mc sometimes.
Btw i use it with "Hacker's Keyboard", although the only reason i use that is because it has an esc key :-P.
Re: Termux: terminal emulator and Debian-style userland as an Android app
#60I love termux. The only negative I can say is that I think touch keyboards are a bit awkward doing terminal work. (note that termux has a few hidden shortcuts such as when holding volume up wasd becomes arrow keys etc.) I use the termux widget to give me one-click access to a bunch of rsync over ssh commands. It is the best backup solution for android I've ever come across (this can also be automated with apps such a…
You need to use Hacker's Keyboard https://f-droid.org/packages/org.pocketworkstation.pckeyboar...