Feature/Proposal: Add ability to show date and time in the gfx menu

☙◦❀ The Tablet ❀◦❧ via Grub-devel <[email protected]> Fri, 30 Jan 2026 21:21:17 +0000
Newsgroups org.gnu.grub-devel
Message-ID <JOoUcp8eRmAQ87aI8GM2kmor_uIiMP3yI3n_qeZFKaDEKGQ21CXi-QycvASHdsrmf-cpboo71sVXWSODpQ8buZOJvoTTwzP2nUs3bMkeEpc=@proton.me>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

From the theme file format documentation:


> ‘id’
> 
> The identifier for the component. This can be any arbitrary string. The ID can be used by scripts to refer to various components in the GUI component tree. Currently, there is one special ID value that GRUB recognizes:
> 
> “__timeout__“
> 
> Component with this ID will be updated by GRUB and will indicate time elapsed to an automatical boot of the default entry. Affected components: “label“, “circular_progress“, “progress_bar“.


My proposal is that we add another specially recognized ID value for labels, “__time__”, that displays the current date and time, updating every second like labels with the “__timeout__” ID.


If I were to submit a patch that achieves this, would it be accepted?

— Corinthe
-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wrsEARYKAG0Fgml9ILwJEJJKX2rwUeh8RRQAAAAAABwAIHNhbHRAbm90YXRp
b25zLm9wZW5wZ3Bqcy5vcmdzUcn5nzioUDFzgVd682kPEOMrN7tjFypI/i4A
1s0W6RYhBEXpnmpARmZ7VJMq/ZJKX2rwUeh8AAAbcQD+P0kXisiS5+gVT982
6SBzgpIxh70T0q9Fh9y7ywNC5n8A/37iIoBAgiasr0e427cELM+NjiMTAKMU
/33y21ZYArEL
=rhmf
-----END PGP SIGNATURE-----

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
publickey - [email protected] - 0x45E99E6A.asc (application/pgp-keys, 724 B)
-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEZGPq8RYJKwYBBAHaRw8BAQdAhWko+2ZWwaWf79JFlkrKixQQhC4Xk1euGt09
qxNfRb3NXeKYmeKXpiBUaGUgVGFibGV0IOKdgCBHYW1lckdpcmxhbmRDbyDil6bi
nacgKOKckSDimJnil6binYDil6binacpIDxpLmFtLnRoZS50YWJsZXRAcHJvdG9u
Lm1lPsKTBBMWCgA7FiEERemeakBGZntUkyr9kkpfavBR6HwFAmRj6vECGwMFCwkI
BwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQkkpfavBR6HykPQEA0ER6SSSaz7HZ
DXOLiPSKaMVcgghkyek54W7QCdEgKZYA/0PMooAJRrbEtBChuVzZdowTWi7KTSac
TvqwZW5kwUAEzjgEZGPq8RIKKwYBBAGXVQEFAQEHQIklF28d7InJgW/Dxs5hXotB
LooJAxjcPlnL67CNMwQ/AwEIB8J4BBgWCgAgFiEERemeakBGZntUkyr9kkpfavBR
6HwFAmRj6vECGwwACgkQkkpfavBR6Hw5twD+LROcHak/5j8Ba1vLIcZukLPd1uX0
TOz4DSJbkUpHNCQA/ixuRzOXO9XJ5Q/xbFG6sfAa++BGpYMbMdHmU5MEfQoL
=ML7G
-----END PGP PUBLIC KEY BLOCK-----
publickey - [email protected] - 0x45E99E6A.asc.sig (application/pgp-signature, 189 B) - not displayed