Termux

T

Termux

Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required.

Join

Has anyone successfully compiled onnxruntime-node?

Has anyone successfully built onnxruntime for node for termux. I've been able to build onnxruntime.so for arm64 from WSL. But cross compiling the node bindings seems impossible. Cuz the build toolchain requires linux-x86_64 but then it doesn't bind to nodejs for arm64. After a lot of trial and error and monkey patching, cmake stops at [100%] build progress. I've even tried to just use: ``` npm I onnxruntime-web...

pulseaudio can't record on LineageOS 20 / Android 13?

So, I have a Xiaomi Smart Clock running LineageOS 20 (Android 13) that I'm trying to get Wyoming in Termux (https://github.com/T-vK/wyoming-satellite-termux/tree/main) running on. I am able to get everything installed and running ... but it seems like the mic isn't getting any input. If I use termux-microphone-record I'm able to record audio and play it back with termux-media-player but when I try to use sox (via rec) or parecord , the output file is exclusively 0x00 data. This is even if I run pactl load-module module-sles-source immediately before....

Rustup denied?

I tried to install rust and get to the most recent version, it just denied permission
No description

Usb tty usage on unrooted

Im guessing its not in the api yet, I didnt see it Just got some tty lora modules; rq question about it, because I want to use in termux is there a easy way now, or are we still stuck with using a diffrent app, or writing a usb parser in termux? If proot can parse, thats fine too; I just want to mess with them in python, instead of directly sending at commands to it....

Ollama Vulkan

There is this specific version that leverages every GPU because of the Vulkan API, theoretically even Mali GPUs should work... I'm no expert, regards....

Termux:Widget - How to create tasks for it?

i found this page on the wiki - https://wiki.termux.com/wiki/Termux:Widget which leads to this github page - https://github.com/termux/termux-widget which has this section in the README for Creating and Modifying Scripts - https://github.com/termux/termux-widget?tab=readme-ov-file#Creating-And-Modifying-Scripts but there appears to be no instructions on what goes in the script? Do i need to use Termux:GUI commands to create a UI? I have tried to do something simple like python -c "print('hello')...
Solution:
try adding sleep after echo

OpenGL/ES-Related program Doesn't Work Anymore in Termux

I just found this weird problem where OpenGL/ES-related program such as glxinfo/glxgears (from mesa-demos), and GLFW seems doesn't respond, what i mean by that, when i run program like glxinfo/glxgears, nothings happened, this also happened on my GLFW + GLAD + OpenGL program in C++, where it tells me that GLFW Successfully Initialized (via glfwInit()), but Window is not created, any idea why? i use Openbox as the Window Manager (i guess it's helpful to include the WM i use). and Latest B...

e

I want to make a text file listing all the files in a folder. I would also like to have the listed files sorted by ascending creation date, in apostrophes, and have the word "file" before the file directory.
file '/path/to/file1.wav'
file '/path/to/file2.wav'
file '/path/to/file3.wav'
file '/path/to/file1.wav'
file '/path/to/file2.wav'
file '/path/to/file3.wav'
...

Is there a way to quietly open Termux from another app?

I am developing an app in flutter and I want it to start up a nodejs server I've built in termux. I've set everything up so that it works as expected with the RUN_COMMAND intent. However, I've noticed that I get an error running the intent if termux isn't running in the background. I understand that this is an Android security issue, but I wanted to ask you guys there was anything I could do to elevate this issue? Right now I have an intent to open the termux app from my app, but it's pretty bad UX, so I was wondering if there was anything I could do on termux's side to make this better?...

Vim cannot load python3 due to outdated symbol table

Hey all. So TL;TD; How to upgrade vim in termux from version 9.1? ...

Expect rustls-platform-verifier to be initialized

I'm trying to install rust, I tried trough APT (pkg), and it installs rustup and cargo without a tool chain, if installing using the script from sh.rustup.rs it simply does not install giving an error, if I try to install a tool-chain with the rustup installed from APT it gives the same error. The error being a panic that says expected rustls-platform-verifier to be initialized I did pkg update pkg upgrade uninstalled, installed again, tried old versions... Nothing works. If someone can help with this error It'd be greatly appreciated....
Solution:
that issue should be resolved now, try pkg upd && pkg upg and try pkg ins rust

Termux getting killed

is there something that kills processes when they consume too much resources on android not the phantom process killer im on android 10 but it still gets killed samsung note 9 i do have root

Cannot link executable

I'll ask this here and on the Reddit for the sake of convenience. I encountered this issue when reinstalling Termux. I've seen people with this issue before,but I'm a bit lost to how exactly fix it (I'm not very bright as you can see..)

Installation error

I am trying to install praat-parselmouth which is a python library for voice analysis but I am getting this error message, I have installed and used this a few months ago but cant install now for some reason, chatgpt cant help either This is ubuntu btw...
Solution:
Does setting this environment variable make any change? CMAKE_POLICY_VERSION_MINIMUM=3.5...
No description

Using ffmpeg to edit my photos time & date

I want to edit my photos time & date using ffmpeg but I don't know if the package can do that? Can it? Edit: I also never used the package before so I don't know what to do...

OpenGLES?

Is it possible to access the Android OpenGLES library from Termux? I'd like to build Android apps from within Termux, but this is the only thing stopping me.

___> problem

Wth do I do I can't run anything
Solution:
Do CTRL+D.
No description
Next