Change the color of the highlighted user in the login-dialog-user-list in GDM?

If none of the more specific forums is the right place to ask
Post Reply
Message
Author
dachshund-digital
Posts: 38
Joined: 2021-12-23 22:22

Change the color of the highlighted user in the login-dialog-user-list in GDM?

#1 Post by dachshund-digital »

How to change the color of the highlighted user in the login-dialog-user-list in GDM? As I understand it, this can be done in Ubuntu via the following method...

# nano /usr/share/gnome-shell/theme/ubuntu.css
.login-dialog-user-list {
spacing: 12px;
padding: .2em;
width: 23em; }
.login-dialog-user-list:expanded .login-dialog-user-list-item:selected {
background-color: #dd4814;
color: #ffffff; }
.login-dialog-user-list:expanded .login-dialog-user-list-item:logged-in {
border-right: 2px solid #dd4814; }

// Lime Green color #00FF00
// Orange color #dd4814

But Debian GDM3 does not use style sheets? Or it does? But the style sheets I found are related to Gnome classic? So changing them would not impact the active GDM3 process?
# cd/usr/share/gnome-shell/theme
# ls -l
total 280
-rw-r--r-- 1 root root 5700 Dec 2 2020 calendar-today.svg
-rw-r--r-- 1 root root 101967 Dec 2 2020 classic-process-working.svg
-rw-r--r-- 1 root root 9736 Dec 2 2020 classic-toggle-off-intl.svg
-rw-r--r-- 1 root root 8205 Dec 2 2020 classic-toggle-off-us.svg
-rw-r--r-- 1 root root 6366 Dec 2 2020 classic-toggle-on-intl.svg
-rw-r--r-- 1 root root 7722 Dec 2 2020 classic-toggle-on-us.svg
-rw-r--r-- 1 root root 64494 Nov 23 18:53 gnome-classic.css
-rw-r--r-- 1 root root 73 Dec 2 2020 gnome-classic-high-contrast.css

Changing gnome-classic.css would only work if I was using Gnome class, right? So how can you customize the login user list colors? Sorry but the bright royal blue is just not to my liking, I would like to change it, how can I do so?

User avatar
FreewheelinFrank
Posts: 1158
Joined: 2010-06-07 16:59
Has thanked: 15 times
Been thanked: 86 times

Re: Change the color of the highlighted user in the login-dialog-user-list in GDM?

#2 Post by FreewheelinFrank »

Gnome does not have shell themes enabled by default. You probably need to enable shell themes in Gnome Tweaks.

Post Reply