Comments (6)
You are so Awesome! that was so cool, the good thing is now i can also make a Termux Widget and shortcut too, i am going to write a tutorial for running Hollywood Terminal with one click later
from termux-tasker.
You need to create launch script in ~/.termux/tasker
which will call whatever you need.
If you have installed Ubuntu with scripts from https://github.com/Neo-Oli/termux-ubuntu/blob/master/ubuntu.sh, then you should be able to pass necessary arguments to start-ubuntu.sh
so it will launch your program instead of just bash shell.
from termux-tasker.
i created a myscript.sh in ~/.termux/tasker 👍
#!/bin/bash
./ubuntu_directory/start-ubuntu.sh
but didn't work
from termux-tasker.
#!/bin/bash
=> #!/data/data/com.termux/files/usr/bin/bash
Termux is not standard environment and shebangs here different. Within shell you are saved by termux-exec
hook but outside (Tasker plugin) is not.
./ubuntu_directory/start-ubuntu.sh
but didn't work
Yes, in that variant it will not work. Use absolute paths here and call script with its interpreter. Example:
bash /data/data/com.termux/files/home/ubuntu_directory/start-ubuntu.sh
from termux-tasker.
it actually worked,
#!/data/data/com.termux/files/usr/bin/bash
bash /data/data/com.termux/files/home/ubuntu_directory/start-ubuntu.sh
so with that the Ubuntu chroot terminal opens but now how to implant "hollywood" command after that?
from termux-tasker.
how to implant "hollywood" command after that?
Try
bash /data/data/com.termux/files/home/ubuntu_directory/start-ubuntu.sh /usr/games/hollywood
from termux-tasker.
Related Issues (20)
- Is the development of this plugin stopped? I can't install in on Android 14 HOT 1
- bash: extglob off in the plugin - not possible to enable it HOT 4
- Plugin doesn't work on Android 14 HOT 4
- The argument not support file paths HOT 2
- App package conflicting HOT 1
- Cannot install: Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE] HOT 4
- change request: make com.termux.permission.RUN_COMMAND permission enforcement optional HOT 3
- Error installing Termux Tasker HOT 1
- I can't install this app on my Android HOT 1
- stdout not working with Tasker HOT 9
- Installation issue HOT 1
- httpie binary doesn't work in background HOT 9
- My script output dissappears immediately after running HOT 2
- Working directory doesn't seem to work if there are spaces in the name
- Actions downloads expired HOT 1
- "other plugin host apps"? HOT 1
- Readme unclear HOT 2
- Script not found HOT 9
- bash - "Arguments" doesn't accept bash commands HOT 3
- App icon stay showed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from termux-tasker.