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.

Possible Duplicate:
How do I change the desktop background from command line?

Is it possible to set the desktop wallpaper in ubuntu 11.04 via a terminal command? I've been searching for about two hours but didn't find anything related to this. In Ubuntu 10.04 I did it with

gconftool-2 -t str --set /desktop/gnome/background/picture_filename 

but it doesn't work with 11.04.

share|improve this question

marked as duplicate by Jorge Castro, Marco Ceppi Jul 4 '11 at 1:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Where is the exact duplicate please? –  Shawn Feb 29 '12 at 4:56

1 Answer 1

The first one is this one here ;) the second one doesn't work, the key is set correct, but it doesn't has any effect on the background. when i change the wallpaper in the appearence tool, the key isn't changed is there a way to see which keys are changed by an application?

Edit: Oh, it was my fault. I ran the commands as root, not as normal user. Sry for the trouble.

"gconftool-2 -s /desktop/gnome/background/picture_filename --type string" still works

share|improve this answer

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