UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Run Terminal Scripts from the Launcher

    Scheduled Pinned Locked Moved Unsolved Support
    2 Posts 2 Posters 278 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • T Offline
        thedeafenguy
        last edited by

        Hello all,

        I have installed Tailscale on my Pixel 3a XL running Ubuntu Touch through snap. However, whenever I want to start the VPN, I have to enter a long command to start it and stop it. To get around this, I tried to create a shortcut in the app launcher that, upon being opened, will run the necessary command to start Tailscale. So far, I have been unsuccessful. I already tried making a .desktop file that will run the script. When opening the app from the launcher and checking the status of Tailscale in the terminal, I see that Tailscale has not started. Does anybody have any ideas to how I can get this working?

        K 1 Reply Last reply Reply Quote 1
        • K Offline
          kugiigi @thedeafenguy
          last edited by

          @thedeafenguy Does it need sudo or any interactive step? I think those are not supported. Check Waydroid's desktop files but it's possible only normal commands will work and no scripts.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post