Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using the awesome wm and awsetbg to draw the background. Suddenly, for a mysterious reason, it doesn't work (awsetbg /some/file.jpg), and when I try to get it to use a random directory (awsetbg -r /path/to/pics/dir) it says "invalid random wallpaper directory." Why is that, and how can I fix it? The directory doesn't contain anything but image files.

Update: I tried both awsetbg -r ~/Pictures and awsetbg -r /usr/share/backgrounds, but neither work.

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

If you use -r without a wallpaper setter installed awsetbg will set the directory to "#535d6c" which is invalid, install any wallpaper setter to fix it.

sudo apt-get install feh

Instead of feh you can try chbg, xsri, display, Esetroot, wmsetbg, xsetbg, xli, qiv, xv, hsetroot, habak, fvwm-root or icewmbg.

share|improve this answer
add comment

Use -R not -r

Worked for me.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.