Phisdr/p2app startup
Phisdr/p2app startup
Can someone please tell me how I can stop the p2app from auto starting upon boot up? I have the g2 display and would like to actually click on which app that I want to run either the p2app or pihpsdr without either auto starting. I’ve looked in the menu for an auto start file with no luck. Thanks
-
- Posts: 307
- Joined: Mon Nov 11, 2019 7:39 pm
Re: Phisdr/p2app startup
The procedures are different depending on how old your operating system release is. Unless you've received your radio in the last few days it is probably using the "old" system.
The mechanism for autostarting is described in the manual, section 4.6. Ive copied the text from that section:
Please be careful when doing this: it requires administrator permission, and can cause harm if incorrectly completed. The settings have been stored in file /etc/xdg/lxsession/LXDE-pi/autostart which can be edited with a text editor. As shipped it will be configured as follows:
With display:
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@/home/pi/github/pihpsdr/pihpsdr
No display:
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@/home/pi/github/Saturn/sw_projects/P2_app/p2app
Use your favourite text editor to edit the file, with root access for example:
pi@raspberrypi:~ $ sudo geany /etc/xdg/lxsession/LXDE-pi/autostart
to get rid of the autostart option, it is the last line you'll need to delete.
The mechanism for autostarting is described in the manual, section 4.6. Ive copied the text from that section:
Please be careful when doing this: it requires administrator permission, and can cause harm if incorrectly completed. The settings have been stored in file /etc/xdg/lxsession/LXDE-pi/autostart which can be edited with a text editor. As shipped it will be configured as follows:
With display:
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@/home/pi/github/pihpsdr/pihpsdr
No display:
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@/home/pi/github/Saturn/sw_projects/P2_app/p2app
Use your favourite text editor to edit the file, with root access for example:
pi@raspberrypi:~ $ sudo geany /etc/xdg/lxsession/LXDE-pi/autostart
to get rid of the autostart option, it is the last line you'll need to delete.
Laurence Barker G8NJJ
Re: Phisdr/p2app startup
Laurance, are you saying that Apache labs has changed the operating system for the G2 radios recently? If so, is this to support the CM5 module that Tony told me was coming? He also told me that there would be a replacement kit offered at some point if users didn't want to source all of the necessary bits to buy a CM5 elsewhere.
Also, do you know if they will make a image available for the new hardware?
James
WD5GWY
Also, do you know if they will make a image available for the new hardware?
James
WD5GWY
Re: Phisdr/p2app startup
@/home/pi/github/pihpsdr/pihpsdr
Thanks Mr Barker for that info and the last line to delete would be the one I listed? Of course I’m thinking mine will have p2app at the end of the line since that’s what is starting at boot up.
I’ll try this and report the results. 73
Thanks Mr Barker for that info and the last line to delete would be the one I listed? Of course I’m thinking mine will have p2app at the end of the line since that’s what is starting at boot up.
I’ll try this and report the results. 73
Re: Phisdr/p2app startup
Yes, the last line is the one you want to delete.
James
WD5GWY
James
WD5GWY