I am trying to autostart a music player when my Lubuntu boots but I can't seem to get it to work. I am fairly new to Linux systems and have searched the internet for hours but I am out of ideas. This is a .desktop file I made:
[Desktop Entry]
Name=Script
Exec=/home/t/script.sh
Icon=home/t/script.sh
Terminal=true
Type=Application
X-KeepTerminal=true
StartupNotify=false
When I manually start it it works perfectly. I've added this file in:
/.config/autostart
/etc/xdg/autostart
/usr/share/applications
At: /.config/lxsession/Lubuntu
I added the line
@/home/t/dtest.desktop
I also added the directory to rc.local
/home/t/script.sh
to startup applications. – pLumo Apr 27 '20 at 11:15/home/t/script.sh
do? – Melebius May 05 '20 at 10:07