Sign up ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I'm using terminal-ide which is basically a terminal for android with all sorts of utilities. One is able to create bash scripts for example. Is there a way to create an icon on the home screen that will launch one of these scripts?

share|improve this question
Not that I know of. But you might want to take a look at e.g. GScript, which claims to provide such shortcuts. –  Izzy Apr 1 '13 at 21:05

3 Answers 3

If the script isn't dependent on Terminal IDE but on shell only, then you can use Tasker to create a home screen shortcut which would execute the script.

Brief instructions:

  1. Choose Task Shortcut widget in your current launcher.
  2. Create a task name and tap +Code → Run Shell. Enter the details there as per your need.
  3. Save the task, choose the icon, and a shortcut (icon) would be placed at home screen.
  4. The shortcut would work as long as Tasker's service keeps running in background.
share|improve this answer

Terminal-ide doesn't appear to have that feature yet, but it does have an issue tracker where you could request it. As it's an open-source program, you might even be able to add the feature yourself if you know (or are willing to teach yourself) a little about how Android apps are written.

share|improve this answer

Is there a way to create an icon on the home screen that will launch one of these scripts?

There is another way (other than this one) if you happen to use Terminal Emulator for Android app. It allows a widget which can be used to execute a script.

  1. Install that app, choose Term Shortcut widget in your current launcher.
  2. Corresponding to Arguments enter:

    sh <FILEPATH>

    In my case, the query was:

    sh  /sdcard/airdroid/

    As for the root access, you can either provide su access from inside the script and use the aforesaid command for execution, or do:

    su -c "sh  /sdcard/airdroid/"

    Choice is yours!

    Choose icon or shortcut label as per your needs, tap OK and an icon would be placed on the home screen.

  3. Tap the icon, the Terminal Emulator app window would open and the script would execute, just like in Desktop GNU/Linux.

We're good to go!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.