The .desktop file gets messy with updates
Opened this issue · 3 comments
Deleted user commented
Because of the >>
here, the file ~/.config/autostart/bingwallpaper.desktop
becomes messy after a few updates:
[Desktop Entry]
Type=Application
Exec=sh /usr/bin/bingwallpaper
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name=Bing Wallpaper
Comment=Bing Pic of the day as wallpaper.
[Desktop Entry]
Type=Application
Exec=sh /usr/bin/bingwallpaper
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name=Bing Wallpaper
Comment=Bing Pic of the day as wallpaper.
# ...
Another point, this file is owned by root:root
but sits in user land, that's incorrect I think.
PS: 👍 for this tool, I really like it.
whizzzkid commented
I should remove the desktop entry, This should resolve it.
For some reason on mint, It shows me as the owner of this file. I never wondered that it should show this file to be owned by root. Lemme dig deeper on this.
Thanks :-)
Deleted user commented
It's fixed, but I did notice something:
/var/log/syslog.7.gz:Dec 19 06:38:27 xxxxxxxxxxx bingwallpaper.desktop[3842]: /usr/bin/bingwallpaper: 93: /usr/bin/bingwallpaper: Syntax error: "(" unexpected (expecting "fi")
That was causing the autostart process to fail. I think this is because of the sh
in the autostart file:
regis@xxxxxxxxxxx:~$ sh /usr/bin/bingwallpaper
/usr/bin/bingwallpaper: 93: /usr/bin/bingwallpaper: Syntax error: "(" unexpected (expecting "fi")
Removing the sh
fixed the issue for me
whizzzkid commented
This is fixed now. Closing this issue.