sp4rkie / debian-on-termux

HOWTO install plain Debian 10 (buster) on your non-rooted Android smartphone
GNU Lesser General Public License v2.1
413 stars 87 forks source link

is it possible to run termux api commands? #32

Closed morgonhed closed 6 years ago

morgonhed commented 6 years ago

Hi, first of all thanks a lot for your efforts, being able to run a (sort of) debian on my tablet is absolutely fantastic.

What I would like to do is to post notifications from within the debian-environment. In a pure termux environment I can run "termux-notification" to achieve this, which resides in /data/data/com.termux/files/usr/bin.

I have added "/data/data/com.termux/" as a -p argument to the proot call that starts the debian-environment and the path is now available from within the debian-environment and I can see the programs, but they don't run.

So is there a way to run "termux-notification" from within the debian-environment?

Many thanks!"

Dmole commented 6 years ago

Maybe use a shared named pipe to proxy the call?

abinashdash17 commented 6 years ago

Check this link : issue on running termux api commands in debian

sp4rkie commented 6 years ago

@morgonhed: did the link from above work for you?

projectextremum commented 6 years ago

@sp4rkie issue being that people forget it once they can't get it right. And github doesn't even have a proper notification system. :P