Market

2014/05/18

Variety wallpaper changer on Ubuntu 14.04

After upgrading to Ubuntu 14.04, I noticed that Variety, the desktop wallpaper changer I'm using, stopped updating the desktop wallpaper (xfce here), although it continued to change the photos (by updating the application's indicator icon).

So, I started looking into the details and I found that I had to change two lines in ~/.config/variety/scripts/set_wallpaper script.

Before:
xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/image-path -s "" 2> /dev/null
xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/image-path -s "$WP" 2> /dev/null

After:
xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitorLVDS/workspace0/last-image -s "" 2> /dev/null
xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitorLVDS/workspace0/last-image -s "$WP" 2> /dev/null