Hello,
I have this conky-startup script:
Code:
#!/bin/bash
sleep 15 &&
conky -d -c /home/cyberf4n/.config/conky/infinity/.conkyrc &
exit
Now... I want this script to autostart and I tried the following:
1. I created conky.desktop in /.config/autostart with the code:
Code:
[Desktop Entry]
Name=conky.desktop
GenericName=conky
Comment=Some description about your script
Exec=/home/cyberf4n/.config/conky/conky # I tried with sh /home/cyberf4n/.config/conky/conky - same thing
Terminal=false
Type=Application
X-GNOME-Autostart-enabled=true
Name[en_GB]=conky.desktop
...not working
2. I created conky.service in /etc/systemd/system/ with the following code:
Code:
[Unit]
Description=conky
[Service]
Type=application
ExecStart=/home/cyberf4n/.config/conky/conky
[Install]
WantedBy=multi-user.target
....not working
If I double click on conky.desktop or I run the script in terminal or by just double clicking it everything is working fine.
What the hell is wrong?
I am using ArchLinux with gnome if it matters