• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.
    • B Offline
      Br1
      last edited by 27 Mar 2022, 22:06

      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
      B 1 Reply Last reply 5 Jun 2022, 13:58 Reply Quote 0
      • B Offline
        Br1 @Br1
        last edited by Br1 6 May 2022, 14:02 5 Jun 2022, 13:58

        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
        • B Br1 has marked this topic as solved on 5 Jun 2022, 13:59
        • First post
          Last post