LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 03-21-2008, 01:09 AM   #1
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 468

Rep: Reputation: 30
Where are the background images stored?


Just curious,
Where are the background images stored? It's interesting, since, when I click on 'desktop->change background', the dialog box doesn't show what the name of that image is, or where it is stored. I think it would have been nice had it done.

Last edited by concoran; 03-21-2008 at 01:11 AM.
 
Old 03-21-2008, 02:10 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
You neglected to mention which desktop or window manager you are using. On most distros, the wallpaper is located in /usr/share/wallpapers, but other directories maybe the default.
 
Old 03-21-2008, 03:08 AM   #3
simplicissimus
Registered User
 
Registered: Mar 2008
Posts: 104

Rep: Reputation: 15
/usr/share

On most Window Managers background files are located within /usr/share (among themes and icons etc). Where exactly within /usr/share can also be different among distributions even when they use the same Window Managers.

On RedHat/Fedora you will find the default backgrounds in /etc/share/wallpapers. Next to that one you will also find directories like xscreensaver, theme, gnome-background-properties, icons and a lot more.

Desktop backgrounds can actually be located anywhere on your system. A good choice for your own pictures is something like /home/your-user-name/Pictures.


Hope this helps,
Regards,
SIMP

Debian User

Last edited by simplicissimus; 04-02-2008 at 04:46 AM.
 
Old 03-22-2008, 01:44 AM   #4
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 468

Original Poster
Rep: Reputation: 30
Thanks a lot folks. Now, here's a question.

I have been trying to make some of the photos I took as my wallpapers. So, in Windows, I made a zip file from 2 directories that I want as wallpapers. I copied those to Linux and unzipped them. Now, they are in /root/Download/wallpapers. In fact, They are two directories in wallpapers. How do I copy all those files to /usr/share/wallpapers?
And once they are copied, will I need to change the permissions so that each user can use them?

Last edited by concoran; 03-22-2008 at 01:45 AM.
 
Old 03-22-2008, 02:31 AM   #5
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
The location of the wallpaper files indicates that you are operating as root instead of a regular user. Please don't do that. Only su to root on the shell or use sudo to perform administrative tasks. You will need to move the files as root however because A) only root can read files in the /root/ directory and B) only root can write to /usr/share/wallpapers.

It would be easier to change the permissions of the files before moving them. Afterwards they will be mixed up with the others. You didn't give us the names of the two directories in /root/Download/wallpapers/ so I will assume "dir1" and "dir2" for the example:

To change the permissions, you need to make sure the the "r" bit is set for "others".
sudo chmod o+r /root/Download/wallpapers/dir1/* /root/Download/wallpapers/dir2/*
sudo mv -vi /root/Download/wallpapers/dir1/* /root/Download/wallpapers/dir2/* /usr/share/wallpapers/

Please see the man pages for the "mv" and "sudo" commands. The "mv" command is described more in the "coreutils" info manual which is more comprehensive and contains information and examples for almost 100 of the most common commands.
 
  


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
beryl cube background images jhwilliams Linux - Software 4 08-06-2007 05:14 PM
kicker background images... shame Linux - Software 0 03-21-2007 02:16 AM
importing background images - help! ohfaney Programming 2 06-14-2006 08:27 AM
background images Ikebo Slackware 2 09-17-2004 07:35 PM
Multiple Background Images in Ximian gendreau Linux - General 0 10-12-2003 11:35 PM


All times are GMT -5. The time now is 04:04 AM.

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