LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-01-2010, 10:01 PM   #1
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,019

Rep: Reputation: 63
How to change/set background from gnome-terminal?


How to change/set background from gnome-terminal?
 
Old 06-01-2010, 11:07 PM   #2
LunixKing
LQ Newbie
 
Registered: Dec 2009
Distribution: debian
Posts: 4

Rep: Reputation: 0
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.
 
Old 06-02-2010, 12:33 AM   #3
sumeet inani
Member
 
Registered: Oct 2008
Posts: 881
Blog Entries: 26

Rep: Reputation: 47
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.

Last edited by sumeet inani; 06-02-2010 at 12:57 AM.
 
Old 06-02-2010, 02:02 AM   #4
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,019

Original Poster
Rep: Reputation: 63
Thanks.Done
 
Old 06-02-2010, 08:27 AM   #5
jone kim
Member
 
Registered: Apr 2010
Posts: 185

Rep: Reputation: 16
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?
 
Old 06-02-2010, 10:11 AM   #6
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,019

Original Poster
Rep: Reputation: 63
Quote:
Originally Posted by jone kim View Post
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
 
Old 06-04-2010, 11:31 AM   #7
jone kim
Member
 
Registered: Apr 2010
Posts: 185

Rep: Reputation: 16
My image is at the Desktop. Now how can I set the wallpaper?
 
Old 06-05-2010, 03:31 AM   #8
sumeet inani
Member
 
Registered: Oct 2008
Posts: 881
Blog Entries: 26

Rep: Reputation: 47
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.
 
Old 06-05-2010, 10:47 PM   #9
ozminh
Member
 
Registered: Aug 2007
Posts: 73

Rep: Reputation: 19
? 'xsetbg' ?
 
Old 06-06-2010, 01:46 PM   #10
jone kim
Member
 
Registered: Apr 2010
Posts: 185

Rep: Reputation: 16
OZMINH:

What do you mean by xsetbg? Please ellaborate your post.
 
Old 05-29-2011, 11:34 PM   #11
sumeet inani
Member
 
Registered: Oct 2008
Posts: 881
Blog Entries: 26

Rep: Reputation: 47
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Set terminal as desktop background Vitalka Linux - Desktop 5 01-22-2012 08:48 PM
vi background in gnome-terminal soccercisco Linux - Newbie 3 10-06-2007 12:15 PM
change the background for X windows and set to fill whole screen and set screen saver eatranman Linux - Newbie 2 05-10-2006 08:41 PM
make a program change from background to a new terminal, HELP! grupoapunte Programming 1 04-18-2005 09:50 PM
how to change background in gnome?? snakeo2 Linux - Newbie 4 05-26-2004 04:04 AM


All times are GMT -5. The time now is 07:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration