forked from caarlos0-graveyard/up
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
layout: post | ||
title: "Simple timer in Ubuntu Unity" | ||
category: posts | ||
--- | ||
|
||
From time to time I like to make a tea during my play with notebook but I don't want to constantly check clock whether time is up to pick out tea bag from the cup. I found out that there is no simple timer app in Ubuntu Unity. | ||
Thanks to Linux we have `at` command which can schedule any action on system and `notify-send` command which can display notification desktop. By combination of both we have very elegant and easy to use timer without necessity to install anything. | ||
|
||
|
||
## How to set timer to 10 minutes ahead? | ||
|
||
Run terminal (Ctrl-Alt-T) and type | ||
|
||
at now + 10 minutes | ||
|
||
you will get into `at` prompt and you can schedule notification in next 10 minutes | ||
|
||
notify-send "Pick out tea bag :)" | ||
|
||
And now, just wait 10 minutes and you once time is up, you will see notification on your desktop. | ||
|