I would like to tweak the format for the date displayed on the desktop on 26.04. For 24.04 I could use the following command in the terminal
gsettings set org.ubuntubudgie.plugins.budgie-showtime dateformat ‘%A %d %B’
but showtime is not available in Wayland. How can I do it now, please? I would like to be able to make a simple change to a configuration file. I have spent a couple of hours trying to find a solution, but with no success.
Thank you in advance for your assistance.
Thank you for your assistance.
Thank you for your reply.
I made the following change to the xml file
Custom date format
Optional dateformat. Use string formatting conform http
s://valadoc.org/glib-2.0/GLib.DateTime.format.html
"%A %d %B"
Color of the displayed time
Text color of the applet's desktop representation
"#FF0000"
and rebooted. I have probably done something wrong, but nothing changed. I altered the colour of the font just to test.
Any help would be much appreciated.
Thank you.
<key type="s" name="dateformat">
<summary>Custom date format</summary>
<description>Optional dateformat. Use string formatting conform http
s://valadoc.org/glib-2.0/GLib.DateTime.format.html</description>
<default>"%A %d %B"</default>
</key>
<key type="s" name="datefontcolor">
<summary>Color of the displayed time</summary>
<description>Text color of the applet's desktop representation</desc
ription>
<default>"#FF0000"</default>
</key>
On 26.04, Showtime is now a Raven widget so it will show up there instead of in the panel settings.
The dateformat option is not one of the visible options in the settings, and the way Raven settings are, it is not as straightforward to change via gsettings. (Raven enforces relocatable schemas.)
What I like to do:
mkdir -p ~/.local/share/glib-2.0/schemas
cp /usr/share/glib-2.0/schemas/org.ubuntubudgie.raven.widget.budgie-showtime.gschema.xml ~/.local/share/glib-2.0/schemas
I also should note we use overrides to change things like default font and size. If you want to preserve these you can:
cp /usr/share/glib-2.0/schemas/25_budgie-desktop-environment.gschema.override ~/.local/share/glib-2.0/schemas/
Now edit ~/.local/share/glib-2.0/schemas/org.ubuntubudgie.raven.widget.budgie-showtime.gschema.xml and make your changes.
After that, you need to run:
glib-compile-schemas ~/.local/share/glib-2.0/schemas/
(If you would rather just make the change to the file in /usr/share/glib-2.0/schemas/, you can run glib-compile-schemas on that directory instead)
One important final step. You need to go into The Budgie Desktop Settings / Raven and delete Showtime from the panel and add it back. It should come back with your new settings.
If you want to just set it via terminal, it is a little more involved because you have to find the right UUID now, but I could provide a script that would do it.
Thank you for your comprehensive answer. Date display is now exactly as I want it.