Thanks for your replies! And sorry for my confusion.
First I tried by:
placing the app in /usr/bin
and creating a text-file “X-Air-Edit.desktop” in /home/pi/.local/share/applications This was in the text file:
[Desktop Entry]
Encoding=UTF-8
Name=X-Air-Edit
Icon=/usr/share/icons/gnome/24x24/categories/preferences-desktop.png
Comment=Remote control for X-Air mixers
Exec=/usr/bin/X-AIR-Edit
Terminal=false
Type=Application
Categories=AudioVideo
StartupNotify=false
For making it autostart at startup I added "@X-AIR-Edit" at the end of the autostart file with:
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
This option did not work, BUT after I used raspi-config to switch to X11 from Wayland, it did work! So thanks very much for that!!!
But now I have a new problem. I have an other application that also needs to start with X-Air-Edit, it's called Osimidi. It's like a bridge between my hardware and the X-Air-Edit software. Osimidi is already installed on my raspberry and it autostarts by only adding: @osimidi-stage at the end of the autostart file with:
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
Now both applications autostarts, but Osimidi says it can't find the X-Air-Edit application, so it does still not work.
If I execute X-Air-Edit by clicking it in the /usr/bin/ folder, Osimidi does find X-Air-Edit and both work the way they should.
I did not have this issue on my former RP3b setup.
For the Systemd way, you said:
1. Look for errors: I did, it says "no entries"
2. Try changing "WantedBy=default.target" to "WantedBy=graphical.target" , I did but nothing changed
3. You've not specified which DISPLAY to connect to. , I don't know how to, but I think I'll read that in your good looking manual.
Thanks for all help so far and if you have any ideas, for getting both applications run on startup AND working together, that would be wonderfull!
First I tried by:
placing the app in /usr/bin
and creating a text-file “X-Air-Edit.desktop” in /home/pi/.local/share/applications This was in the text file:
[Desktop Entry]
Encoding=UTF-8
Name=X-Air-Edit
Icon=/usr/share/icons/gnome/24x24/categories/preferences-desktop.png
Comment=Remote control for X-Air mixers
Exec=/usr/bin/X-AIR-Edit
Terminal=false
Type=Application
Categories=AudioVideo
StartupNotify=false
For making it autostart at startup I added "@X-AIR-Edit" at the end of the autostart file with:
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
This option did not work, BUT after I used raspi-config to switch to X11 from Wayland, it did work! So thanks very much for that!!!
But now I have a new problem. I have an other application that also needs to start with X-Air-Edit, it's called Osimidi. It's like a bridge between my hardware and the X-Air-Edit software. Osimidi is already installed on my raspberry and it autostarts by only adding: @osimidi-stage at the end of the autostart file with:
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
Now both applications autostarts, but Osimidi says it can't find the X-Air-Edit application, so it does still not work.
If I execute X-Air-Edit by clicking it in the /usr/bin/ folder, Osimidi does find X-Air-Edit and both work the way they should.
I did not have this issue on my former RP3b setup.
For the Systemd way, you said:
1. Look for errors: I did, it says "no entries"
2. Try changing "WantedBy=default.target" to "WantedBy=graphical.target" , I did but nothing changed
3. You've not specified which DISPLAY to connect to. , I don't know how to, but I think I'll read that in your good looking manual.
Thanks for all help so far and if you have any ideas, for getting both applications run on startup AND working together, that would be wonderfull!
Statistics: Posted by da-ism — Sat Feb 22, 2025 12:00 am