18.04 - Cannot change the background color of the LOCK screen, not the Login screen
Good evening,
I'm trying to change some of the colours of my login screen in my Ubuntu 18.04. I followed some questions here on AskUbuntu, and edited my css
files at /usr/share/gnome-shell/theme/gnome-shell.css
(I'm using that configuration) - Specifically, I changed the values of .lockDialogGroup
to a nicer dark gray.
My login screen is indeed now a nice dark gray instead of that hellish purple.
However, if I lock my computer without shutting down the machine, I still get a different purple gradient, which I haven't managed to change. I'm serching around but since I don't even know what to call this "behind-the-shield" screen, I can't find relevant results.
I suspect the login screen and the lock screen are two different managers altogether.
Here's a short mp4
video of me literally filming my screen, to make you understand which color I'm trying to change:
https://imgur.com/8aBWhd4
EDIT: There seems to be a discrepancy between my first-after-boot login screen, and my login-after-locking screen.
first Login screen after boot:
After-lock login screen:
18.04 themes gnome-shell lock-screen
This question has an open bounty worth +100
reputation from Dimitris Sfounis ending in 6 days.
This question has not received enough attention.
I am still busting my head about this,
add a comment |
Good evening,
I'm trying to change some of the colours of my login screen in my Ubuntu 18.04. I followed some questions here on AskUbuntu, and edited my css
files at /usr/share/gnome-shell/theme/gnome-shell.css
(I'm using that configuration) - Specifically, I changed the values of .lockDialogGroup
to a nicer dark gray.
My login screen is indeed now a nice dark gray instead of that hellish purple.
However, if I lock my computer without shutting down the machine, I still get a different purple gradient, which I haven't managed to change. I'm serching around but since I don't even know what to call this "behind-the-shield" screen, I can't find relevant results.
I suspect the login screen and the lock screen are two different managers altogether.
Here's a short mp4
video of me literally filming my screen, to make you understand which color I'm trying to change:
https://imgur.com/8aBWhd4
EDIT: There seems to be a discrepancy between my first-after-boot login screen, and my login-after-locking screen.
first Login screen after boot:
After-lock login screen:
18.04 themes gnome-shell lock-screen
This question has an open bounty worth +100
reputation from Dimitris Sfounis ending in 6 days.
This question has not received enough attention.
I am still busting my head about this,
@PRATAP Doesn't matter, I'm interested in finding where the .css that controls this gradient is located
– Dimitris Sfounis
2 days ago
add a comment |
Good evening,
I'm trying to change some of the colours of my login screen in my Ubuntu 18.04. I followed some questions here on AskUbuntu, and edited my css
files at /usr/share/gnome-shell/theme/gnome-shell.css
(I'm using that configuration) - Specifically, I changed the values of .lockDialogGroup
to a nicer dark gray.
My login screen is indeed now a nice dark gray instead of that hellish purple.
However, if I lock my computer without shutting down the machine, I still get a different purple gradient, which I haven't managed to change. I'm serching around but since I don't even know what to call this "behind-the-shield" screen, I can't find relevant results.
I suspect the login screen and the lock screen are two different managers altogether.
Here's a short mp4
video of me literally filming my screen, to make you understand which color I'm trying to change:
https://imgur.com/8aBWhd4
EDIT: There seems to be a discrepancy between my first-after-boot login screen, and my login-after-locking screen.
first Login screen after boot:
After-lock login screen:
18.04 themes gnome-shell lock-screen
Good evening,
I'm trying to change some of the colours of my login screen in my Ubuntu 18.04. I followed some questions here on AskUbuntu, and edited my css
files at /usr/share/gnome-shell/theme/gnome-shell.css
(I'm using that configuration) - Specifically, I changed the values of .lockDialogGroup
to a nicer dark gray.
My login screen is indeed now a nice dark gray instead of that hellish purple.
However, if I lock my computer without shutting down the machine, I still get a different purple gradient, which I haven't managed to change. I'm serching around but since I don't even know what to call this "behind-the-shield" screen, I can't find relevant results.
I suspect the login screen and the lock screen are two different managers altogether.
Here's a short mp4
video of me literally filming my screen, to make you understand which color I'm trying to change:
https://imgur.com/8aBWhd4
EDIT: There seems to be a discrepancy between my first-after-boot login screen, and my login-after-locking screen.
first Login screen after boot:
After-lock login screen:
18.04 themes gnome-shell lock-screen
18.04 themes gnome-shell lock-screen
edited 2 days ago
Dimitris Sfounis
asked Jan 5 at 21:46
Dimitris SfounisDimitris Sfounis
7010
7010
This question has an open bounty worth +100
reputation from Dimitris Sfounis ending in 6 days.
This question has not received enough attention.
I am still busting my head about this,
This question has an open bounty worth +100
reputation from Dimitris Sfounis ending in 6 days.
This question has not received enough attention.
I am still busting my head about this,
@PRATAP Doesn't matter, I'm interested in finding where the .css that controls this gradient is located
– Dimitris Sfounis
2 days ago
add a comment |
@PRATAP Doesn't matter, I'm interested in finding where the .css that controls this gradient is located
– Dimitris Sfounis
2 days ago
@PRATAP Doesn't matter, I'm interested in finding where the .css that controls this gradient is located
– Dimitris Sfounis
2 days ago
@PRATAP Doesn't matter, I'm interested in finding where the .css that controls this gradient is located
– Dimitris Sfounis
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
"behind-the-shield" screen as you mentioned in question is called unlock screen.
also i understood that somehow your unlock screen background is same as default Ubuntu 18.10 vertical gradient. so below content may look different when you open ubuntu.css
file
in your case,
seems to be, you have diverted gdm3 to use /usr/share/gnome-shell/theme/gnome-shell.css
as opposed to the default in Ubuntu 18.04 /usr/share/gnome-shell/theme/ubuntu.css
the changes you want to apply to unlock screen can be done by editing this ubuntu.css
file.
sudo-H gedit /usr/share/gnome-shell/theme/ubuntu.css
and edit the below content as per your need.
#lockDialogGroup {
background: #2c001e url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat; }
for example, i have edited as per my wish like below
#lockDialogGroup {
background: #0000FF url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat; }
and the result is
This does not work. As I said earlier, I've already changed the#lockDialogGroup
CSS entry in my enabled .css file. It is indeed the gray color that I see in my login screen. My lock login screen is separate, and has a purple color still! When I boot up my machine, the login screen is fine and shows the color I've selected (#3f546b
). Only after using Lock does this purple screen come up, and I'm beating myself trying to find the .css file that controls it.
– Dimitris Sfounis
2 days ago
I did, there were no visible changes, as expected. I'm usinggnome-shell.css
as my preferred style, notubuntu.css
– Dimitris Sfounis
2 days ago
More or less. I've definitely not messed around with the styles. apart from runningsudo update-alternatives --config gdm3.css
while trying to fix the purple color issue. The issue was there before runningupdate-alternatives
.
– Dimitris Sfounis
2 days ago
It'subuntu.css
, but I've changed the#lockDialogGroup
entry in that file to#0000FF
to see if it changes anything, and my login screen is still not bright blue. Login screen after boot is dark gray (as per thegnome-shell.css
file, and the login-after-lock screen is a background image with a purple second image, like in my original question.
– Dimitris Sfounis
2 days ago
Ok, let me check with update-alternative and revert back to you. by the way i am not telling that #0000FF will change login screen.. i am talking about unlock screen background only.
– PRATAP
2 days ago
|
show 5 more comments
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1107277%2f18-04-cannot-change-the-background-color-of-the-lock-screen-not-the-login-scr%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
"behind-the-shield" screen as you mentioned in question is called unlock screen.
also i understood that somehow your unlock screen background is same as default Ubuntu 18.10 vertical gradient. so below content may look different when you open ubuntu.css
file
in your case,
seems to be, you have diverted gdm3 to use /usr/share/gnome-shell/theme/gnome-shell.css
as opposed to the default in Ubuntu 18.04 /usr/share/gnome-shell/theme/ubuntu.css
the changes you want to apply to unlock screen can be done by editing this ubuntu.css
file.
sudo-H gedit /usr/share/gnome-shell/theme/ubuntu.css
and edit the below content as per your need.
#lockDialogGroup {
background: #2c001e url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat; }
for example, i have edited as per my wish like below
#lockDialogGroup {
background: #0000FF url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat; }
and the result is
This does not work. As I said earlier, I've already changed the#lockDialogGroup
CSS entry in my enabled .css file. It is indeed the gray color that I see in my login screen. My lock login screen is separate, and has a purple color still! When I boot up my machine, the login screen is fine and shows the color I've selected (#3f546b
). Only after using Lock does this purple screen come up, and I'm beating myself trying to find the .css file that controls it.
– Dimitris Sfounis
2 days ago
I did, there were no visible changes, as expected. I'm usinggnome-shell.css
as my preferred style, notubuntu.css
– Dimitris Sfounis
2 days ago
More or less. I've definitely not messed around with the styles. apart from runningsudo update-alternatives --config gdm3.css
while trying to fix the purple color issue. The issue was there before runningupdate-alternatives
.
– Dimitris Sfounis
2 days ago
It'subuntu.css
, but I've changed the#lockDialogGroup
entry in that file to#0000FF
to see if it changes anything, and my login screen is still not bright blue. Login screen after boot is dark gray (as per thegnome-shell.css
file, and the login-after-lock screen is a background image with a purple second image, like in my original question.
– Dimitris Sfounis
2 days ago
Ok, let me check with update-alternative and revert back to you. by the way i am not telling that #0000FF will change login screen.. i am talking about unlock screen background only.
– PRATAP
2 days ago
|
show 5 more comments
"behind-the-shield" screen as you mentioned in question is called unlock screen.
also i understood that somehow your unlock screen background is same as default Ubuntu 18.10 vertical gradient. so below content may look different when you open ubuntu.css
file
in your case,
seems to be, you have diverted gdm3 to use /usr/share/gnome-shell/theme/gnome-shell.css
as opposed to the default in Ubuntu 18.04 /usr/share/gnome-shell/theme/ubuntu.css
the changes you want to apply to unlock screen can be done by editing this ubuntu.css
file.
sudo-H gedit /usr/share/gnome-shell/theme/ubuntu.css
and edit the below content as per your need.
#lockDialogGroup {
background: #2c001e url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat; }
for example, i have edited as per my wish like below
#lockDialogGroup {
background: #0000FF url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat; }
and the result is
This does not work. As I said earlier, I've already changed the#lockDialogGroup
CSS entry in my enabled .css file. It is indeed the gray color that I see in my login screen. My lock login screen is separate, and has a purple color still! When I boot up my machine, the login screen is fine and shows the color I've selected (#3f546b
). Only after using Lock does this purple screen come up, and I'm beating myself trying to find the .css file that controls it.
– Dimitris Sfounis
2 days ago
I did, there were no visible changes, as expected. I'm usinggnome-shell.css
as my preferred style, notubuntu.css
– Dimitris Sfounis
2 days ago
More or less. I've definitely not messed around with the styles. apart from runningsudo update-alternatives --config gdm3.css
while trying to fix the purple color issue. The issue was there before runningupdate-alternatives
.
– Dimitris Sfounis
2 days ago
It'subuntu.css
, but I've changed the#lockDialogGroup
entry in that file to#0000FF
to see if it changes anything, and my login screen is still not bright blue. Login screen after boot is dark gray (as per thegnome-shell.css
file, and the login-after-lock screen is a background image with a purple second image, like in my original question.
– Dimitris Sfounis
2 days ago
Ok, let me check with update-alternative and revert back to you. by the way i am not telling that #0000FF will change login screen.. i am talking about unlock screen background only.
– PRATAP
2 days ago
|
show 5 more comments
"behind-the-shield" screen as you mentioned in question is called unlock screen.
also i understood that somehow your unlock screen background is same as default Ubuntu 18.10 vertical gradient. so below content may look different when you open ubuntu.css
file
in your case,
seems to be, you have diverted gdm3 to use /usr/share/gnome-shell/theme/gnome-shell.css
as opposed to the default in Ubuntu 18.04 /usr/share/gnome-shell/theme/ubuntu.css
the changes you want to apply to unlock screen can be done by editing this ubuntu.css
file.
sudo-H gedit /usr/share/gnome-shell/theme/ubuntu.css
and edit the below content as per your need.
#lockDialogGroup {
background: #2c001e url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat; }
for example, i have edited as per my wish like below
#lockDialogGroup {
background: #0000FF url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat; }
and the result is
"behind-the-shield" screen as you mentioned in question is called unlock screen.
also i understood that somehow your unlock screen background is same as default Ubuntu 18.10 vertical gradient. so below content may look different when you open ubuntu.css
file
in your case,
seems to be, you have diverted gdm3 to use /usr/share/gnome-shell/theme/gnome-shell.css
as opposed to the default in Ubuntu 18.04 /usr/share/gnome-shell/theme/ubuntu.css
the changes you want to apply to unlock screen can be done by editing this ubuntu.css
file.
sudo-H gedit /usr/share/gnome-shell/theme/ubuntu.css
and edit the below content as per your need.
#lockDialogGroup {
background: #2c001e url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat; }
for example, i have edited as per my wish like below
#lockDialogGroup {
background: #0000FF url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat; }
and the result is
edited 2 days ago
answered 2 days ago
PRATAPPRATAP
2,3182525
2,3182525
This does not work. As I said earlier, I've already changed the#lockDialogGroup
CSS entry in my enabled .css file. It is indeed the gray color that I see in my login screen. My lock login screen is separate, and has a purple color still! When I boot up my machine, the login screen is fine and shows the color I've selected (#3f546b
). Only after using Lock does this purple screen come up, and I'm beating myself trying to find the .css file that controls it.
– Dimitris Sfounis
2 days ago
I did, there were no visible changes, as expected. I'm usinggnome-shell.css
as my preferred style, notubuntu.css
– Dimitris Sfounis
2 days ago
More or less. I've definitely not messed around with the styles. apart from runningsudo update-alternatives --config gdm3.css
while trying to fix the purple color issue. The issue was there before runningupdate-alternatives
.
– Dimitris Sfounis
2 days ago
It'subuntu.css
, but I've changed the#lockDialogGroup
entry in that file to#0000FF
to see if it changes anything, and my login screen is still not bright blue. Login screen after boot is dark gray (as per thegnome-shell.css
file, and the login-after-lock screen is a background image with a purple second image, like in my original question.
– Dimitris Sfounis
2 days ago
Ok, let me check with update-alternative and revert back to you. by the way i am not telling that #0000FF will change login screen.. i am talking about unlock screen background only.
– PRATAP
2 days ago
|
show 5 more comments
This does not work. As I said earlier, I've already changed the#lockDialogGroup
CSS entry in my enabled .css file. It is indeed the gray color that I see in my login screen. My lock login screen is separate, and has a purple color still! When I boot up my machine, the login screen is fine and shows the color I've selected (#3f546b
). Only after using Lock does this purple screen come up, and I'm beating myself trying to find the .css file that controls it.
– Dimitris Sfounis
2 days ago
I did, there were no visible changes, as expected. I'm usinggnome-shell.css
as my preferred style, notubuntu.css
– Dimitris Sfounis
2 days ago
More or less. I've definitely not messed around with the styles. apart from runningsudo update-alternatives --config gdm3.css
while trying to fix the purple color issue. The issue was there before runningupdate-alternatives
.
– Dimitris Sfounis
2 days ago
It'subuntu.css
, but I've changed the#lockDialogGroup
entry in that file to#0000FF
to see if it changes anything, and my login screen is still not bright blue. Login screen after boot is dark gray (as per thegnome-shell.css
file, and the login-after-lock screen is a background image with a purple second image, like in my original question.
– Dimitris Sfounis
2 days ago
Ok, let me check with update-alternative and revert back to you. by the way i am not telling that #0000FF will change login screen.. i am talking about unlock screen background only.
– PRATAP
2 days ago
This does not work. As I said earlier, I've already changed the
#lockDialogGroup
CSS entry in my enabled .css file. It is indeed the gray color that I see in my login screen. My lock login screen is separate, and has a purple color still! When I boot up my machine, the login screen is fine and shows the color I've selected (#3f546b
). Only after using Lock does this purple screen come up, and I'm beating myself trying to find the .css file that controls it.– Dimitris Sfounis
2 days ago
This does not work. As I said earlier, I've already changed the
#lockDialogGroup
CSS entry in my enabled .css file. It is indeed the gray color that I see in my login screen. My lock login screen is separate, and has a purple color still! When I boot up my machine, the login screen is fine and shows the color I've selected (#3f546b
). Only after using Lock does this purple screen come up, and I'm beating myself trying to find the .css file that controls it.– Dimitris Sfounis
2 days ago
I did, there were no visible changes, as expected. I'm using
gnome-shell.css
as my preferred style, not ubuntu.css
– Dimitris Sfounis
2 days ago
I did, there were no visible changes, as expected. I'm using
gnome-shell.css
as my preferred style, not ubuntu.css
– Dimitris Sfounis
2 days ago
More or less. I've definitely not messed around with the styles. apart from running
sudo update-alternatives --config gdm3.css
while trying to fix the purple color issue. The issue was there before running update-alternatives
.– Dimitris Sfounis
2 days ago
More or less. I've definitely not messed around with the styles. apart from running
sudo update-alternatives --config gdm3.css
while trying to fix the purple color issue. The issue was there before running update-alternatives
.– Dimitris Sfounis
2 days ago
It's
ubuntu.css
, but I've changed the #lockDialogGroup
entry in that file to #0000FF
to see if it changes anything, and my login screen is still not bright blue. Login screen after boot is dark gray (as per the gnome-shell.css
file, and the login-after-lock screen is a background image with a purple second image, like in my original question.– Dimitris Sfounis
2 days ago
It's
ubuntu.css
, but I've changed the #lockDialogGroup
entry in that file to #0000FF
to see if it changes anything, and my login screen is still not bright blue. Login screen after boot is dark gray (as per the gnome-shell.css
file, and the login-after-lock screen is a background image with a purple second image, like in my original question.– Dimitris Sfounis
2 days ago
Ok, let me check with update-alternative and revert back to you. by the way i am not telling that #0000FF will change login screen.. i am talking about unlock screen background only.
– PRATAP
2 days ago
Ok, let me check with update-alternative and revert back to you. by the way i am not telling that #0000FF will change login screen.. i am talking about unlock screen background only.
– PRATAP
2 days ago
|
show 5 more comments
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1107277%2f18-04-cannot-change-the-background-color-of-the-lock-screen-not-the-login-scr%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
@PRATAP Doesn't matter, I'm interested in finding where the .css that controls this gradient is located
– Dimitris Sfounis
2 days ago