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)…
startwall.sh a file I have created and I called Terminal in sh startwall.sh and I added Startup Application and I have Run to applicatiion.But I want to Play as Automatic Background always on each Workshapes.
Code:
#!/bin/bash
ws=$(wmctrl -d | wc -l)
cws=$(wmctrl -d | awk '/*/ {print $1}')
lws=$(($cws-1))
if [ $lws = -1 ]; then
lws=$(($ws-1))
gconftool -t string -s /desktop/gnome/background/picture_filename "/root/Desktop/wall/b.jpg";
else
gconftool -t string -s /desktop/gnome/background/picture_filename "/root/Desktop/wall/q.jpg
fi
OR
#!/bin/bash
# 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"
else
gconftool -t string -s /desktop/gnome/background/picture_filename "/root/Desktop/wall/q.jpg"
fi
Best Answer
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.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.
CompizConfig