16
Conrad
1y

Have you ever wanted to open links with firefox from within termux?
$ cat firefox.sh
d=$@
am start -a android.intent.action.WEB_SEARCH --activity-clear-task -t text/plain -d "$d" org.mozilla.firefox/org.mozilla.gecko.BrowserApp

thank me later

Comments
  • 13
    An excellent answer to a question @No-one ever asked. Thank you, sir. We need more people like you here
  • 7
    Why would I open firefox from termux?
  • 13
    @mundo03 That's a silly question. Because you can, obviously. :D
  • 2
    @Jilano That is the thing, I already know it is possible therefore I don't need to do it for that reason.

    I need better reasons.
  • 3
    @mundo03 Fait enough, but just because something is possible or someone is able to do it, doesn't mean you would be too. You could also try to find another, better way to get the same result.
  • 1
    @Jilano or I can continue with my life.
  • 1
    If you are into terminals try T-UI (a terminal launcher)
    It doesnt support color, job control and cursor jumping (as the input is an actual input) but as a launcher its pretty awesome
Add Comment