Sub topic 3
Choosing a timer and setting up your workspace
The Pomodoro cycle only works if the timer behaves predictably and your surroundings don't undermine it. This chapter covers what a timer must do, how the main types compare, how to configure one, and how to prepare your workspace and devices before the first interval starts.
This chapter assumes you know the basic cycle from the previous chapter: a 25-minute work interval, a 5-minute break, and a longer break after four intervals. It also assumes you keep some form of to-do list. For the optional code, you need Python 3.8 or newer and a terminal.
What a timer has to do
A Pomodoro timer has a small job, and it helps to list the requirements before looking at products.
- Count a fixed interval and signal the end. The signal must be noticeable without you watching the clock. If you have to check the timer, it is pulling your attention away from the task.
- Start and stop on your command. Starting the timer is a deliberate act. It marks the moment you commit to one task.
- Be easy to void. In the standard technique, a pomodoro that is interrupted and cannot be resumed counts for nothing. You restart it from zero. The timer needs a clear way to cancel and begin again.
- Stay out of the way. The less it asks of you during the interval, the better.
Several features that tools advertise are optional. Statistics, task integrations, sounds, and themes are not needed for the technique to work. They can help later, when you track and review your results. Most of them also add a way to get distracted.
Types of timers
Each kind of timer has a different cost in attention and flexibility.
| Timer type | Strengths | Weaknesses | Best for |
|---|---|---|---|
| Mechanical kitchen timer | Winding it is a physical commitment. It shows time passing without a screen. It has no notifications. | Often ticks loudly. It rings once and can't chain cycles. Fixed or imprecise minute marks. | Desk work where you want zero screen involvement. |
| Phone timer or clock app | Always on hand. Precise. Easy to set custom lengths. | Phone notifications and apps are a major source of distraction. | Occasional use, or travel, with Do Not Disturb enabled. |
| Dedicated Pomodoro app | Automates the cycle. Often logs completed pomodoros and offers statistics. | Features can turn into a hobby. Some apps are cluttered or ad-supported. | People who want built-in tracking. |
| Browser or web timer | Needs no install. Works on any computer. | Lives in a browser tab, next to every distraction. Tabs can be throttled or closed. | Quick starts on shared or work-managed machines. |
| Command-line or script timer | Fully under your control. Scriptable, and can write to a log. | Needs some technical comfort. Needs a terminal open. | Developers and people who already work in a terminal. |
| Physical device, such as a cube timer | Visible, tactile, no screen. Often has preset intervals. | Costs money. Fewer features. | People who like a visible, physical cue. |
Cirillo, the technique's creator, originally used a mechanical kitchen timer shaped like a tomato. Pomodoro is the Italian word for tomato. He later argued that the winding action is part of the method. Winding the timer is a small ritual that tells you the interval has started. You don't need a tomato, but the point carries over to software: choose a tool where starting is one clear action.
A decision path
If you are unsure which to pick, follow the questions below. They steer you toward the fewest distractions.
None of these paths is final. Try one for a week of working days. Switch if the tool itself becomes something you tinker with or check.
Configuring the timer
Whatever you choose, set these up before your first real interval.
- Intervals. Start with the defaults: 25 minutes of work, a 5-minute short break, and a 15-minute long break after every fourth pomodoro. Resist changing them yet. A later chapter covers adapting interval lengths, and you can't judge a change without a baseline.
- End signal. Choose a sound or vibration you can hear from your normal position. If you wear headphones, test the signal with them on. Many apps play alarms through a different audio output than your music.
- Break signal. Some tools also signal the end of a break. This is useful, because a 5-minute break with no signal often stretches to 15.
- Auto-start. Be careful with the option that starts the next interval automatically. It removes the moment where you decide what to work on next. It also turns a break into a countdown to more work. Most people do better with manual starts, at least at first.
- Notifications. Silence everything else on the device. A timer that shares a screen with chat popups gets drowned out, or worse, becomes the reason you open the device.
A minimal script timer
If you work in a terminal, a script gives you a timer with no extra features. The previous chapters showed a simple version that sleeps for the whole interval. That version has two weaknesses: it shows nothing while it runs, and pressing Ctrl+C leaves you with an ugly error trace.
The version below fixes both. It displays the remaining time, rings the terminal bell at the end, and treats Ctrl+C as a voided pomodoro. It uses time.monotonic(), a clock that never jumps backward when the system time changes, so the countdown stays accurate.
import argparse
import math
import sys
import time
def format_remaining(seconds):
"""Return a mm:ss string for a number of seconds."""
minutes, secs = divmod(max(0, int(seconds)), 60)
return f"{minutes:02d}:{secs:02d}"
def ring(times=3):
"""Ring the terminal bell a few times."""
for _ in range(times):
sys.stdout.write("\a")
sys.stdout.flush()
time.sleep(0.4)
def countdown(minutes, label):
"""Count down and return True if finished, False if voided with Ctrl+C."""
end = time.monotonic() + minutes * 60
try:
while True:
remaining = end - time.monotonic()
if remaining <= 0:
break
shown = format_remaining(math.ceil(remaining))
print(f"\r{label}: {shown} ", end="", flush=True)
time.sleep(min(1.0, remaining))
except KeyboardInterrupt:
print(f"\r{label}: voided. Start again from zero. ")
return False
print(f"\r{label}: done. ")
ring()
return True
def main():
parser = argparse.ArgumentParser(description="A simple Pomodoro timer.")
parser.add_argument("minutes", type=float, help="length of the interval")
parser.add_argument("label", nargs="?", default="Pomodoro", help="name shown while counting")
args = parser.parse_args()
finished = countdown(args.minutes, args.label)
sys.exit(0 if finished else 1)
if __name__ == "__main__":
main()Save it as pomo.py and run it from a terminal:
# Shell usage, shown as comments:
# python pomo.py 25 "write report" -> a 25-minute work interval
# python pomo.py 5 "short break" -> a 5-minute break
# python pomo.py 0.1 "test" -> a 6-second test runThe exit code is 0 when the interval finishes and 1 when you void it. That makes the script easy to chain from a shell, where a later step can run only after a completed interval.
Setting up your workspace
The timer marks the boundaries of an interval. The workspace decides whether you can stay inside it. Set up for the next 25 minutes before you start the clock, not after.
Reduce what can pull you away
- Silence notifications. Turn on Do Not Disturb or Focus mode on your phone and computer. Allow the timer's own alert through if it's an app.
- Close what you don't need. Close the email client, chat windows, and unrelated browser tabs. If the task needs the browser, open only the tabs it requires.
- Put your phone out of reach. If the phone isn't your timer, put it in a bag or another room. Having to stand up to check it is a barrier, and that is the point.
- Gather materials first. Open the documents, tools, and references the task needs. Filling a glass of water or fetching a charger mid-interval costs you the interval.
- Tell people nearby. A short note that you are unavailable for 25 minutes saves you from many external interruptions. A later chapter covers how to handle the ones that still come.
Make the task visible
Before starting, write down in one line what you will do in this interval. Keep it on paper or in a text file next to the timer. When your attention drifts, the line tells you where to return. It also stops you from replacing the planned task with something more appealing halfway through.
Prepare the break too
A break only restores focus if it differs from work. Decide in advance what the 5 minutes are for: standing up, stretching, getting water, or looking out a window. Avoid breaks that load the same attention as work, such as email, social feeds, or news. Those leave you more tired and make the next interval harder to start. Keep the long break for something fully away from the screen when you can.
Physical setup
The technique is built around a sitting-and-working rhythm, so basic ergonomics matter.
- Set your screen so the top is at or just below eye level, and keep your wrists neutral on the keyboard.
- Keep water within reach so you don't need to leave for it.
- Use the break to move. Standing and walking for a few minutes every half hour is easier on the body than sitting for hours.
Common setup mistakes
| Mistake | Effect | Fix |
|---|---|---|
| Using your phone as the timer with notifications on | The first alert pulls you into other apps. | Turn on Do Not Disturb. Use a separate timer if you can't resist. |
| Timer sound is too quiet or plays on the wrong output | You miss the end of the interval or the break. | Run a 1-minute test with your headphones in. |
| Auto-start enabled for work intervals | Breaks end with no decision about the next task. | Switch to manual starts. |
| Heavy configuration before any real work | Setup becomes the task. | Use defaults for a full week, then adjust. |
| Choosing the task after starting the clock | The first minutes go to deciding. | Write the one-line goal first, then start the timer. |
| A timer inside a browser tab | The tab can be throttled or closed by accident. | Use a desktop app, a script, or a separate device. |
A pre-flight checklist
Run through this before each work session. After a few days it takes under a minute.
- The timer is set to 25 minutes and the end signal works.
- Notifications are silenced on all devices.
- Only the materials for this task are open.
- The one-line goal for this interval is written down.
- Water is nearby, and you know what you'll do in the break.
Check your understanding
Exercise
A colleague uses a phone app as their Pomodoro timer. They often start a 25-minute interval and end up on social media within a few minutes. Name two setup changes that address this without abandoning the phone as a timer.
Show answer
Turn on Do Not Disturb or Focus mode so only the timer's alert comes through, and move the phone out of reach or face down so that picking it up takes effort. Other valid answers: move social apps off the home screen or block them during focus hours, or switch to a separate device or a desktop timer so the phone stays away.
Exercise
In the script timer, why does the code compute the end time with time.monotonic() once and compare against it on every loop, instead of subtracting one second from a counter each time through the loop?
Show answer
A loop that subtracts one second per pass drifts, because each pass takes slightly longer than one second (printing and sleeping add overhead), so the interval runs long. Comparing against a fixed end time from a monotonic clock measures real elapsed time. The monotonic clock also does not jump if the system time is changed during the interval.
Exercise
Why do many practitioners recommend turning off auto-start for work intervals, at least at the beginning?
Show answer
Auto-start removes the moment between a break and the next interval where you choose the task and prepare. It also makes breaks feel like a countdown to more work, so you may start an interval without a clear goal or with the wrong task. Manual starts keep the commitment deliberate.