LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to change/set background from gnome-terminal? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-change-set-background-from-gnome-terminal-811611/)

cola 06-01-2010 10:01 PM

How to change/set background from gnome-terminal?
 
How to change/set background from gnome-terminal?

LunixKing 06-01-2010 11:07 PM

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.

sumeet inani 06-02-2010 12:33 AM

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
Actually this is fun because I telnet to my friend's PC & use
Code:

gconftool-2 -g /desktop/gnome/background/picture_filename
to find out his current wallpaper then I can change it (with his consent) & he will notice it.
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.

cola 06-02-2010 02:02 AM

Thanks.Done

jone kim 06-02-2010 08:27 AM

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?

cola 06-02-2010 10:11 AM

Quote:

Originally Posted by jone kim (Post 3989982)
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?

Code:

gconftool-2 -t str -s /desktop/gnome/background /where/is/your/image/liunx_12.jpg

jone kim 06-04-2010 11:31 AM

My image is at the Desktop. Now how can I set the wallpaper?

sumeet inani 06-05-2010 03:31 AM

Try this
Code:

gconftool-2 -t str -s /desktop/gnome/background/picture_filename /home/USER_NAME/Desktop/FILE
Replace words in block letter by appropriate.
Don't forget to write extension of image file.
Also be case-sensitive.

ozminh 06-05-2010 10:47 PM

? 'xsetbg' ?

jone kim 06-06-2010 01:46 PM

OZMINH:

What do you mean by xsetbg? Please ellaborate your post.

sumeet inani 05-29-2011 11:34 PM

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.