Need help in using KTimer for Pomodoro Technique

Due to some unforeseen reasons I have been advised by my medical practitioner to follow the Pomodoro Technique. Basically it is 30 minutes of work and then 5 minutes away from the workstation doing some stretching or walking or looking away from the screen.

So I setup the same with KDE Ktimer as can be seen below

The problem the two tasks do not loop sequentially. i.e. the First 30 minute counter is not followed by 5 minute counter and then the cycle repeats.

How do I get it to work? I have to manually enable the first counter and then the 2nd counter and then repeat it.

I am on KDE.

why not just make a simple script to use the notification deamon and set it up with a systemd timer?

May I suggest using a dedicated pomodoro app, there are dozens out there, see e.g.: https://flathub.org/en/apps/search?q=pomodoro

Personally I like the Fokus widget: https://store.kde.org/p/1308861/

1 Like

Will Plasma 5 widgets work with Plasma 6?

Notification Deamon? Is there some documentation that I can refer to?

It has to cycle between 30 minutes - 5 minutes - 30 minutes - 5 minutes — and so on.

My bad, just posted the first link from the search engine without looking. This is for plasma 6: https://www.pling.com/p/2117117/

Just add the widget through the plasma desktop and it will pick the right version.

I would suggest the arch wiki and reading about systemd timers and services.

1 Like

yeah what ever kde uses you could set up as script to have it notify you
more in the arch wiki here

1 Like

I tried to install it from the website https://store.kde.org/p/2117117/. But it did not work.

I downloaded the plasmoid file from the KDE store and then used the command kpackagetool6 --install to install it and it did not come up.Though I could see the files in $HOME/.local/share/kpackage/generic/com.dv.fokus/. I then uninstalled it with the command kpackagetool6 kpackagetool6 --install.

Funny is that I can still see the plasmaoid in the directory $HOME/.local/share/plasma/plasmoids/com.dv.fokus/.

How can I get it installed?

  • Right click on desktop → Enter Edit Mode
  • Click Add or Manage Widgets
  • Click Get New Widgets → Download New Plasma Widgets
  • Search for Fokus and install

How can I remove all the traces of Fokus that is already present on my system, prior to installing it from Edit mode? Like in $HOME/.local/share/plasma/plasmoids/com.dv.fokus/.

So finally got it to work. Thanks @Schlaefer. Next task is to get some pictures showing exercises to be done and run it via script using Fokus.

@thefrog I will be looking to use the notification daemon and a systemd-timer. But it will take some time.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.