LinuxQuestions.org
Visit Jeremy's Blog.
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 09-08-2008, 01:12 AM   #1
culin
Member
 
Registered: Sep 2006
Distribution: Fedora Core 10
Posts: 254

Rep: Reputation: 32
Linux Desktop background


Hi all,
Can anyone tell me which are all the files that will be altered when i change the Desktop background. ?
i.e. Say if i change the Desktop background from abc.png to def.png in which file it wil be reflected. ?
i am using Fedora core 5..
thanks
 
Old 09-08-2008, 04:13 AM   #2
jakykong
Member
 
Registered: Apr 2006
Location: Washington
Distribution: Debian Gnu/Linux Lenny on AMD64x2 (32-bit mode), an AMD Sempron 64 laptop, debian, 32bit
Posts: 101

Rep: Reputation: 15
It should be no more complicated than right-clicking on the desktop, and in Gnome clicking "Change Desktop Background" and in KDE clicking "Configure Desktop..."

But what files that information is stored in depends on whether you're using KDE or Gnome. In KDE, it's in the ~/.kde/share/config/kdesktoprc file, which is just a config file and shouldn't be too hard to understand. I don't know where it is in Gnome.

Last edited by jakykong; 09-08-2008 at 04:16 AM.
 
Old 09-08-2008, 08:39 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Assuming that Gnome is the default in FC5 & that that is what you're using, here are some ideas to help you get your answer:
  1. Wait for a regular Gnome user to answer here. I use KDE & occasionlly a "lightweight" like flux, ICE, or XFCE; so, like jakykong, I have no definitive answer for you.
    1. Make a change via the desktop.
    2. Immediately do a "changed in the last 5 minutes" find (RTM find) on your home directory, this will give you a list of possibilities.
    3. Examine the list w/ grep, mc, or other favorite tool.
 
Old 09-08-2008, 08:48 AM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Assuming that Gnome is the default in FC5 & that that is what you're using, here are some ideas to help you get your answer:
  1. Wait for a regular Gnome user to answer here. I use only KDE & occasionally a "lightweight" like flux, ICE, or XFCE; so, like jakykong, I have no definitive answer for you.
    1. Make a change via the desktop.
    2. Immediately do a "changed in the last 5 minutes" find (RTM find) on your home directory, this will give you a list of possibilities.
    3. Examine the list w/ grep, mc, or other favorite tool.
    1. Start w/ the "dot" (hidden) directories in your home directory.
    2. Drill down through the common sense possibilities 'til you don't know which to choose. (For me, that would be ~/.kde/share/.)
    3. Do a recursive grep for <def.png>.
    4. If necessary, go up one directory & repeat.
 
Old 09-09-2008, 01:29 AM   #5
culin
Member
 
Registered: Sep 2006
Distribution: Fedora Core 10
Posts: 254

Original Poster
Rep: Reputation: 32
Thanks for all replies..
i am using GNOME...
The file which contains the background information is ~/.gnome2/background.xml..
but this is an xml file and not giving much info.. coz the same type of entries are there for all the background images irrespective of whether it is set as Desktop background or not
and also i did like this
changed the desktop background and then ""find . -cmin 10""
This dint give any results and also i searched in whole system and it is saying that no file is changed in last 10 mins..!!!!!!!
so how to proceed next ????
i think some or the other file should be altered or atleast metadata should be altered when we change the desktop background... how to find that ??
 
  


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
Change Desktop Background r00ster Debian 8 06-05-2007 04:16 PM
Desktop background ravindra.patil Linux - Newbie 5 04-05-2006 10:02 AM
Desktop background cache... Dannyarr SUSE / openSUSE 0 02-03-2005 04:06 AM
desktop background 1200x800 jacksmash Linux - Newbie 5 10-15-2004 03:19 PM
Console Desktop Background Corp186 Linux - Software 2 05-10-2004 08:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration