Migration
Situation: you have a bunch of Tasker stuff that depends on Google Play Termux, which is no longer updated. You need migrate to F-Droid Termux. What to do?
If you're setting up Termux for the 1st time, skip to the next section.
- If anything you use Termux for depends on commands that do not ship with the base installation or you have scripts that exist only in Termux's home folder, back up your Termux. You may have to ask about these at the official subreddit or check their packages list. If all the commands you use are in the base installation, skip this step
- Uninstall all your existing Termux apps
Setup
- Install the F-Droid counterparts of the Google Play Termux apps removed in the previous section
- If you want Termux to be able to interact with
/sdcard
and expandable storage, grant it storage permissions:- Open Termux
- Run
termux-setup-storage
- Tap
Allow
in the ensuing pop-up
- If you previously backed up your Termux, follow the instructions at the backup instructions link above to restore your backup
- If you have external scripts you want to run in Tasker, import them by running
cp /sdcard/SourceFolder/Script.sh ~/.termux/tasker/Script.sh
in Termux - To allow Tasker to execute Termux commands, enable Tasker's Termux permission:
- Enter Android Settings
- Tap
Apps
- Tap
Tasker
- Tap
Permissions
- Tap
Additional permissions
- Tap the
Allow
radio button
And that's it. If you have existing Tasker Termux tasks and toggles they should work now.
More information:
Top comments (0)