Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

I want to use different wallpaper on each workspace, but the following does not change background wallpapers:

There are problem ....left -right at click on workspaces.(Ubuntu 10.04)... a file I have created and I called Terminal in sh and I added Startup Application and I have Run to applicatiion.But I want to Play as Automatic Background always on each Workshapes.

ws=$(wmctrl -d | wc -l)
cws=$(wmctrl -d | awk '/*/    {print $1}')   
if [ $lws = -1 ]; then

    gconftool -t string -s /desktop/gnome/background/picture_filename "/root/Desktop/wall/b.jpg"; 
    gconftool -t string -s /desktop/gnome/background/picture_filename "/root/Desktop/wall/q.jpg



#  ws=$(wmctrl -d | wc -l)
cws=$(wmctrl -d | awk '/\*/ {print $1}')
if [ $cws = 0 ]; then
    wmctrl -s $cws
    gconftool -t string -s /desktop/gnome/background/picture_filename "/root/Desktop/wall/b.jpg"
    gconftool -t string -s /desktop/gnome/background/picture_filename "/root/Desktop/wall/q.jpg"
share|improve this question
Can you clarify your question please? It's hard to tell what you're asking or what your problem is. – Caesium Dec 13 '11 at 2:35
ok..I want to use different wallpaper on other workspaces....but does not change background wallpapers..gconftool-2 -s /apps/compiz/plugins/wallpaper/screen0/options/bg_image -t string "[/root/Desktop/wall/q.jpg,/root/Desktop/wall/b.jpg] " --->ubuntu 10.04 – erkan şentürk Dec 13 '11 at 2:43
Thank You Very Much James Henstridge! – erkan şentürk Dec 13 '11 at 3:03
Seems very similar to… – itnet7 Dec 13 '11 at 3:04
Thank You.. But is not the right answer. – erkan şentürk Dec 13 '11 at 3:08
up vote 0 down vote accepted

You can get the Wallpaper plugin for Compiz by installing compiz-fusion-plugins-extra (sudo apt-get install compiz-fusion-plugins-extra). It will show up under the Utility category in CompizConfig Settings Manager. enter image description here

Before you can use it, you'll have to configure Nautilus to not draw the desktop. Run gconf-editor and uncheck the setting /apps/nautilus/preferences/show_desktop. This will make all of your desktop icons disappear, and there is no solution to this drawback at this time.

To configure the Wallpaper plugin, add images to the list of backgrounds. They will be assigned to workspaces in the order they are listed.


share|improve this answer
> >Thank YOU + - But is not the right answer.Because I am needed wmctrl control scipt ....for left -right at click on workspaces. – erkan şentürk Dec 13 '11 at 14:53

Your Answer


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.