Is there a KRunner Timer?

Is there a timer function available for KRunner that I am missing?

There is the Clock plugin which says ‘Find timers and start/stop them’ - but how? All I can manage to do is open the Clock app.

I want to e.g. enter timer 5min which creates a 5 minute timer for me.

If there is nothing, I will make one.

NOTE: there is Timer and Alarm for KRunner - KDE Store but not updated in 11 years.

That would be nice krunner built-in feature.

You can send a PR to

hi. I’m already working on a plugin - will offer e.g.:

- `ktimer 5` = 5 minutes
- `kt 5:30` = 5 minutes and 30 seconds
- `kt 8 pasta is ready!` = 8 minutes with the message "pasta is ready!"
- `kt 0:20` = 20 seconds
- `kt 20s` = 20 seconds
- `kt 4h` = 4 hours
- `kt 4:15:30 plumber arrives` = 4 hours, 15 minutes, and 30 seconds with the message "plumber arrives"

named timers, dismiss / extend the timer, …and hopefully persistent across restarts.

There has been in the past but my understanding is there isn’t currently one for KDE 6+

A quick search on github will show at least a couple. You could fork one and update it for KDE6+ if you were so inclined.

A “kt”, or “ktimer” isn’t great.

A “remind” or “reminder 5”, or “alarm 5m”, “remindme in 2h to do some shopping” would be more intuitive and easier to remember.

As I said I think that would fit upstream and built-in.

thanks, will amend to remindme … would an alias of that be acceptable - rme 2h do the shopping?

I’m happy to try a PR but will be leaning heavily on LLM for this. … which appears to be OK with conditions: Guidelines and HOWTOs/Maintainers and Contributions - KDE Community Wiki

Yes that would be ok.

Do test it, that will require building krunner and maybe plasma, that can take some time depending on your machine. kde-builder and the LLM can help.

And tell the LLM to keep consistent in code style and do your best to understand the code to spot shortcoming or logical issues. Ask the LLM for review.

It is not fine if reviewing is too hard, too verbose, too hard or convoluted, be mindful of reviewers that are humans, but do mistreat your LLM that’s a program.

And you can learn along the way, LLM can act as teachers.

thanks, I’m already spinning up to speed by reading https://develop.kde.org/docs/ while working on the HLD.

I do have dev experience so not coming at this cold. :slight_smile:

watch this space…

There is the venerable KAlarm, which although in need of some love, is a very capable tool.

Perhaps a KRunner command to add timers and alarms to it would be a good way forward.

There is also the newer, KClock, which is much simpler:

Very cool of you to try and build it yourself! If I could share an idea: it would be nice if one could also set a timer to an absolute time, for example settings a timer to go off at 18:30, similar to how in the terminal one can do “shutdown 18:30”, which can be very useful instead of having to manually calculate how many minutes it would be until that time.

I forgot to mention

There’s also KTeaTime.