Live data from Hacker News

Termux is an Android terminal emulator and Linux environment app

termux.dev

21–30 of 174 posts

Re: Termux is an Android terminal emulator and Linux environment app

#21
post #9

Termux singlehandedly makes me feel like I'm living my childhood dream of having a full computer in my pocket. I use git to blog from my phone, I have ffmpeg and yt-dlp installed to download videos for when I am going to be away from internet access for a while, and I even have some home automation scripts setup that control the lights over the local network. But I am concerned about the direction Android is headed,…

I really wish Android would properly enable containers like they've done for Chrome OS. It's silly we run little Linux machines and can't pop a fully isolated container shell on them!

Not quite the same, but interesting:

https://www.xda-developers.com/android-13-dp1-google-pixel-6...

Re: Termux is an Android terminal emulator and Linux environment app

#22
The combination of termux and scrcpy is pretty cool. Scrcpy is currently being discussed as well: https://news.ycombinator.com/item?id=35749366

I have one of those Bluetooth keyboards and mice that allow multiple paired devices. There's a button on each to allow you to switch. That's pretty handy to have it paired with my old Android device and be able to pop over and use my tmux sessions.

Re: Termux is an Android terminal emulator and Linux environment app

#24
post #23

One of those things. It's on my phone for years, never used it, had to use it today. Now it's top on HN. Anyway. The reason I never use it dawned on me. I can't install an ssh client and I don't get their package manager for some reason.

>I can't install an ssh client

You can instal OpenSSH https://wiki.termux.com/wiki/Remote_Access

>I don't get their package manager for some reason

It's the same as Ubuntu/Debian

Re: Termux is an Android terminal emulator and Linux environment app

#27
I've given up on Android and smartphones ages ago. Today am a happy dumb phone user and intrigued only by the Pinetab 2, however I played with Termux on old devices and loved it; that was really close to having the real thing under the hood. Unfortunately my best tablet, a supposedly crappy no-name wifi-only one which was like a gift for buying something else but it's incredibly fast and much snappier than bigger ones, runs only Android 4.x (yeah, I know, that's pretty much retrocomputing:^) so it's not supported.

Re: Termux is an Android terminal emulator and Linux environment app

#28
Because it wasn't obvious to me for a while: the Play store version is old, basically broken, and vulnerable [0]. Don't install it. The description does mention this relatively high up, but do you really read through the description for something before installing and playing around with it, especially if you already know what it is?

I don't usually like having old versions of software removed from distribution, but maybe in this case it should be removed from the play store since it's basically useless and also vulnerable.

[0]: https://termux.dev/en/posts/general/2022/02/15/termux-apps-v...

Re: Termux is an Android terminal emulator and Linux environment app

#29
post #15

Earlier quoted context omitted.

> But I am concerned about the direction Android is headed I'm with you, but we'll always have AOSP. And the cellphone market is now segmented enough that we'll probably also always have rootable phones.

We'll always have the versions of AOSP Google has released, but they're not forced to do so in the future. And I'm not sure anyone else is interested in maintaining it.

Google only releases AOSP for Pixel devices, for most devices you need to rely on (and trust) some dude on a forum and it might not have 100% compatibility.

Re: Termux is an Android terminal emulator and Linux environment app

#30
post #26

I have been struggling with termux on Android 13 pixel 6 pro. Whenever I edit a picture with ffmpeg, it's invisible to the normal Photos app.

Termux uses a sandboxed file system by default, but you can give it access to the rest of the phone's shared files by running `termux-setup-storage` from within Termux (more details at: https://wiki.termux.com/wiki/Termux-setup-storage).

That'll mount a new folder called "storage" in your home directory where you can place files in locations where other apps can see them.

Post reply on HN