Changing 12hr Clock to 24hr

1 respuesta [Último envío]
PublicLewdness
Desconectado/a
se unió: 03/15/2020

The default clock on the panel for Trisquel Mate is in 12hr format. Is there any way to change this to 24hr ? It's weird because if I add a clock to any other panel it already is in 24hr but if I try to delete the 12hr clock it deletes everything else on the panel such as wifi; Bluetooth; etc.

prospero
Desconectado/a
se unió: 05/20/2022

Modifying this value in dconf should set the default clock showing in "Indicator Applet Complete" to 24h format:

dconf write /org/ayatana/indicator/datetime/time-format "'24-hour'"

EDIT: added quotes for dconf to parse the value properly and shortened command. This can of course also be done through the dconf editor.

Else, if you would rather use the standalone Clock applet, you can either replace "Indicator Applet Complete" by "Indicator Applet" (which does not display any clock), or deselect "Ayatana Indicator Datetime" in Startup Applications Preferences, or even uninstall ayatana-indicator-datetime altogether if you are not using it at all.