I'm trying to launch a script located in my home directory when I login on Fedora 21. I have tried to make this desktop file in /usr/share/autostart
[Desktop Entry] Type=Application Name=Wallpapers Exec=/home/user/Wallpaper-script/launch.sh Comment=Autostart wallpaper download and slideshow Terminal=false X-Desktop-File-Install-Version=0.22 OnlyShowIn=GNOME;
When I reboot or login, the script doesn't launch; however, when I manually open the file, the script launches fine. What am I doing wrong here?
I can supply the script files if necessary.
Best Answer
Figured this out. Just had to put the desktop file in
~/.config/autostart
and then it worked like a charm. Thank you so much for the help though Hastur. If anyone is interested in the script, an installation one is available here Link