Skip to content

Instantly share code, notes, and snippets.

@GrumpyChunks
Last active April 15, 2023 12:24
Show Gist options
  • Save GrumpyChunks/b0d21d0f070616c75b34db8ba812e9d6 to your computer and use it in GitHub Desktop.
Save GrumpyChunks/b0d21d0f070616c75b34db8ba812e9d6 to your computer and use it in GitHub Desktop.
Fix for Pop_OS not correctly using the 24 hour clock when the locale is set to a timezone that should default to a 24 hours clock
#!/bin/bash
sudo sed -i "/\[org\/gnome\/desktop\/interface\]/a\clock-format=\'24h\'" /etc/gdm3/greeter.dconf-defaults
gsettings set org.gtk.Settings.FileChooser clock-format 24h
gsettings set org.gnome.desktop.interface clock-format 24h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment