A lightweight GNOME Shell extension that replaces the top-bar clock with a numeric, fully configurable format (e.g., DD/MM/YYYY HH:MM).
Works on GNOME 42 → 47 (Wayland & Xorg). Licensed under MIT.
UUID: numeric-clock@nickotmazgin
Using GNOME 42–44? See the
legacy/42-44branch.
- Latest GitHub Release (ZIPs): https://github.com/nickotmazgin/Linux-Numeric-Date-And-Clock/releases/latest
- Issues: https://github.com/nickotmazgin/Linux-Numeric-Date-And-Clock/issues
- Discussions: https://github.com/nickotmazgin/Linux-Numeric-Date-And-Clock/discussions
- Fully numeric date/time (you choose the
strftimeformat string). - Instant-apply preferences — changes apply as you type.
- Configurable update interval (seconds).
- Plays nice with other clocks (keeps visible labels in sync).
- Safe text rendering (plain text; no Pango markup).
- No network access, telemetry, or external services.
| Build (branch) | GNOME | Settings schema ID | Packaging notes |
|---|---|---|---|
Main (main) |
45–47 | org.gnome.shell.extensions.numeric-clock |
Do not include schemas/gschemas.compiled. Metadata omits icon. |
Legacy (legacy/42-44) |
42–44 | org.gnome.shell.extensions.numeric-clock |
Must include schemas/gschemas.compiled inside the ZIP. |
# 45–47
gnome-extensions install --force dist/numeric-clock@nickotmazgin.v15.shell-extension.zip
# 42–44 (legacy)
gnome-extensions install --force dist/numeric-clock@nickotmazgin.v14.shell-extension.zip
# Enable + open preferences
gnome-extensions enable numeric-clock@nickotmazgin
gnome-extensions prefs numeric-clock@nickotmazginNote: 45+ ZIPs must not contain
schemas/gschemas.compiled. 42–44 ZIPs must containschemas/gschemas.compiled.
Open Preferences and set:
- Format string — any
strftimepattern. - Update interval (seconds) — how often to refresh.
Changes apply immediately as you type.
%A weekday • %a short weekday • %d day • %m month • %Y year • %H hour (00–23) • %M minute • %S second
Examples:
%A %d/%m/%Y %H:%M→Sunday 24/08/2025 22:04%Y-%m-%d %H:%M:%S→2025-08-24 22:04:09%d.%m.%Y %H:%M→24.08.2025 22:04
Clock missing or doubled?
-
List clock-like extensions and disable the extra one:
gnome-extensions list | grep -Ei 'clock|date|time' gnome-extensions disable <conflicting-extension-uuid>
-
If the panel label doesn’t refresh:
- Make sure your Update interval is > 0.
- On Xorg you can press Alt+F2, type
r, Enter (restart shell). On Wayland, log out and back in.
Reset preferences (45+ schema):
gsettings reset-recursively org.gnome.shell.extensions.numeric-clockCheck what’s installed / enabled:
gnome-extensions info numeric-clock@nickotmazgin
gnome-extensions list --enabledLogs:
journalctl --user -b 0 -o cat | grep -i numeric-clockCommon metadata fields:
{
"uuid": "numeric-clock@nickotmazgin",
"name": "Numeric Clock",
"description": "Top-bar clock with a numeric format (DD/MM/YYYY 24-hour).",
"settings-schema": "org.gnome.shell.extensions.numeric-clock",
"url": "https://github.com/nickotmazgin/Linux-Numeric-Date-And-Clock"
}45–47 build (from main):
./tools/build.sh
# -> dist/numeric-clock@nickotmazgin.v15.shell-extension.zipLegacy 42–44 build (from legacy/42-44):
./tools/build.sh
# -> dist/numeric-clock@nickotmazgin.v14.shell-extension.zipRelease flow
- Upload the appropriate ZIP(s) to GitHub Releases.
Do not commit
schemas/gschemas.compiledto the repo; it’s a build artifact (only inside the legacy ZIP).
No network access. Only local preferences are stored.
MIT © Nick Otmazgin — see LICENSE.
If you enjoy the extension and want to support development: PayPal: https://www.paypal.com/donate/?hosted_button_id=4HM44VH47LSMW
