4

Recently upgraded from Ubuntu 16.04 to 18.04. As I have been setting up my GNOME desktop, I changed my clock to a 12-hour format (AM/PM) in System Settings. However, my login screen still shows the time in 24-hour format.

Overall I have had a lot of trouble trying to configure the GDM shell of the login screen. Many old posts regarding management of things like background, appearance, and behavior seem outdated and don't work. Additionally, having upgraded (instead of a clean install) I can't browse my files to find any obvious configuration file to edit. Gnome Tweak Tool can't seem to manage anything related to the login screen either.

Any suggestions on how I can change settings and configure the GDM login screen environment on 18.04?

Tugg
  • 103
  • 1
    can you share your /usr/share/gnome-shell/themes/ubuntu.css file..I think lot of user who upgraded from 16.04/17.10 to 18.04 have this issue with GDM. the file i asked seems to be diffrent than what is coming with freshinstallation of 18.04. – PRATAP Jun 04 '18 at 03:28
  • 1
    you can change the time format with dconf tool. – PRATAP Jun 04 '18 at 03:37
  • 1
    Hi, as a quick test, take a backup of your file /usr/share/gnome-shell/theme/ubuntu.css and replace it with https://we.tl/I2y8Mev6Dx. Reboot the system and see if GDM changes. if not replace the backed up file back in /usr/share/gnome-shell/theme/ubuntu.css. Please let me know once you test it. – PRATAP Jun 04 '18 at 04:15
  • Hey PRARP, I tried replacing my ubuntu.css file with the copy you provided, but no change. I also see a gdm3.css file, but that seems to be tied to my PopOS theme on the desktop environment. – Tugg Jun 04 '18 at 18:53
  • are you using PopOS theme? can you share your /usr/share/gnome-shell/theme/ubuntu.css file please? – PRATAP Jun 05 '18 at 03:14
  • gdm3.css must be linked to /usr/share/gnome-shell/theme/ubuntu.css file. Then only you can see the difference. I assumed that you did not install any GDM3 Themes after you upgraded from 16.04 to 18.04. In this forum i have seen a question related to our topic. in that i observed his GDM behaviour also did not change.please go through these two pics https://we.tl/QgvXt4JlQX. Also go through this askubuntu question https://askubuntu.com/q/1041774/739431 – PRATAP Jun 05 '18 at 03:53

1 Answers1

8

I had the same problem and was able to cure it by adding the following lines to /etc/gdm3/greeter.dconf-defaults:

[org/gnome/desktop/interface]
clock-format='12h'
matthewn
  • 150