How to workaround to install termux:api with same origin issue?

I just got a new phone and installed termux and the letters r, i and l look off, why is that? This is very wierd as it worked fine on my previous phone and i've never seen it before. Otherwise the app works fine but it bugs me very much that l is rather a rectangle and not a lineish shape... i just downloaded the latest release from github if it matters and used the universal installer
No description
7 Replies
anyamoyee :3
anyamoyee :3OP11mo ago
PS: please ping me if you have any solution, thanks!
TomIO
TomIO11mo ago
This is a known font issue. Just replace ~/.termux/font.ttf with a different (monospace) font. We have several options available through Termux:Styling. https://github.com/termux/termux-styling Or you can grab a font online. It will need to be placed at ~/.termux/font.ttf but despite the file extension OTF fonts are supported as well.
GitHub
GitHub - termux/termux-styling: Termux add-on app for customizing t...
Termux add-on app for customizing the terminal font and color theme. - GitHub - termux/termux-styling: Termux add-on app for customizing the terminal font and color theme.
anyamoyee :3
anyamoyee :3OP11mo ago
Also i have another issue, i cannot install termux:api because it says App not installed as package conflicts with an existing package is there a fix for it? i've seen solutions on reddit which did not work for me also i tried installing styling but it also has the same issue as api ^^^ i kinda relied on termux api on my previous phone and even though i can disable the part that did rely on it, i'd like to keep it since it's super useful
TomIO
TomIO11mo ago
You also seem to be running very outdated packages. If you installed through the playstore please update to either the F-Droid or GitHub release. Then update all of your packages. Termux does not support partial upgrades. You may need to use termux-change-repo to select a different mirror if the outdated one is no longer available.
anyamoyee :3
anyamoyee :3OP11mo ago
i installed through github (latest release) just now, i did change repos with termux change repo to all repos and i did pkg up
TomIO
TomIO11mo ago
Should have a bunch of package updates (we've been busy...) As for plugins. Termux:API will need to be installed from its GitHub release as well if you installed the main app from GitHub. There is also a "companion package" on the repos. Termux:API implements the API access. The termux-api package contains the commands for using those APIs through the command line. The "same origin" caveat applies to most official Termux add-ons for now, though we are working to resolve that.
anyamoyee :3
anyamoyee :3OP11mo ago
i did pkg update && pkg upgrade, however i still cannot install the termux api due to the same origin issue
The "same origin" caveat applies to most official Termux add-ons for now, though we are working to resolve that.
Is there any workaround in place? Or anything i can do to install both things at once? Or any ETA on when is that fix going to be published? I tried adb but when i try to install it, it understandably cannot find the package because i don't know how it would see the apk path from the commands i found on reddit
21:38:17 | C:\adb> adb shell cmd package install-existing com.termux.api
android.content.pm.PackageManager$NameNotFoundException: Package com.termux.api doesn't exist
21:38:17 | C:\adb> adb shell cmd package install-existing com.termux.api
android.content.pm.PackageManager$NameNotFoundException: Package com.termux.api doesn't exist
sorry i'm not very much experienced with android, or even linux... i did install termux-api package but i guess it needs the termux:api app because it just never returns to bash nor gives any information after i use it nvm then uh, either way thank you for help! Uh i am dumb i was testing things on a different phone with termux:api installed............ so, is there anything so i can get termux command line api to work?
Want results from more Discord servers?
Add your server