Timelet

UUID: timelet@linuxedo.com
Last edited:
1 week ago 2024-11-11, 08:10
Last commit: [7bae095b] Update Finnish translations (#1311)

A themeable desklet that shows the time

README

Close

Timelet

A themeable desklet inspired by Conky to display time on your desktop.

Themes

  • Digital
  • Flair
  • Gotham
  • Jelly
  • Metro

Fonts

Install the fonts required by each theme for the best result.

Development

Refer Timelet: A Themeable Desklet to Show Time for details on how to write a theme for Timelet.

Log In To Comment!

19 Comments

luilux
luilux-1 month ago
Hi, the ghotham theme is beautiful. Is it possible to change font?
Alan
Alan-2 months ago
I really like this gotham theme. I am able to do it myself, and I don't mind re-applying the changes after updates, but it would be a nice feature if each field could have it's own color and even font setting. I use a bit bolder font for the time as well as color. https://postimg.cc/9DTWCqjL
angelotux
angelotux-1 year ago
Is it possible to remove the date?
alberbrando
alberbrando-1 year ago
Is there a way to set Gotham style to 24 Hours format instead 12Hours format?
Gobinath
Gobinath-1 year ago
Hi alberbrando, I've added this feature in a new PR. Once it is merged, you can control the time format of all themes from the config dialog. FYI: https://github.com/linuxmint/cinnamon-spices-desklets/pull/908
alberbrando
alberbrando-1 year ago
Wow!!! Fast adding the feature!!! Thanx,Gobinath.Now your desklet works perfectly.
alberbrando
alberbrando-1 year ago
Uhmmm...updated Mint from Vera to Victoria and the Desklet Timelet doesn´t appear...it does nothing.Nothing to show.
Minessota Klei
Minessota Klei-1 year ago
+1 I also have this problem with Linux Mint Victoria!
Thiago Nebuloni
Thiago Nebuloni-1 year ago
Same here.
Thiago Nebuloni
Thiago Nebuloni-1 year ago
Great desklet, thank you! It just doesn't refresh to the correct time when awaking from sleep. Is there a way to fix this in the code?
angelotux
angelotux-1 year ago
is it possible to have the same clock widget mx linux?
Eckhard
Eckhard-1 year ago
Need a 24h mode so badly!
Eckhard
Eckhard-1 year ago
Ok I was able to figure it out myself: Go to `~/.local/share/cinnamon/desklets/timelet@linuxedo.com/themes` and open the theme you are using with a text editor, i.e. `vim gotham.js` Find line 60, and remove the method "to12hours", so your line looks like `let time = this.to2Digit(date.getHours()) + ":" + this.to2Digit(date.getMinutes());` Save and exit, now all that is left is to restart cinnamon, the easiest by right-clicking the taskbar --> Troubleshoot --> Restart Cinnamon. Now the clock displays 24 hour mode ✓
Minessota Klei
Minessota Klei-1 year ago
Very good desklets, I loved it! Please, could you put in the settings the possibility to choose the default 24h or 12h for each theme!
lavendersachet
lavendersachet-1 year ago
+1 for this! Or to match system setting. Love Timelet ! Thanks for this applet
Eckhard
Eckhard-1 year ago
I found a way, check out my comment above!
urmst
urmst-1 year ago
Also to add, I have the correct fonts installed. I also reloaded Cinnamon and got the below error. Many thanks for your help. error t=2022-12-30T12:53:03Z [ReferenceError: date is not defined]: Failed to evaluate 'main' function on desklet: timelet@linuxedo.com/5 error t=2022-12-30T12:53:03Z [timelet@linuxedo.com]: Desklet timelet@linuxedo.com: Could not create desklet object. [timelet@linuxedo.com]: Error importing desklet.js from timelet@linuxedo.com warning t=2022-12-30T12:53:04Z Invalid or null source id used when attempting to run Mainloop.source_remove() overrideDumpStack/global.dump_gjs_stack@/usr/share/cinnamon/js/ui/overrides.js:24:42 overrideMainloop/Mainloop.source_remove@/usr/share/cinnamon/js/ui/overrides.js:163:20 on_desklet_removed@/home/user/.local/share/cinnamon/desklets/timelet@linuxedo.com/desklet.js:80:18 destroy/<.onComplete<@/usr/share/cinnamon/js/ui/desklet.js:133:37 _addHandler/params[name]@/usr/share/cinnamon/js/ui/tweener.js:256:24 _callOnFunction@resource:///org/gnome/gjs/modules/script/tweener/tweener.js:190:16 _updateTweenByIndex@resource:///org/gnome/gjs/modules/script/tweener/tweener.js:320:24 _updateTweens@resource:///org/gnome/gjs/modules/script/tweener/tweener.js:333:18 _onEnterFrame@resource:///org/gnome/gjs/modules/script/tweener/tweener.js:348:10 _emit@resource:///org/gnome/gjs/modules/core/_signals.js:114:47 _onNewFrame@/usr/share/cinnamon/js/ui/tweener.js:413:14 _init/<@/usr/share/cinnamon/js/ui/tweener.js:389:22
Gobinath
Gobinath-1 year ago
Hi, Can you try uninstalling the desklet, run the following command and then try installing it? rm -rf ~/.cinnamon/configs/timelet@linuxedo.com/
urmst
urmst-1 year ago
Great desklet, however on the latest 21.1 Cinnamon edition it crashes when selecting the Metro theme. It was fine for a while but now it doesn't start at boot, and you get the 'Cinnamon has started successfully but one of your desklets has crashed' message. I tried re-adding the desklet and it will work but the Metro theme does not. Spotted the below in Looking Glass: error t=2022-12-30T12:35:25Z [ReferenceError: date is not defined]: Failed to evaluate 'main' function on desklet: timelet@linuxedo.com/0 error t=2022-12-30T12:35:25Z [timelet@linuxedo.com]: Desklet timelet@linuxedo.com: Could not create desklet object. [timelet@linuxedo.com]: Error importing desklet.js from timelet@linuxedo.com