I tried alarm-clock-applet
but i have to set up several countdown and i cannot launch them together, is however useful.
I would an app that let me use an only timer with multiple alarms. For example 30s+45s+60s+45s+120s (that aren' t countdowns) that i can launch wiht one click or even better set up to repeat X times.
Is possible maybe with some script? (An app would be better).
Best Answer
multi-timer
bash scriptThe
multi-timer
bash script works in Ubuntu versions 14.04, 16.04 and 18.04. It also works in Windows 10 with Ubuntu 16.04 Desktop installed.Features
Requires
yad
packagesudo apt install yad
Notebook Configuration Tab
yad
(Yet Another Dialog) has a feature that allowsmulti-timer
fields to be divided between two separate panels accessed within one window via notebook tabs.The Configuration Tab lets you:
Notebook Timers Tab
The Timers Tab allows you to:
Progress Bar Display
As
multi-timer
counts down progress bars are used for:Bash Script
Copy and paste the bash script below to filename
multi-timer
. I suggest the directory/home/<your_user_name>/bin/
. Afterwards mark the script as executable using:Changing number of Timers
At line number 78, 79 and 80 you will see this:
Although 19 timers are supported, they might only fit on a 1920x1080 screen. About 17 (the default setting) will fit on the average 1024x768 screen. If you have Super VGA with 800x600 resolution you might only get 13 to 15 timers.
You must change the values on lines 85 & 86 at the same time:
eg If you want a maximum of 12 timers, set
TMR_DURATION_NDX=25
andMAX_TIMERS=12
.After changing the Index and Maximum save the
multi-timer
file. If you have already run the program once a configuration file may have been created and it will have to be deleted. Use this command to remove the old configuration file:Note that
~/
is a short cut to your home directory, ie/home/your_user_name/
.Bash code for
multi-timer
Sysmonitor Indicator Interface
You can have the System Tray / Application Indicator Area update with the time remaining along with a "spinning text pizza" as illustrated in the GIF in above the bash listing.
To setup Sysmonitor Indicator see this Q&A: Can BASH display in systray as application indicator?