Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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
Distribution: Debian Gnu/Linux Lenny on AMD64x2 (32-bit mode), an AMD Sempron 64 laptop, debian, 32bit
Posts: 101
Rep:
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.
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:
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.
Make a change via the desktop.
Immediately do a "changed in the last 5 minutes" find (RTM find) on your home directory, this will give you a list of possibilities.
Examine the list w/ grep, mc, or other favorite tool.
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:
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.
Make a change via the desktop.
Immediately do a "changed in the last 5 minutes" find (RTM find) on your home directory, this will give you a list of possibilities.
Examine the list w/ grep, mc, or other favorite tool.
Start w/ the "dot" (hidden) directories in your home directory.
Drill down through the common sense possibilities 'til you don't know which to choose. (For me, that would be ~/.kde/share/.)
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 ??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.