Create foo.sh with the line
gsettings set org.gnome.desktop.interface clock-format 12h
in it. If you happen to be 12h then replace 12h with 24h
do a chmod +x foo.sh
bash foo.sh works
sudo bash foo.sh doesn't work
the line is supposed to change the time format from am/pm to 24hr and vice versa.
Bookmarks