I am running my Indi and Kstars under Ubuntu 18.04 using a bluetooth device connected to my mount for controlling it.
Manually i have to connect to the bluetooth device, then start Kstars an in Kstars start Indi.
Then i can operate everything.
Now what i want is that when i startup my pc also the connection to my bluetooth device is made and Kstars starts with Indi and all running.
Is it possible to do so?
Ps. i now managed to start Kstars automatically with startup of the pc. Are there any option with the start command of Kstars to startup Indi etc?
INDI Web Manager can autostar a profile. You can write a simple DBus script to also communicate with KStars after it's running to automatically start a profile. Many ways to do it.
Regarding bluetooth, there are a couple of ways to do that, but since you're on 18.04 I'd start by checking /etc/bluetooth/main.conf. Supposedly bluetooth support improved quite a bit in 18.04 over 16.04 so maybe you don't need to do arcane scripts to get this automatically paired after bootup.