Fedora Linux Support Community & Resources Center
  #1  
Old 21st December 2011, 03:34 PM
jsp Offline
Registered User
 
Join Date: Feb 2009
Posts: 34
linuxchrome
fc16 change login background image

How can I change the login screen's background image?

I have found many posts on this, and they all generally say to change org.gnome.desktop.background using either dconf-editor or by manually changing this value from the command line.

However, when I change it using dconf-editor, it does not change the login background image, it changes my desktop background image (just like the variable name implies).

I want to change the image that is displayed when I login. Currently it is an image of a submarine.
Reply With Quote
  #2  
Old 21st December 2011, 03:40 PM
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 23,201
linuxfedorafirefox
Re: fc16 change login background image

The default screen art is used for both the login and the screen. The way to do this is change the default for the login, and then choose another image for the screen. By default, you may select any image in your Pictures folder to use as screen art.

The login image is located in: /usr/share/backgrounds/verne/default/(this will depend on your screen geometry)

You will need to be root in order to change these. I recommend simply inserting your chosen image, and naming it the same as the existing file, after changing the name of the default image to something else. That will effectively change the image with no further hyjinks.
Reply With Quote
  #3  
Old 21st December 2011, 03:46 PM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,054
linuxfirefox
Re: fc16 change login background image

Here's what I did:
Since I'm using a wide screen LCD monitor (16:9 aspect ratio), I put a copy the background image I wanted to use in /usr/share/backgrounds/verne/default/wide
Code:
BASH:~/-> ls /usr/share/backgrounds/verne/default/wide/
far-cry-2-sunset-1920x1200.png  verne.png
Then I edited /usr/share/backgrounds/verne/default/verne.xml. You might want to make a backup copy of that file before doing edits, just in case. I replaced the default "verne.png" in the "wide" section with my image name.
Code:
<file>
	<!-- Wide 16:10 -->
	<size width="1920" height="1200">/usr/share/backgrounds/verne/default/wide/far-cry-2-sunset-1920x1200.png</size>
	<!-- Standard 4:3 -->
	<size width="2048" height="1536">/usr/share/backgrounds/verne/default/standard/verne.png</size>
	<!-- Normalish 5:4 -->
	<size width="1280" height="1024">/usr/share/backgrounds/verne/default/normalish/verne.png</size>
</file>

Last edited by PabloTwo; 21st December 2011 at 03:48 PM.
Reply With Quote
  #4  
Old 21st December 2011, 04:12 PM
jsp Offline
Registered User
 
Join Date: Feb 2009
Posts: 34
linuxchrome
[SOLVED] fc16 change login background image

that did it, thanks!
Reply With Quote
  #5  
Old 30th December 2011, 12:57 AM
justinrpg Offline
Registered User
 
Join Date: Dec 2011
Location: MI
Posts: 24
linuxfirefox
Re: fc16 change login background image

Quote:
Originally Posted by Dan View Post
The default screen art is used for both the login and the screen. The way to do this is change the default for the login, and then choose another image for the screen. By default, you may select any image in your Pictures folder to use as screen art.

The login image is located in: /usr/share/backgrounds/verne/default/(this will depend on your screen geometry)

You will need to be root in order to change these. I recommend simply inserting your chosen image, and naming it the same as the existing file, after changing the name of the default image to something else. That will effectively change the image with no further hyjinks.
I want to do the same thing but I don't know how to change the default! this isn't enough info!! it isn't in System Settings or anywhere else I can find

Quote:
Originally Posted by PabloTwo View Post
Here's what I did:
Since I'm using a wide screen LCD monitor (16:9 aspect ratio), I put a copy the background image I wanted to use in /usr/share/backgrounds/verne/default/wide
Code:
BASH:~/-> ls /usr/share/backgrounds/verne/default/wide/
far-cry-2-sunset-1920x1200.png  verne.png
Then I edited /usr/share/backgrounds/verne/default/verne.xml. You might want to make a backup copy of that file before doing edits, just in case. I replaced the default "verne.png" in the "wide" section with my image name.
Code:
<file>
	<!-- Wide 16:10 -->
	<size width="1920" height="1200">/usr/share/backgrounds/verne/default/wide/far-cry-2-sunset-1920x1200.png</size>
	<!-- Standard 4:3 -->
	<size width="2048" height="1536">/usr/share/backgrounds/verne/default/standard/verne.png</size>
	<!-- Normalish 5:4 -->
	<size width="1280" height="1024">/usr/share/backgrounds/verne/default/normalish/verne.png</size>
</file>
this doesn't help either... I don't know how to do that code!! what program do I use and where do I get that program?
Reply With Quote
  #6  
Old 30th December 2011, 01:09 AM
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 23,201
linuxfedorafirefox
Re: fc16 change login background image

Ho, boy!

I'm detecting here that you are basically clueless about getting around in Linux, and working with the terminal/command line. If I'm wrong, please don't get offended. Doing so would do me no harm, and you no good.

That being said, this may get a little involved, and there's going to be a bit of a challenge and a learning curve starting immediately. Can do?.
Reply With Quote
  #7  
Old 30th December 2011, 01:12 AM
justinrpg Offline
Registered User
 
Join Date: Dec 2011
Location: MI
Posts: 24
linuxfirefox
Re: fc16 change login background image

Quote:
Originally Posted by Dan View Post
Ho, boy!

I'm detecting here that you are basically clueless about getting around in Linux, and working with the terminal/command line. If I'm wrong, please don't get offended. Doing so would do me no harm, and you no good.

That being said, this may get a little involved, and there's going to be a bit of a challengie and a learning curve starting immediately. Can do?.
yes, I am a noob... But willing to learn...
Reply With Quote
  #8  
Old 30th December 2011, 01:18 AM
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 23,201
linuxfedorafirefox
Re: fc16 change login background image

Great! Let's get at it!

First things first. We need to know the geometry of your screen. We'll start with GUI (Graphical User Interface) tools. Although the terminal is a lot faster and where the real power is, let's walk before we run.

Presuming you are in F16: Click your name in the upper right corner, and from the list that appears, select (click) "System Settings."

When that appears, click "Displays."

There should be some info in the "Resolution" box. Post that set of numbers here. These will tell us if you are using wide-screen or not.
Reply With Quote
  #9  
Old 30th December 2011, 01:18 AM
dd_wizard Offline
Registered User
 
Join Date: Sep 2009
Posts: 1,409
linuxfirefox
Re: fc16 change login background image

I can't take credit for this, but I don't remember who posted it. Try these commands in a terminal:
Code:
su -
(root password)

xhost +SI:localuser:gdm

sudo -u gdm gnome-control-center

click on "background" and select the one you want
exit and restart X
The nice thing about the above procedure is that you can run more than gnome-control-center. You can, for example, run dconf-editor and generally tweak GDM.

dd_wizard
Reply With Quote
  #10  
Old 30th December 2011, 01:26 AM
justinrpg Offline
Registered User
 
Join Date: Dec 2011
Location: MI
Posts: 24
linuxfirefox
Re: fc16 change login background image

Quote:
Originally Posted by Dan View Post
Great! Let's get at it!

First things first. We need to know the geometry of your screen. We'll start with GUI (Graphical User Interface) tools. Although the terminal is a lot faster and where the real power is, let's walk before we run.

Presuming you are in F16: Click your name in the upper right corner, and from the list that appears, select (click) "System Settings."

When that appears, click "Displays."

There should be some info in the "Resolution" box. Post that set of numbers here. These will tell us if you are using wide-screen or not.
1024x768 (4:3)
Reply With Quote
  #11  
Old 30th December 2011, 01:27 AM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,054
linuxfirefox
Re: fc16 change login background image

Dan, and just in case you'd like to send your new student to the command line straight away...
Code:
$ xdpyinfo | grep -B1 dot
  dimensions:    1920x1080 pixels (483x272 millimeters)
  resolution:    101x101 dots per inch
Edit: OK, I'll shutup and stop kibitzing now.

Last edited by PabloTwo; 30th December 2011 at 01:39 AM.
Reply With Quote
  #12  
Old 30th December 2011, 01:42 AM
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 23,201
linuxfedorafirefox
Re: fc16 change login background image

Thanks guys.

Justin: Okey dokey. You're not running wide screen. That would have said 16:10 or something similar.

Do you have an image selected that you want to use, and if so, put it in your "Pictures" folder/directory. The "Files" window you use for that is the file manager, "nautilus". We'll need that name here in a few minutes. We'll also need your root password. You should have set that up and hopefully written it down when you installed F16.

Now, using nautilus, "drill" down to the root (/) directory. You do that by clicking the arrow doohickey on the left end of the nautilus navigation/search bar. After you click it, it will change to a small hard drive looking icon. You may need to click once more to get all the way down. That's the "root" directory. Now look in the window for the folder icon with "usr" under it. Click it (maybe double-click, depending on how you set your preferences.)"

Once that changes, click the "share" folder. Then click the "backgrounds" folder. Then click, "verne", then "default", then "standard", then "verne.png". Presto! You've found your victim.

We'll be doing this again in a few minutes, and we'll have to do a quick terminal session first, but for now we at least know where the target is.

Got all that?
Reply With Quote
  #13  
Old 30th December 2011, 01:51 AM
justinrpg Offline
Registered User
 
Join Date: Dec 2011
Location: MI
Posts: 24
linuxfirefox
Re: fc16 change login background image

Quote:
Originally Posted by Dan View Post
Thanks guys.

Justin: Okey dokey. You're not running wide screen. That would have said 16:10 or something similar.

Do you have an image selected that you want to use, and if so, put it in your "Pictures" folder/directory. The "Files" window you use for that is the file manager, "nautilus". We'll need that name here in a few minutes. We'll also need your root password. You should have set that up and hopefully written it down when you installed F16.

Now, using nautilus, "drill" down to the root (/) directory. You do that by clicking the arrow doohickey on the left end of the nautilus navigation/search bar. After you click it, it will change to a small hard drive looking icon. You may need to click once more to get all the way down. That's the "root" directory. Now look in the window for the folder icon with "usr" under it. Click it (maybe double-click, depending on how you set your preferences.)"

Once that changes, click the "share" folder. Then click the "backgrounds" folder. Then click, "verne", then "default", then "standard", then "verne.png". Presto! You've found your victim.

We'll be doing this again in a few minutes, and we'll have to do a quick terminal session first, but for now we at least know where the target is.

Got all that?
ok, what next... (I don't know if this info is needed, Fedora is installed in a VM)
Reply With Quote
  #14  
Old 30th December 2011, 01:54 AM
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 23,201
linuxfedorafirefox
Re: fc16 change login background image

A couple of concepts we need to cover real quick. The first being file "ownership" and "permissions."

Some files belong to you, and you are allowed to mess around with them as a system user. Those would be your data files, and your settings in your "home" folder. In most linux systems, however, you really do not "own" the other user's files, or any "system" files. Those belong to the overlord known as, "root". Root goes by many names. Two of particular interest are, "su" and "sudo". Just like cattle ranches, both you and root have your own brand in the terminal. Yours looks like the dollar sign ($). Root's looks like the pound sign, or the "crunch" symbol (#). Keep that in mind. You can always tell who is doing what by noticing those "brands".
Reply With Quote
  #15  
Old 30th December 2011, 02:00 AM
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 23,201
linuxfedorafirefox
Re: fc16 change login background image

You found the victim, but as a normal user, you can't do a durn thing to it. That takes "root" privileges. So, close out the nautilus window you were using, and open the dreaded "terminal". You'll find it in the applications section. You might want to add that to your favorites. You're going to end up using it quite a bit, I suspect.

Once that terminal is open, type the following at the ($) prompt:

Note that the little minus sign IS important! So that's "su" a space, then the minus sign. Once you have those in there, hit the return key. It'll ask for the root password. Enter it here. Note that it won't give you any feedback in the process. Just enter it anyway, and then hit the return key.


Code:
su -
(provide root password)
DON'T CLOSE anything! We'll be adding another command in a minute. Right now, just confirm that you now have the root brand (#) at the command prompt.
Reply With Quote
Reply

Tags
background, change, fc16, gdm3, image, login

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update to 1:gdm-3.1.92-1.fc16.i686 = no login lklaus F16 Development 16 1st October 2011 10:11 AM
How to change login window and background on fedora? jiangwen Using Fedora 1 27th September 2010 04:21 AM
Annoying background image change in FC9 concoran Using Fedora 1 8th August 2008 08:55 AM
XFCE Desktop background image will not change nicstevens42 Using Fedora 3 17th September 2006 02:56 AM
Impossible to change login background in KDE. s-strong Using Fedora 6 26th April 2006 08:13 AM


Current GMT-time: 15:06 (Tuesday, 22-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat