I can think of multiple ways to get those ssh keys into #termux , the easiest being to run these commands in order in termux:
> whoami # get termux user
> passwd #allows for password auth
> sshd -4p 8022 # This starts the ssh daemon listening on your phone's IP4 address at port 8022. Then from wherever your ssh keys are residing, ssh-copy-id, and boom there goes the dynamite.
Or... just copy the keys onto a SD card and go that route.
Hey #fediverse, any recommendations about a self-hostable open source photo sync solution with Android App support?
I am currently using NextCloud, but am curious to try out alternatives. NextCloud does many things and appears a bit of a bloat for the reason(s) I am using it.
So… is there some kind of ANSI escape code (OSC?) that a #TUI application running in #Termux can send to make @termux switch the soft keyboard to "text input mode" (where autocorrect and stuff are available)? https://wiki.termux.com/wiki/Touch_Keyboard
This would be awesome for e.g. #Vim (or #Neovim): Enter insert mode, the keyboard switches to text input mode. You input some text, hit Esc, the keyboard goes back to "raw" mode.
Opened a #Termux feature request for this now, including a rough sketch on how this could be implemented using #OSC escape codes. Also extended the proposal to support specialized keyboards for URLs, numbers, passwords etc. as well.
I'm happy with my current knowledge and noting system, based on the Zettlekasten method 1. I use org-roam 2 and my trusty #emacs when sitting at a desk, and #obsidian when I'm outside with my phone. I don't pay for Obsidian Sync BTW. I literally sync my notes directly to my remote repository via git in #termux.
Wish I could find a way to edit my Org files with my phone easily. Until then, I still have to stick to Obsidian and writing Markdown files.
I'm interested in ways people are handling #signal backups in terms of getting them off your phone in case you #android phone breaks or you lose it.
I have been using daily scheduled #termux#rsync scripts to own server, which I also use for other purposes. For photos and videos, the benefit is not needing Big Tech cloud surveillance and also preserving original image quality by nothing having arbitrary space constraints.
But there is a slight problem of the Signal backups being 700MB each. not a huge problem in #Finland - the country with unlimited mobile data. The 700MB will not get any smaller though, so I wonder about really long term solution in case Signal itself does not implement more controls to how and what is backed up.
Did you know that you can install #glibc packages on #termux now?, Thanks to maintainer Maxython https://github.com/maxython you may now install pacman and install glibc apps from the gpkg repo!
With #tailscale#ssh i can use every #nix buildon my machine with my phone , without installing a single thing on phone but ssh utils
iirc it wasnt the same with plain ssh
@rml
another example #openkeychain automates most of my #gpg workflow on phone
Then there s #termux
ofc its not a substitute of root , but its something.
We are in the process of setting up this account to make this a new home for announcing updates to Termux applications, sharing useful resources as well as other important updates. It might take some time. Thankyou for your patience!
Oh wow. I’ve just noticed that #Neovim allows custom hooks into the "* and "+ registers, to integrate with whatever command you like. It even comes with quite a few defaults to “just work” in macOS, Wayland, X, SSH, Windows, #Termux and #tmux.
#Android#Linux#termux
Wokay... je suis assez impressionné par Termux.
La nouvelle version de RClone est sortie hier (1.64.0)
Aujourd'hui elle est déjà dispo, repackagée, dans les dépôts Termux.
Nice. 👌
I have installed Termux, a terminal app on my /e/OS (Android based) phone. Not sure what I need it for. Possibly ssh. Terminal is different, more limited, on Android and an ordinary computer. But I kinda like to have a terminal window on my phone. Is Termux a good app? What do you use it for? #termux#foss#terminal#opensource#eos#androidhttps://termux.dev/en/
@SurpriZe
I saw people stating you need a proper computer, with keyboard and mouse, and while I do think that would indeed be ideal, there are some things that can be done through the phone.
One app that is not directly related to programming, but is a great way to setup a system for programming, and learn a lot about terminals and the linux system, is #termux (though I should warn you to NOT download it from the appstore, install it from #fdroid instead)
From there you can install many things you actually use for programming, like a compiler, text editors, python, and things that quite often courses pretend don't exist, by giving you everything already setup in a virtual environment (not saying that is never a good thing, just that it often leaves a gap between learning and actually doing).
Some sites I would also recommend for learning are https://www.learn-c.org/ for the C language and both https://mystery.knightlab.com/ and https://selectstarsql.com/ (in that order) for learning SQL. They're great because they let you type the code directly in a window for the problem, and execute right there, so it's pretty easy to do it from the mobile (though not ideal).
A nice place to learn more about web dev is directly from https://www.w3schools.com/ where there are great resources on #HTML#CSS and #JavaScript and many more. They also have interactive "try it yourself" spaces in most examples, so you can test the concepts directly on they're page.
For help with understanding termux, take a look ate their wiki pages at https://wiki.termux.com
Hope that helps, and hope you get to love it. If you want to talk about, feel free to send me a message.
One annoying thing I found when using #termux app on #android, is the fact that for exploring files you can use only system #files app.
The trouble is that you can access it only through #fileManager app when trying to open Android folder, and there's no option to create shortcut on home screen.
I'm really pleasantly surprised by the #dev tools available on #android phone.
My initial thought was to install #linux on my phone, but there isn't any good option yet - #ubuntuTouch is still beta, plus it's not recommended for most android phone models.
Anyway, I came across the possibility of using #termux app to install few useful things.
Best app to learn programming these days?
And what’s currently the most in-demand language/skill?...