-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Lightweight flavor of the app without package management #2201
Comments
This is a good point. @fornwall, what do you think about updating the Play Store Termux app to only be a terminal, then linking from there to F-Droid for those who want the package manager version too? That way, we could keep an updated terminal in the Play Store, but direct people who want packages to F-Droid. |
I want this too, since I only use termux as terminal app on my rooted device. Here are some suggestions for the trimmed down version :-
|
Add There are issues with people messing with The |
Since there will be no termux system, so no need to worry about people. As for the
That's the whole point of this feature request, we don't want apt and the termux's linux ecosystem. Just want to use it as a terminal app because it's the best terminal app on Android. |
Lolz, you should check issues, emails and support forums. We do have to deal with them and users don't read the documentation, nor understand linux ACL and selinux contexts. So every change that's made, has to be thought through. I have no issue with making things easier for rooted people, do plan on adding support for it, including in Moreover, termux app does not control what shell gets called (other than failsafe), it is decided by And termux app allegedly being the best terminal app on Android has a lot to do with it having Moreover, Some other Moreover, if bootstrap isn't extracted, then things like So this "minimal" non-termux env is neither as useable or easy to implement or configure as one may think, specially considering not everyone may have the same requirements as you do. This minimal env will still need parts of termux ecosystem, at initial implementation or added at a later time. Only a failsafe env can be added initially, but request or at least the need for other termux parts will still come later.
Minimal env is not just for rooted people, its for non root people and secondary user as well. So such files need to be under |
For me atleast, termux being the best terminal app on Android has mainly to do with theming and custom font support, along with a good support of escape codes, touch support and the customisable extra keys row. All I use it is for is to enter root shell and then chroot (provided by toybox) into my Arch Linux rootfs. And I believe that someone without rooted device wouldn't want to use this proposed minimal termux anyways (since androids built-in shell is limited without root). They should go for full termux, shouldn't they ? |
OP didn't say they were rooted. Also required for secondary user #2291 |
Actually he did said he was root here :-
|
Ah, sorry! But even I very often use system binaries without root for testing and stuff for different stuff, including when writing shell libraries for posixy shells and writing scripts for tasker or my tasker framework which without root can only access system binaries. The binaries and their options change in every android version, so to maintain compatibility, have to test various versions. I usually do that through https://android.googlesource.com/platform/system/core/+/master/shell_and_utilities/README.md Moreover, now Termux checking of bootstrap, prefix, profile user, permissions, etc is relatively complex even now. Adding more variants including potential apk packaging and proot variants support, required for android 10 issues requires thought on how to support all of them. https://www.xda-developers.com/termux-terminal-linux-google-play-updates-stopped/ |
Feature description
Termux provides a great terminal UX, however it's a very big app (~150MB) for those users that don't take advantage of all of its features.
Actually, I use Termux only to run system commands as root (
pm
,appops
,am
, ecc.) from time to time and I'm not interested in installing packages or running Linux binaries. However, I love the extra keys row and just this feature is a strong enough motivation to use Termux simply as a terminal emulator.Therefore, I think that a "lite"/"core" flavor of the app without package management nor pre-installed packages would better fit those people who want to use Termux just for its UX, without taking too much storage space.
Also, this alternative flavor would (theoretically) not be subject to the W^X restriction (#2155) and could be updated through the Play Store.
Reference implementation
The "failsafe" mode of Termux is a good example of how a trimmed version of Termux could look like.
The text was updated successfully, but these errors were encountered: