I am trying to start a shell script after user login in gnome. Under Xorg I did this with a .desktop file in ~/.config/autostart.
Today I switched to wayland and the autostart of this script doesn’t work.
The script should start two instances of conky. When I run the script manually all is working fine and conky gives me the information. But the autostart is not working.
Here is the .desktop file (~./config/autostart/startconky.desktop
[Desktop Entry] Type=Application Exec=/home/NAME/.conky/myscript.sh Hidden=false X-GNOME-Autostart-enabled=true Name=myscript Comment=custom script
and the the content of the script:
#!/bin/bash exec conky --config=/home/NAME/.conky/.conkyrc & exec conky --config=/home/NAME/.conky/.conkyrcnet &
Is there another way to autostart a script under wayland?