Cannot change greeter colour

Couple of years back I have had this problem with a certain extension.

While the problem itself has been solved, while in an attempt to solve the problem I have ran this command which have set my greeter colour to red (which does not affect the system while I am logged in).

sudo machinectl shell gdm@ $(which gsettings) set org.gnome.desktop.interface accent-color “red”

In an attempt to solve this I have reset dconf, which didn’t affect the greeter colour.

I have also ran this

sudo machinectl shell gdm@ $(which gsettings) reset org.gnome.desktop.interface accent-color

getting this in response

Connected to the local host. Press ^] three times within 1s to exit session.

(process:265941): dconf-WARNING **: 07:17:34.520: failed to commit changes to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY
Connection to the local host terminated.

Please keep in mind I am a complete noob. Any help is really appreciated

Hi! Ran both, didn’t seem to change anything so far.

I made for a buddy of mine, when he wanted to do the same thing but on Ubuntu.

You can use any local or cloud llm if you don’t feel like your ready to jump into bash scripts but if you do use them make sure you tell it explain the script to you line by line cause copying and pasting a round script from a robot isn’t a great idea.

Hopefully this helps in some way.

Hi! Sorry for a late reply. I have ran the script as is, but as I have expected it didn’t really change anything. Maybe there is a way to modify it for Fedora? And thank you for your response

Sory for a late reply, here is what I’ve got.

run0 -u gdm gsettings get org.gnome.desktop.interface accent-color
'red'
run0 find /etc/dconf /usr/share/dconf -type f | sort
/etc/dconf/db/distro
/etc/dconf/db/gdm
/etc/dconf/db/gdm.d/95-gdm-settings
/etc/dconf/db/ibus
/etc/dconf/db/ibus.d/00-upstream-settings
/etc/dconf/db/local
/etc/dconf/db/local.d/99-local
/etc/dconf/db/site
/etc/dconf/profile/gdm
/etc/dconf/profile/ibus
/etc/dconf/profile/user
/usr/share/dconf/profile/gdm
/usr/share/dconf/profile/gnome-initial-setup

Yeah, that’s the accent colour in the greeter, the whole issue is that I haven’t found a way to change it :smiling_face_with_tear:

cat /etc/dconf/db/gdm.d/95-gdm-settings
#-------- Interface ---------
[org/gnome/desktop/interface]
#----------------------------
accent-color='blue'
cursor-theme='Adwaita'
cursor-size=24
icon-theme='Adwaita'
show-battery-percentage=true
clock-show-date=true
clock-show-seconds=false
clock-show-weekday=false
clock-format='12h'
font-name='Sans 11'
font-antialiasing='grayscale'
font-hinting='slight'
text-scaling-factor=1.0

#---- Accessibility ----
[org/gnome/desktop/a11y]
#------------------------
always-show-universal-access-status=true

#-------- Sound ---------
[org/gnome/desktop/sound]
#------------------------
theme-name='freedesktop'
event-sounds=true
input-feedback-sounds=false
allow-volume-above-100-percent=false

#-------------- Mouse ---------------
[org/gnome/desktop/peripherals/mouse]
#------------------------------------
accel-profile='default'
natural-scroll=false
speed=0.35

#-------------- Touchpad ---------------
[org/gnome/desktop/peripherals/touchpad]
#---------------------------------------
speed=0.35
tap-to-click=true
natural-scroll=true
two-finger-scrolling-enabled=true
disable-while-typing=true
send-events='enabled'

#---------------- Power -----------------
[org/gnome/settings-daemon/plugins/power]
#----------------------------------------
power-button-action='suspend'
power-saver-profile-on-low-battery=true
dim-screen=true
sleep-inactive-ac-type='nothing'
sleep-inactive-ac-timeout=3600
sleep-inactive-battery-type='suspend'
sleep-inactive-battery-timeout=1200

#--------------- Session ----------------
[org/gnome/desktop/session]
#----------------------------------------
idle-delay=600

#------------- Night Light --------------
[org/gnome/settings-daemon/plugins/color]
#----------------------------------------
night-light-enabled=false
night-light-temperature=uint32 3000
night-light-schedule-automatic=true
night-light-schedule-from=19.0
night-light-schedule-to=6.0

#----- Login Screen ----
[org/gnome/login-screen]
#-----------------------
logo=''
banner-message-enable=false
banner-message-text=''
disable-restart-buttons=false
disable-user-list=false
cat /etc/dconf/profile/gdm
user-db:user
system-db:gdm
file-db:/usr/share/gdm/greeter-dconf-defaults

Ran everything and it doesn’t seem to have changed anything, greeter accent still red

sudo restorecon -R /etc/dconf
sudo tee /etc/dconf/db/gdm.d/locks/99-gdm << EOF > /dev/null
/org/gnome/desktop/interface/accent-color
EOF
sudo dconf update
sudo rm -f -R ~gdm/*
sudo systemctl restart gdm.service

This helped! Thank you.