How to change/set background from gnome-terminal?
How to change/set background from gnome-terminal?
|
One way I can think of is find the name of the current background image and back it up. Then replace it with another. So if the image is /usr/share/backgrounds/default.jpg do mv /usr/share/backgrounds/default.jpg /usr/share/backgrounds/default.jpg.back and then just put another image in it's place called default.jpg.
|
If you run 'gconf-editor' you get visual interface to change the keys & values.
For background you should edit value 'picture_filename' of key 'desktop/gnome/background' If you want to do it in terminal then there is a command 'gconftool-2' Code:
gconftool-2 -t str -s /desktop/gnome/background/picture_filename Wallpaper_File_with_full_path Code:
gconftool-2 -g /desktop/gnome/background/picture_filename Like , when I want to show him the tricks of 'imagemagick' , I upload my desired wallpaper on his PC. I am using ubuntu 8.04. Pleased to help. Thank You. |
Thanks.Done
|
problem with the command
Although the thread is closed, I got a problem with the command. When I run the command:
gconftool-2 -t str -s /Desktop /gnome /background /Desktop /liunx_12.jpg it shows:No value to set for key: `/liunx_12.jpg' What does it mean? How to set the wallpaper with command line? |
Quote:
Code:
gconftool-2 -t str -s /desktop/gnome/background /where/is/your/image/liunx_12.jpg |
My image is at the Desktop. Now how can I set the wallpaper?
|
Try this
Code:
gconftool-2 -t str -s /desktop/gnome/background/picture_filename /home/USER_NAME/Desktop/FILE Don't forget to write extension of image file. Also be case-sensitive. |
? 'xsetbg' ?
|
OZMINH:
What do you mean by xsetbg? Please ellaborate your post. |
for sake of completing thread
http://kemovitra.blogspot.com/2009/0...th-xsetbg.html
There is package called xloadimage of which this is a part. |
All times are GMT -5. The time now is 10:42 AM. |