Skip to content

Instantly share code, notes, and snippets.

@agingorange
Forked from GrumpyChunks/fixpopclock.sh
Created April 15, 2023 12:24
Show Gist options
  • Save agingorange/a07dbe98d510ee4954e532d596079394 to your computer and use it in GitHub Desktop.
Save agingorange/a07dbe98d510ee4954e532d596079394 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