Sub topic 3
Choosing a Timer and Setting Up Your Workspace
This chapter covers the practical setup for a Pomodoro session: which timer to use, how to prepare your workspace, and how to check that your setup works. It assumes you know the basic cycle from the previous chapter: a 25-minute work interval, a 5-minute break, and a 15-minute break after every fourth pomodoro. It also assumes you keep some kind of to-do list and have access to a timer such as a kitchen timer, a phone, or an app.
What a timer must do
The timer has one job: mark the end of an interval so you do not have to watch the clock. If you check the time to see how much is left, you are no longer focused on the task. A good timer for this technique meets these needs:
- It runs a fixed interval and rings clearly at the end.
- It starts with one action, so beginning a pomodoro costs almost no effort.
- It is easy to stop or void when something forces you to abandon the interval.
- It does not pull your attention elsewhere while it runs.
The last point matters most. A timer on a phone can also show notifications, messages, and social media. If the device itself is the distraction, a different timer is the better choice.
Comparing timer options
| Option | Strengths | Weaknesses |
|---|---|---|
| Mechanical kitchen timer | Winding it is a clear ritual. The ticking and the ring make the interval physical. No screen. | Some are loud. Most do not track completed pomodoros. |
| Phone timer | Always with you. Free. Can run several named timers. | Notifications and apps compete for your attention. |
| Dedicated Pomodoro app | Handles the full cycle of work, short break, and long break. Many log completed pomodoros. | Another app to open. Features can tempt you to tweak settings instead of working. |
| Script in a terminal | Fully under your control. Fits a developer's workflow. | Only works while the terminal stays open. Needs a bell or notification to be noticed. |
No option is best for everyone. Pick the one that adds the least friction, and change it if you notice yourself avoiding it.
A simple command-line timer
If you work in a terminal, a short script is enough to run a session. The script below follows the standard cycle. It prints a bell character at the end of each interval so that most terminals beep or flash.
import time
WORK_MIN = 25
SHORT_BREAK_MIN = 5
LONG_BREAK_MIN = 15
CYCLES_BEFORE_LONG_BREAK = 4
def countdown(minutes, label):
print(f"{label}: {minutes} min")
time.sleep(minutes * 60)
print("\a", end="", flush=True)
def run_session(task, pomodoros=4):
for i in range(1, pomodoros + 1):
countdown(WORK_MIN, f"Pomodoro {i} on '{task}'")
if i % CYCLES_BEFORE_LONG_BREAK == 0:
countdown(LONG_BREAK_MIN, "Long break")
else:
countdown(SHORT_BREAK_MIN, "Short break")
if __name__ == "__main__":
run_session("write report")The constants at the top hold the interval lengths, so you can change them in one place. The i % CYCLES_BEFORE_LONG_BREAK == 0 test picks the long break after every fourth pomodoro. Note that time.sleep blocks the program, and pressing Ctrl+C stops the whole session. That matches the rule that an interrupted pomodoro is void, but the script does not record the void interval for you. Tracking is covered in a later chapter.
Setting up your workspace
A timer only marks time. The workspace decides whether you can use the interval. Prepare these items before you start the first pomodoro of the day:
- Choose the task. Pick one task from your list and write it where you can see it. One pomodoro serves one task.
- Close what you do not need. Quit your email client, chat windows, and unrelated browser tabs. Keep only the files and tools the task requires.
- Silence notifications. Use a do-not-disturb mode on your computer and phone. Turn off sounds and banners, not only the badges.
- Gather materials. Have documents, notes, water, and anything else you need within reach. Looking for a missing item mid-interval breaks your focus.
- Prepare a scratch sheet. Keep a sheet of paper or a text file beside you for jotting down stray thoughts. The interruptions chapter explains how to use it.
Checking your setup
Run a short test before relying on the setup. Start the timer for one minute and check that:
- You can hear or see the alert from where you sit.
- Starting and stopping the timer takes one or two actions.
- No notification appears while it runs.
If any check fails, fix it now. An alert you miss turns a 25-minute interval into an open-ended one, and the structure of the technique depends on fixed intervals.
Common setup mistakes
- Changing tools too often. Trying a new app each week replaces work with experimenting. Keep one timer for at least two weeks before judging it.
- Relying on a quiet alert. A soft chime is easy to miss when you are absorbed. Choose a sound you will notice.
- Skipping the scratch sheet. Without it, a stray thought becomes either a distraction you act on or a worry you hold in your head.
- Setting up inside the interval. This shortens your real working time.
Exercise
Your phone is your only timer, but you keep losing pomodoros to message notifications. Name two changes you could make, and say which of the two keeps the timer on the same device.
Show answer
One change is to turn on do-not-disturb mode, which keeps the phone as the timer and removes the notifications. The other is to move to a different timer, such as a kitchen timer or a desktop app, so the phone stays out of reach. Do-not-disturb is the option that keeps the timer on the same device.
Exercise
In the command-line script, which line makes the long break happen after every fourth pomodoro, and what would you change to get a long break after every third?
Show answer
The line is if i % CYCLES_BEFORE_LONG_BREAK == 0:. Change the constant to CYCLES_BEFORE_LONG_BREAK = 3.