3

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?

  • 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 4 '18 at 3:28
  • 1
    you can change the time format with dconf tool. – PRATAP Jun 4 '18 at 3:37
  • 1
    Hi, as a quick test, take a backup of your file /usr/share/gnome-shell/theme/ubuntu.css and replace it with 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 4 '18 at 4: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 4 '18 at 18:53
  • are you using PopOS theme? can you share your /usr/share/gnome-shell/theme/ubuntu.css file please? – PRATAP Jun 5 '18 at 3:14
4

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'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.