Live data from Hacker News

Termux: terminal emulator and Debian-style userland as an Android app

termux.com

141–148 of 148 posts

Re: Termux: terminal emulator and Debian-style userland as an Android app

#141

In an ideal world I could purchase a (usb c) dock that has some connectors and plug my awesome OnePlus 5 in to have a somewhat usable computer at home. I know Samsung wants to do something like that now (but I won't ever again buy a Samsung phone). I'd root (and pay) for a generic solution that makes my phone usable on a big(ger) screen.

Android phones have been able to connect to bluetooth or usb mouse and keyboards since nearly the very beginning. The only thing 'missing' is the screen. Samsung (and other) phones have supported external screens for many years now, often via MHL (although, as you say the Dex dock now packages it all together). I don't believe that the OnePlus5 supports external screens, but I may be wrong. You might be able to get s…

I know that, but connecting a keyboard or mouse to a phone is useless, the big screen is crucial.

And while there were options to do that in the past, all were one-offs and needed an extra port. So I guess we both agree about the capabilities that exist(ed), but that is exactly the reason why I posted my "In an ideal world" wish. There is no solution today as far as I'm aware. Which is a shame, given the power that these smartphones have.

Re: Termux: terminal emulator and Debian-style userland as an Android app

#142
post #137

Earlier quoted context omitted.

Assuming openssh-server, look for "internal-sftp" in sshd_config(5). And of course, also google a bit around that. It's worth pointing out that this will preclude use of rsync and similar tools that require running a server on the remote machine. I'm not aware of robust alternatives so if anyone else knows one please tell me! (and I consider rsync-restricted shells and similar approaches a hack)

how about running OpenSSH inside docker with bind mounts?

are y'all talking about chroots?

Re: Termux: terminal emulator and Debian-style userland as an Android app

#143

Earlier quoted context omitted.

Termux works on stock chromebooks _without_ switching to developer mode.

This is very important for schools which may lend students Chromebooks and thus likely restrict dev mode.

They would likely restrict play store installs, and currently there is no way to side-load Android apps; the normal Android developer mode options does not allow side-loading anyway, much less an enterprise managed device. I don't think there's any way to "restrict" dev mode, necessarily... anyone can put any Chromebook into dev mode, and lose all data that was on it in the process.

Re: Termux: terminal emulator and Debian-style userland as an Android app

#144

Termux is a great project, may it be for cli lovers, hackers, road warriors ... However, I have little trust in mobile devices nowadays and I don't feel safe copying private ssh/gpg/vpn/credentials data on them anymore. Planned obsolescence, theft risk, vendor/hardware/firmware issues, general feel of lack of control, ... As a consequence, I tend to use my smartphone as anonymously as possible, mostly as a camera, an…

This is a post about you, not about Termux. Come on.

Re: Termux: terminal emulator and Debian-style userland as an Android app

#145
post #7

Earlier quoted context omitted.

I tried this Emacs for org-mode. It was not that good experience. Very recently I found orgzly[0]. It might be interesting for you too. [0] https://github.com/orgzly/orgzly-android

Oh no way, orgzly is open source? I've been using it extensively but have been very frustrated with the fact that it doesn't sync automatically. Time to git clone...

Or if you'd rather not fork, check out this write up of an approach to getting Orgzly to sync via termux and Tasker: https://2li.ch/home/syncing-org-files

Re: Termux: terminal emulator and Debian-style userland as an Android app

#146
post #115

Termux is amazing (not possible to get equivalent on iOS without jailbreak). The number of packages in the repository, as well as the speed of version updates (sometimes in line with Arch Linux - a rolling release) are really amazing. Bought all the paid add-ons to support the developer. It's one of the most valuable assets I miss on iOS (doesn't matter that much now as I've got Linux x86_64 and ARM with me on the go…

Where do you find the paid add-ons?

Highly recommend the Termux:Styling, most well known color schemes are available.

The others are Boot, Widget, Fload, Task. Buy if you need or have $ to spare ;-)

Re: Termux: terminal emulator and Debian-style userland as an Android app

#147

Earlier quoted context omitted.

Android phones have been able to connect to bluetooth or usb mouse and keyboards since nearly the very beginning. The only thing 'missing' is the screen. Samsung (and other) phones have supported external screens for many years now, often via MHL (although, as you say the Dex dock now packages it all together). I don't believe that the OnePlus5 supports external screens, but I may be wrong. You might be able to get s…

I know that, but connecting a keyboard or mouse to a phone is useless, the big screen is crucial. And while there were options to do that in the past, all were one-offs and needed an extra port. So I guess we both agree about the capabilities that exist(ed), but that is exactly the reason why I posted my "In an ideal world" wish. There is no solution today as far as I'm aware. Which is a shame, given the power that t…

[deleted]

Re: Termux: terminal emulator and Debian-style userland as an Android app

#148
Argh. One of my old phones in my collection is a Samsung Galaxy S Relay "4G" (the 4G in quotes because it was DC-HSPA rather than LTE). It would be a perfect candidate for Termux, being a QWERTY slider.

Unfortunately, it's on CM11 (KitKat), and thus not compatible. Between the collapse of CyanogenMod, LineageOS not picking up the Relay, and the limited specs by today's standards (1G RAM, 8G storage, dual-core CPU), I don't think there's any real future for this handset except as a curio.

Post reply on HN