Adding a login screen background using .themes folder












0















Looks like modding Gnome shell at usr/share/gnome-shell/theme is not a good idea. As a workaround, I tried copying the Adapta theme folder from usr/share/theme and placed a copy in .themes folder in the Home folder.



But after that when I edit the gnome-shell.css and placed an alternative image on the same folder, it won't change the background. It fetches whatever is available at usr/share/gnome-shell/theme folder. Why is it so ? I even placed an edited copy of ubuntu.css next to gnome-shell.css and in the root folder of the theme in .themes. But still whatever is in the gnome-shell/theme/ubuntu.css works. Is there any fix ?



I want to change the login screen user icon as well. It is more comfortable if I can do it through .themes folder. Thanks.



I changed this in ubuntu.css



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


to



#lockDialogGroup {
background: #2c001e url(unlock-background.jpeg);
background-repeat: repeat; }









share|improve this question

























  • Please post (at least the relevant part of) your .css file to the question. A couple of questions: 1. did you use the absolute path to the image file? 2. Did you reboot/re-login after making changes?

    – pomsky
    Jan 21 at 7:39






  • 1





    Did you select the custom shell theme (e.g. using GNOME Tweaks)?

    – pomsky
    Jan 21 at 7:55








  • 1





    You need to have User Themes extension enabled to load a shell the from home directory: askubuntu.com/questions/141277/… Also you don't have to add the complete .css file, just add the part you modified and the corresponding unmodified part.

    – pomsky
    Jan 21 at 8:59








  • 1





    Okay, change your background url from background: #2c001e url(unlock-background.jpeg); to background: #2c001e url(file:///full/path/to/unlock-background.jpeg);.

    – pomsky
    Jan 21 at 9:16






  • 1





    IMO a per-user configuration of GDM doesn't make sense because, well, there is no user logged in before a user logs in, and there is no user specific context when switching users either. If two users had different custom GDM themes in their home folder, which one should be chosen?

    – danzel
    Jan 21 at 15:00
















0















Looks like modding Gnome shell at usr/share/gnome-shell/theme is not a good idea. As a workaround, I tried copying the Adapta theme folder from usr/share/theme and placed a copy in .themes folder in the Home folder.



But after that when I edit the gnome-shell.css and placed an alternative image on the same folder, it won't change the background. It fetches whatever is available at usr/share/gnome-shell/theme folder. Why is it so ? I even placed an edited copy of ubuntu.css next to gnome-shell.css and in the root folder of the theme in .themes. But still whatever is in the gnome-shell/theme/ubuntu.css works. Is there any fix ?



I want to change the login screen user icon as well. It is more comfortable if I can do it through .themes folder. Thanks.



I changed this in ubuntu.css



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


to



#lockDialogGroup {
background: #2c001e url(unlock-background.jpeg);
background-repeat: repeat; }









share|improve this question

























  • Please post (at least the relevant part of) your .css file to the question. A couple of questions: 1. did you use the absolute path to the image file? 2. Did you reboot/re-login after making changes?

    – pomsky
    Jan 21 at 7:39






  • 1





    Did you select the custom shell theme (e.g. using GNOME Tweaks)?

    – pomsky
    Jan 21 at 7:55








  • 1





    You need to have User Themes extension enabled to load a shell the from home directory: askubuntu.com/questions/141277/… Also you don't have to add the complete .css file, just add the part you modified and the corresponding unmodified part.

    – pomsky
    Jan 21 at 8:59








  • 1





    Okay, change your background url from background: #2c001e url(unlock-background.jpeg); to background: #2c001e url(file:///full/path/to/unlock-background.jpeg);.

    – pomsky
    Jan 21 at 9:16






  • 1





    IMO a per-user configuration of GDM doesn't make sense because, well, there is no user logged in before a user logs in, and there is no user specific context when switching users either. If two users had different custom GDM themes in their home folder, which one should be chosen?

    – danzel
    Jan 21 at 15:00














0












0








0








Looks like modding Gnome shell at usr/share/gnome-shell/theme is not a good idea. As a workaround, I tried copying the Adapta theme folder from usr/share/theme and placed a copy in .themes folder in the Home folder.



But after that when I edit the gnome-shell.css and placed an alternative image on the same folder, it won't change the background. It fetches whatever is available at usr/share/gnome-shell/theme folder. Why is it so ? I even placed an edited copy of ubuntu.css next to gnome-shell.css and in the root folder of the theme in .themes. But still whatever is in the gnome-shell/theme/ubuntu.css works. Is there any fix ?



I want to change the login screen user icon as well. It is more comfortable if I can do it through .themes folder. Thanks.



I changed this in ubuntu.css



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


to



#lockDialogGroup {
background: #2c001e url(unlock-background.jpeg);
background-repeat: repeat; }









share|improve this question
















Looks like modding Gnome shell at usr/share/gnome-shell/theme is not a good idea. As a workaround, I tried copying the Adapta theme folder from usr/share/theme and placed a copy in .themes folder in the Home folder.



But after that when I edit the gnome-shell.css and placed an alternative image on the same folder, it won't change the background. It fetches whatever is available at usr/share/gnome-shell/theme folder. Why is it so ? I even placed an edited copy of ubuntu.css next to gnome-shell.css and in the root folder of the theme in .themes. But still whatever is in the gnome-shell/theme/ubuntu.css works. Is there any fix ?



I want to change the login screen user icon as well. It is more comfortable if I can do it through .themes folder. Thanks.



I changed this in ubuntu.css



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


to



#lockDialogGroup {
background: #2c001e url(unlock-background.jpeg);
background-repeat: repeat; }






18.04 themes gnome-shell






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 21 at 9:13







user227495

















asked Jan 21 at 7:36









user227495user227495

1,14142743




1,14142743













  • Please post (at least the relevant part of) your .css file to the question. A couple of questions: 1. did you use the absolute path to the image file? 2. Did you reboot/re-login after making changes?

    – pomsky
    Jan 21 at 7:39






  • 1





    Did you select the custom shell theme (e.g. using GNOME Tweaks)?

    – pomsky
    Jan 21 at 7:55








  • 1





    You need to have User Themes extension enabled to load a shell the from home directory: askubuntu.com/questions/141277/… Also you don't have to add the complete .css file, just add the part you modified and the corresponding unmodified part.

    – pomsky
    Jan 21 at 8:59








  • 1





    Okay, change your background url from background: #2c001e url(unlock-background.jpeg); to background: #2c001e url(file:///full/path/to/unlock-background.jpeg);.

    – pomsky
    Jan 21 at 9:16






  • 1





    IMO a per-user configuration of GDM doesn't make sense because, well, there is no user logged in before a user logs in, and there is no user specific context when switching users either. If two users had different custom GDM themes in their home folder, which one should be chosen?

    – danzel
    Jan 21 at 15:00



















  • Please post (at least the relevant part of) your .css file to the question. A couple of questions: 1. did you use the absolute path to the image file? 2. Did you reboot/re-login after making changes?

    – pomsky
    Jan 21 at 7:39






  • 1





    Did you select the custom shell theme (e.g. using GNOME Tweaks)?

    – pomsky
    Jan 21 at 7:55








  • 1





    You need to have User Themes extension enabled to load a shell the from home directory: askubuntu.com/questions/141277/… Also you don't have to add the complete .css file, just add the part you modified and the corresponding unmodified part.

    – pomsky
    Jan 21 at 8:59








  • 1





    Okay, change your background url from background: #2c001e url(unlock-background.jpeg); to background: #2c001e url(file:///full/path/to/unlock-background.jpeg);.

    – pomsky
    Jan 21 at 9:16






  • 1





    IMO a per-user configuration of GDM doesn't make sense because, well, there is no user logged in before a user logs in, and there is no user specific context when switching users either. If two users had different custom GDM themes in their home folder, which one should be chosen?

    – danzel
    Jan 21 at 15:00

















Please post (at least the relevant part of) your .css file to the question. A couple of questions: 1. did you use the absolute path to the image file? 2. Did you reboot/re-login after making changes?

– pomsky
Jan 21 at 7:39





Please post (at least the relevant part of) your .css file to the question. A couple of questions: 1. did you use the absolute path to the image file? 2. Did you reboot/re-login after making changes?

– pomsky
Jan 21 at 7:39




1




1





Did you select the custom shell theme (e.g. using GNOME Tweaks)?

– pomsky
Jan 21 at 7:55







Did you select the custom shell theme (e.g. using GNOME Tweaks)?

– pomsky
Jan 21 at 7:55






1




1





You need to have User Themes extension enabled to load a shell the from home directory: askubuntu.com/questions/141277/… Also you don't have to add the complete .css file, just add the part you modified and the corresponding unmodified part.

– pomsky
Jan 21 at 8:59







You need to have User Themes extension enabled to load a shell the from home directory: askubuntu.com/questions/141277/… Also you don't have to add the complete .css file, just add the part you modified and the corresponding unmodified part.

– pomsky
Jan 21 at 8:59






1




1





Okay, change your background url from background: #2c001e url(unlock-background.jpeg); to background: #2c001e url(file:///full/path/to/unlock-background.jpeg);.

– pomsky
Jan 21 at 9:16





Okay, change your background url from background: #2c001e url(unlock-background.jpeg); to background: #2c001e url(file:///full/path/to/unlock-background.jpeg);.

– pomsky
Jan 21 at 9:16




1




1





IMO a per-user configuration of GDM doesn't make sense because, well, there is no user logged in before a user logs in, and there is no user specific context when switching users either. If two users had different custom GDM themes in their home folder, which one should be chosen?

– danzel
Jan 21 at 15:00





IMO a per-user configuration of GDM doesn't make sense because, well, there is no user logged in before a user logs in, and there is no user specific context when switching users either. If two users had different custom GDM themes in their home folder, which one should be chosen?

– danzel
Jan 21 at 15:00










0






active

oldest

votes











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',
autoActivateHeartbeat: false,
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%2f1111576%2fadding-a-login-screen-background-using-themes-folder%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111576%2fadding-a-login-screen-background-using-themes-folder%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 to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

is 'sed' thread safe

How to make a Squid Proxy server?