Ask Your Question

How To configure GDM Login Screen Background ?

asked 2015-01-25 01:00:19 -0500

Shrinath gravatar image

updated 2015-01-25 11:56:59 -0500

mether gravatar image

Hello Everyone!

I have used Fedora a long time ago and am making a comeback with F21. All looks good, but I have one problem - setting a background image on the login screen. I am trying to set the Whispy_Tails.jpg image in the /usr/share/backgrounds/gnome directory but it's not working.

I tried whatever was mentioned here, but no luck.

I know the difference between Desktop Background and Lock Screen. In this post, I am not talking about either. I am talking about the GDM background screen (which is currently Grey/Black) where I login.

Using Fedora 21 Workstation x86_64 with GNOME.

Thanks !!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-01-25 14:56:23 -0500

empateinfinito gravatar image

Follow this steps ( all as root,please be careful )

  1. sudo nautilus /usr/share/gnome-shell/theme
  2. make a copy of the file "noise-texture.png" this is the background file in the GDM
  3. now copy "your image.png" to /usr/share/gnome-shell/theme
  4. erase the file "noise-texture.png"
  5. rename your "image.png" to "noise-texture.png"
  6. quit nautilus and log out
  7. it's all :)

Good Luck !

edit flag offensive delete link more


Thank you for pointing me in the right direction. The method you suggested works, but the image comes up tiled or stretched (in case the image is not of the correct size) and also I have to convert the image into PNG and rename accordingly.

I did a little research around and found that the gnome-shell.css file in the same directory has information about the image on the GDM login screen. So I modified it as follows and things worked as expected (wiith any file name and any file type).

#lockDialogGroup {
    background: #2e3436 url(Road-grayscale.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;

Accepting your answer. Thanks !!

Shrinath gravatar imageShrinath ( 2015-01-26 05:06:34 -0500 )edit

I hope you know what will happen with the next update of gnome-shell? (rpm -qi /usr/share/gnome-shell/theme/noise-texture.png)

mclmmc gravatar imagemclmmc ( 2015-01-27 15:13:58 -0500 )edit

@mclmmc - Not really sure. Will it break the gnome-shell or override my settings ? P.S. I have altogether removed the noise-texture.png file and updated the gnome-shell.css file accordingly.

Shrinath gravatar imageShrinath ( 2015-01-31 00:50:52 -0500 )edit

answered 2015-08-22 05:00:46 -0500

arik gravatar image


does anybody know how to do this on fedora 22?

edit flag offensive delete link more

Question Tools



Asked: 2015-01-25 01:00:19 -0500

Seen: 27,777 times

Last updated: Jan 25 '15