Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 was marked as an exact duplicate of an existing question.

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

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.