Cannot change login screen background in 18.10











up vote
3
down vote

favorite
3












I changed both the desktop and login screen background photos. However,only desktop photo is changed. The one on the login screen is still the purple Ubuntu one. Is this a bug?










share|improve this question






















  • How did you change login screen? Are you sure it's not lock screen background you changed?
    – PRATAP
    Oct 25 at 1:27












  • Setting->background. What is the difference between lock and lock-in screen? When you lock the computer, you need to go to login screen to enter the password. Shouldn’t they be th same?
    – lovedrinking
    Oct 25 at 1:42










  • no, both are different. the one you are changing is lock screen wall paper. login screen background can be changed by editing gdm3.css file. i will put it in answer. what is your screen resolution? have you chosen your prefered background file what is to be kept?
    – PRATAP
    Oct 25 at 1:44








  • 1




    No, it's good to make the images size same as screen resolution...that's why asked.. Even if you specify lower resolution or sizes it will cover full screen. For better quality if we can match image size n screen resolution. It's good.
    – PRATAP
    Oct 25 at 4:17






  • 1




    Possible duplicate of How can I change the purple background color of the lock screen on Ubuntu 17.10?
    – muru
    Oct 25 at 6:15















up vote
3
down vote

favorite
3












I changed both the desktop and login screen background photos. However,only desktop photo is changed. The one on the login screen is still the purple Ubuntu one. Is this a bug?










share|improve this question






















  • How did you change login screen? Are you sure it's not lock screen background you changed?
    – PRATAP
    Oct 25 at 1:27












  • Setting->background. What is the difference between lock and lock-in screen? When you lock the computer, you need to go to login screen to enter the password. Shouldn’t they be th same?
    – lovedrinking
    Oct 25 at 1:42










  • no, both are different. the one you are changing is lock screen wall paper. login screen background can be changed by editing gdm3.css file. i will put it in answer. what is your screen resolution? have you chosen your prefered background file what is to be kept?
    – PRATAP
    Oct 25 at 1:44








  • 1




    No, it's good to make the images size same as screen resolution...that's why asked.. Even if you specify lower resolution or sizes it will cover full screen. For better quality if we can match image size n screen resolution. It's good.
    – PRATAP
    Oct 25 at 4:17






  • 1




    Possible duplicate of How can I change the purple background color of the lock screen on Ubuntu 17.10?
    – muru
    Oct 25 at 6:15













up vote
3
down vote

favorite
3









up vote
3
down vote

favorite
3






3





I changed both the desktop and login screen background photos. However,only desktop photo is changed. The one on the login screen is still the purple Ubuntu one. Is this a bug?










share|improve this question













I changed both the desktop and login screen background photos. However,only desktop photo is changed. The one on the login screen is still the purple Ubuntu one. Is this a bug?







login-screen background 18.10






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 25 at 1:05









lovedrinking

887




887












  • How did you change login screen? Are you sure it's not lock screen background you changed?
    – PRATAP
    Oct 25 at 1:27












  • Setting->background. What is the difference between lock and lock-in screen? When you lock the computer, you need to go to login screen to enter the password. Shouldn’t they be th same?
    – lovedrinking
    Oct 25 at 1:42










  • no, both are different. the one you are changing is lock screen wall paper. login screen background can be changed by editing gdm3.css file. i will put it in answer. what is your screen resolution? have you chosen your prefered background file what is to be kept?
    – PRATAP
    Oct 25 at 1:44








  • 1




    No, it's good to make the images size same as screen resolution...that's why asked.. Even if you specify lower resolution or sizes it will cover full screen. For better quality if we can match image size n screen resolution. It's good.
    – PRATAP
    Oct 25 at 4:17






  • 1




    Possible duplicate of How can I change the purple background color of the lock screen on Ubuntu 17.10?
    – muru
    Oct 25 at 6:15


















  • How did you change login screen? Are you sure it's not lock screen background you changed?
    – PRATAP
    Oct 25 at 1:27












  • Setting->background. What is the difference between lock and lock-in screen? When you lock the computer, you need to go to login screen to enter the password. Shouldn’t they be th same?
    – lovedrinking
    Oct 25 at 1:42










  • no, both are different. the one you are changing is lock screen wall paper. login screen background can be changed by editing gdm3.css file. i will put it in answer. what is your screen resolution? have you chosen your prefered background file what is to be kept?
    – PRATAP
    Oct 25 at 1:44








  • 1




    No, it's good to make the images size same as screen resolution...that's why asked.. Even if you specify lower resolution or sizes it will cover full screen. For better quality if we can match image size n screen resolution. It's good.
    – PRATAP
    Oct 25 at 4:17






  • 1




    Possible duplicate of How can I change the purple background color of the lock screen on Ubuntu 17.10?
    – muru
    Oct 25 at 6:15
















How did you change login screen? Are you sure it's not lock screen background you changed?
– PRATAP
Oct 25 at 1:27






How did you change login screen? Are you sure it's not lock screen background you changed?
– PRATAP
Oct 25 at 1:27














Setting->background. What is the difference between lock and lock-in screen? When you lock the computer, you need to go to login screen to enter the password. Shouldn’t they be th same?
– lovedrinking
Oct 25 at 1:42




Setting->background. What is the difference between lock and lock-in screen? When you lock the computer, you need to go to login screen to enter the password. Shouldn’t they be th same?
– lovedrinking
Oct 25 at 1:42












no, both are different. the one you are changing is lock screen wall paper. login screen background can be changed by editing gdm3.css file. i will put it in answer. what is your screen resolution? have you chosen your prefered background file what is to be kept?
– PRATAP
Oct 25 at 1:44






no, both are different. the one you are changing is lock screen wall paper. login screen background can be changed by editing gdm3.css file. i will put it in answer. what is your screen resolution? have you chosen your prefered background file what is to be kept?
– PRATAP
Oct 25 at 1:44






1




1




No, it's good to make the images size same as screen resolution...that's why asked.. Even if you specify lower resolution or sizes it will cover full screen. For better quality if we can match image size n screen resolution. It's good.
– PRATAP
Oct 25 at 4:17




No, it's good to make the images size same as screen resolution...that's why asked.. Even if you specify lower resolution or sizes it will cover full screen. For better quality if we can match image size n screen resolution. It's good.
– PRATAP
Oct 25 at 4:17




1




1




Possible duplicate of How can I change the purple background color of the lock screen on Ubuntu 17.10?
– muru
Oct 25 at 6:15




Possible duplicate of How can I change the purple background color of the lock screen on Ubuntu 17.10?
– muru
Oct 25 at 6:15










1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










to change the login screen background in Ubuntu 18.10 with default Display Manager that is gdm3



we need to edit the gdm3.css file.



open the file with your favorite editor, mine is gedit. so
sudo -H gedit /etc/alternatives/gdm3.css



go to line number around 1981 and find the below content.



#lockDialogGroup {
background: none;
background-color: none;
background-gradient-direction: vertical;
background-gradient-start: #6D2169;
background-gradient-end: #370026; }


change the content with



#lockDialogGroup {
background: #000000 url(file:///home/pratap/Desktop/1.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center; }


here in the line number 1982 url(file://put your actual image path)



save the file, close & reboot to see the change.



Picture of Lock Screen Wallpaper
enter image description here



Picture of Logon Screen Background
enter image description here



Edit

for 18.04 same method, only line number varies 1814,



#lockDialogGroup {
background: #2c001e url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat; }


replace the above content with



#lockDialogGroup {
background: #000000 url(file:///home/pratap/Desktop/1.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center; }


here in the line number 1815 url(file://put your actual image path)






share|improve this answer























  • Looks great. Could you update answer to specify if 18.04 works same way too?
    – WinEunuuchs2Unix
    Oct 25 at 2:57










  • Thanks. It is working. Just curious. Why "file:///" rather than "file://" ?
    – lovedrinking
    Oct 25 at 4:06






  • 1




    Hi, the third / is the root symbol means if your Pic is in home downloads.. your path is /home/username/Downloads.. So after 2 slashes path to image starts..
    – PRATAP
    Oct 25 at 4:14










  • This seems like an awfully convoluted way to change a login screen image. Are you sure a more "user-friendly" alternative is not available?
    – code_dredd
    Oct 25 at 5:27










  • @PRATAP I'd like to change my login screen to the same solid color that I've got set for my lock screen (in the Background settings panel). Where are the solid color panels located? Is the an easy modification to your answer to do what I want? Thanks!
    – heynnema
    Nov 4 at 0:58











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1086962%2fcannot-change-login-screen-background-in-18-10%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote



accepted










to change the login screen background in Ubuntu 18.10 with default Display Manager that is gdm3



we need to edit the gdm3.css file.



open the file with your favorite editor, mine is gedit. so
sudo -H gedit /etc/alternatives/gdm3.css



go to line number around 1981 and find the below content.



#lockDialogGroup {
background: none;
background-color: none;
background-gradient-direction: vertical;
background-gradient-start: #6D2169;
background-gradient-end: #370026; }


change the content with



#lockDialogGroup {
background: #000000 url(file:///home/pratap/Desktop/1.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center; }


here in the line number 1982 url(file://put your actual image path)



save the file, close & reboot to see the change.



Picture of Lock Screen Wallpaper
enter image description here



Picture of Logon Screen Background
enter image description here



Edit

for 18.04 same method, only line number varies 1814,



#lockDialogGroup {
background: #2c001e url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat; }


replace the above content with



#lockDialogGroup {
background: #000000 url(file:///home/pratap/Desktop/1.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center; }


here in the line number 1815 url(file://put your actual image path)






share|improve this answer























  • Looks great. Could you update answer to specify if 18.04 works same way too?
    – WinEunuuchs2Unix
    Oct 25 at 2:57










  • Thanks. It is working. Just curious. Why "file:///" rather than "file://" ?
    – lovedrinking
    Oct 25 at 4:06






  • 1




    Hi, the third / is the root symbol means if your Pic is in home downloads.. your path is /home/username/Downloads.. So after 2 slashes path to image starts..
    – PRATAP
    Oct 25 at 4:14










  • This seems like an awfully convoluted way to change a login screen image. Are you sure a more "user-friendly" alternative is not available?
    – code_dredd
    Oct 25 at 5:27










  • @PRATAP I'd like to change my login screen to the same solid color that I've got set for my lock screen (in the Background settings panel). Where are the solid color panels located? Is the an easy modification to your answer to do what I want? Thanks!
    – heynnema
    Nov 4 at 0:58















up vote
3
down vote



accepted










to change the login screen background in Ubuntu 18.10 with default Display Manager that is gdm3



we need to edit the gdm3.css file.



open the file with your favorite editor, mine is gedit. so
sudo -H gedit /etc/alternatives/gdm3.css



go to line number around 1981 and find the below content.



#lockDialogGroup {
background: none;
background-color: none;
background-gradient-direction: vertical;
background-gradient-start: #6D2169;
background-gradient-end: #370026; }


change the content with



#lockDialogGroup {
background: #000000 url(file:///home/pratap/Desktop/1.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center; }


here in the line number 1982 url(file://put your actual image path)



save the file, close & reboot to see the change.



Picture of Lock Screen Wallpaper
enter image description here



Picture of Logon Screen Background
enter image description here



Edit

for 18.04 same method, only line number varies 1814,



#lockDialogGroup {
background: #2c001e url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat; }


replace the above content with



#lockDialogGroup {
background: #000000 url(file:///home/pratap/Desktop/1.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center; }


here in the line number 1815 url(file://put your actual image path)






share|improve this answer























  • Looks great. Could you update answer to specify if 18.04 works same way too?
    – WinEunuuchs2Unix
    Oct 25 at 2:57










  • Thanks. It is working. Just curious. Why "file:///" rather than "file://" ?
    – lovedrinking
    Oct 25 at 4:06






  • 1




    Hi, the third / is the root symbol means if your Pic is in home downloads.. your path is /home/username/Downloads.. So after 2 slashes path to image starts..
    – PRATAP
    Oct 25 at 4:14










  • This seems like an awfully convoluted way to change a login screen image. Are you sure a more "user-friendly" alternative is not available?
    – code_dredd
    Oct 25 at 5:27










  • @PRATAP I'd like to change my login screen to the same solid color that I've got set for my lock screen (in the Background settings panel). Where are the solid color panels located? Is the an easy modification to your answer to do what I want? Thanks!
    – heynnema
    Nov 4 at 0:58













up vote
3
down vote



accepted







up vote
3
down vote



accepted






to change the login screen background in Ubuntu 18.10 with default Display Manager that is gdm3



we need to edit the gdm3.css file.



open the file with your favorite editor, mine is gedit. so
sudo -H gedit /etc/alternatives/gdm3.css



go to line number around 1981 and find the below content.



#lockDialogGroup {
background: none;
background-color: none;
background-gradient-direction: vertical;
background-gradient-start: #6D2169;
background-gradient-end: #370026; }


change the content with



#lockDialogGroup {
background: #000000 url(file:///home/pratap/Desktop/1.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center; }


here in the line number 1982 url(file://put your actual image path)



save the file, close & reboot to see the change.



Picture of Lock Screen Wallpaper
enter image description here



Picture of Logon Screen Background
enter image description here



Edit

for 18.04 same method, only line number varies 1814,



#lockDialogGroup {
background: #2c001e url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat; }


replace the above content with



#lockDialogGroup {
background: #000000 url(file:///home/pratap/Desktop/1.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center; }


here in the line number 1815 url(file://put your actual image path)






share|improve this answer














to change the login screen background in Ubuntu 18.10 with default Display Manager that is gdm3



we need to edit the gdm3.css file.



open the file with your favorite editor, mine is gedit. so
sudo -H gedit /etc/alternatives/gdm3.css



go to line number around 1981 and find the below content.



#lockDialogGroup {
background: none;
background-color: none;
background-gradient-direction: vertical;
background-gradient-start: #6D2169;
background-gradient-end: #370026; }


change the content with



#lockDialogGroup {
background: #000000 url(file:///home/pratap/Desktop/1.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center; }


here in the line number 1982 url(file://put your actual image path)



save the file, close & reboot to see the change.



Picture of Lock Screen Wallpaper
enter image description here



Picture of Logon Screen Background
enter image description here



Edit

for 18.04 same method, only line number varies 1814,



#lockDialogGroup {
background: #2c001e url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat; }


replace the above content with



#lockDialogGroup {
background: #000000 url(file:///home/pratap/Desktop/1.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center; }


here in the line number 1815 url(file://put your actual image path)







share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 10 at 5:06

























answered Oct 25 at 2:01









PRATAP

1,8851523




1,8851523












  • Looks great. Could you update answer to specify if 18.04 works same way too?
    – WinEunuuchs2Unix
    Oct 25 at 2:57










  • Thanks. It is working. Just curious. Why "file:///" rather than "file://" ?
    – lovedrinking
    Oct 25 at 4:06






  • 1




    Hi, the third / is the root symbol means if your Pic is in home downloads.. your path is /home/username/Downloads.. So after 2 slashes path to image starts..
    – PRATAP
    Oct 25 at 4:14










  • This seems like an awfully convoluted way to change a login screen image. Are you sure a more "user-friendly" alternative is not available?
    – code_dredd
    Oct 25 at 5:27










  • @PRATAP I'd like to change my login screen to the same solid color that I've got set for my lock screen (in the Background settings panel). Where are the solid color panels located? Is the an easy modification to your answer to do what I want? Thanks!
    – heynnema
    Nov 4 at 0:58


















  • Looks great. Could you update answer to specify if 18.04 works same way too?
    – WinEunuuchs2Unix
    Oct 25 at 2:57










  • Thanks. It is working. Just curious. Why "file:///" rather than "file://" ?
    – lovedrinking
    Oct 25 at 4:06






  • 1




    Hi, the third / is the root symbol means if your Pic is in home downloads.. your path is /home/username/Downloads.. So after 2 slashes path to image starts..
    – PRATAP
    Oct 25 at 4:14










  • This seems like an awfully convoluted way to change a login screen image. Are you sure a more "user-friendly" alternative is not available?
    – code_dredd
    Oct 25 at 5:27










  • @PRATAP I'd like to change my login screen to the same solid color that I've got set for my lock screen (in the Background settings panel). Where are the solid color panels located? Is the an easy modification to your answer to do what I want? Thanks!
    – heynnema
    Nov 4 at 0:58
















Looks great. Could you update answer to specify if 18.04 works same way too?
– WinEunuuchs2Unix
Oct 25 at 2:57




Looks great. Could you update answer to specify if 18.04 works same way too?
– WinEunuuchs2Unix
Oct 25 at 2:57












Thanks. It is working. Just curious. Why "file:///" rather than "file://" ?
– lovedrinking
Oct 25 at 4:06




Thanks. It is working. Just curious. Why "file:///" rather than "file://" ?
– lovedrinking
Oct 25 at 4:06




1




1




Hi, the third / is the root symbol means if your Pic is in home downloads.. your path is /home/username/Downloads.. So after 2 slashes path to image starts..
– PRATAP
Oct 25 at 4:14




Hi, the third / is the root symbol means if your Pic is in home downloads.. your path is /home/username/Downloads.. So after 2 slashes path to image starts..
– PRATAP
Oct 25 at 4:14












This seems like an awfully convoluted way to change a login screen image. Are you sure a more "user-friendly" alternative is not available?
– code_dredd
Oct 25 at 5:27




This seems like an awfully convoluted way to change a login screen image. Are you sure a more "user-friendly" alternative is not available?
– code_dredd
Oct 25 at 5:27












@PRATAP I'd like to change my login screen to the same solid color that I've got set for my lock screen (in the Background settings panel). Where are the solid color panels located? Is the an easy modification to your answer to do what I want? Thanks!
– heynnema
Nov 4 at 0:58




@PRATAP I'd like to change my login screen to the same solid color that I've got set for my lock screen (in the Background settings panel). Where are the solid color panels located? Is the an easy modification to your answer to do what I want? Thanks!
– heynnema
Nov 4 at 0:58


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1086962%2fcannot-change-login-screen-background-in-18-10%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局