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

    Autostart app

    Scheduled Pinned Locked Moved Solved Support
    2 Posts 1 Posters 329 Views 2 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.
      • Br1B Offline
        Br1
        last edited by

        Hi, I would like to autostart a couple of applications, one is teleport, someone did it ?

        PS
        Autostarting a bash script works, running teleport from command line also works, but if I put the command in the bash script it doesn't work 😞

        ^

        • Google Pixel 3a XL
        • Xiaomi MI A2
        Br1B 1 Reply Last reply Reply Quote 0
        • Br1B Offline
          Br1 @Br1
          last edited by Br1

          I found the solution, it was enough to delay the execution for a few seconds :

          #!/bin/sh
          /bin/sleep 10 ; /usr/bin/ubuntu-app-launch uhome.pavelprosto_uHome_0.9.0 
          

          no need to start teleport (it is already running) I put in autostart Home screen

          screenshot20220605_155256263.png

          ^

          • Google Pixel 3a XL
          • Xiaomi MI A2
          1 Reply Last reply Reply Quote 0
          • Br1B Br1 has marked this topic as solved on
          • First post
            Last post