[Xastir] Autostart Xastir

Jason KG4WSV kg4wsv at gmail.com
Tue Feb 20 09:52:54 PST 2018


Pretty sure systemd would have the same problem as cron - the
application needs to be a child of the window manager so that the X
security is satisfied.

And Curt, if systemd scripts are easier than rc scripts then one of us
is looking at the wrong documentation.  :)


So back to the original question.  I read this:

https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=139224

and sure enough I have a file  .config/lxsession/LXDE-pi/autostart

pi at raspberrypi:~ $ ls .config/lxsession/LXDE-pi/autostart
.config/lxsession/LXDE-pi/autostart

and it has some stuff in it:

pi at raspberrypi:~ $ cat .config/lxsession/LXDE-pi/autostart
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@point-rpi


So i use my favorite editor to add this line to the end of that file:

@/usr/local/bin/xastir


and now xastir starts on boot.

-Jason
kg4wsv


More information about the Xastir mailing list