Skip to content
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

Support setting Termux as home launcher #880

Closed
wants to merge 1 commit into from

Conversation

xelxebar
Copy link

@xelxebar xelxebar commented Oct 18, 2018

Overview

This addresses #206 (along with #482 and #880), but in a more canonical way than I suggested in the comments there.

As for launching applications, we can use am

am start --user 0 <intent>

Personally, I wrap these in aliases in my bashrc and it works quite well:

app_launch() {
        am start --user 0 "${1}"  >/dev/null
}

alias settings='app_launch "comm.android.settings/.Settings"'

Thoughts

Obviously, my method above requires manual curation. The most annying part is getting the intent uri for newly installed apps, but in #206 @thewisenerd demonstrates one method of easing that hurdle.

@myfreess
Copy link

https://www.coolapk.com/apk/com.tumuyan.fixedplay
A Chinese app,named AnyLauncher,can set termux as Android Launcher。 @xelxebar

@amsitlab
Copy link

I've TermuxLauncher , currently just generate shortcuts for valid bash script. You can launch app via command launch [app name] like launch whatsapp , if appname have [space] you can replace with dash "-" like launch google-play-store
Best regards.

@pulketo
Copy link

pulketo commented Feb 21, 2019

I've programmed a php script to execute those launcher commands with just a part of app's names
"x wh" to launch whatsapp or
"x cont" to launch contacts
https://github.com/pulketo/termux-cute-xcute

@ghost ghost deleted a comment from Hhamadatell2019 Apr 29, 2019
@justworks007
Copy link

Is there any hope that this feature will be merged?

@ghost
Copy link

ghost commented Jul 28, 2020

@justworks007 No, this won't be merged. Don't forget that Termux is a terminal emulator and that's its only purpose.

I'm strongly against overloading it by unnecessary permissions, intents, etc.

@ghost ghost closed this Jul 28, 2020
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants