executor icon indicating copy to clipboard operation
executor copied to clipboard

Use case: Beep Timer

Open peter-lyons-kehl opened this issue 2 years ago • 1 comments

First: Thank you Jonas. So practical and flexible.

If you choose to implement #60 first, I'm willing to provide a PR for this use case.

I'm using this in place of (discontinued) Beep Timer extension for short (20-30 sec) cycle of "Stay on track" alerts (not replacing, but in addition to Pomodoro).

  1. Install mplayer, or any other player that can be started from shell.

  2. Get the sounds you like. For example, download from https://github.com/gnome-pomodoro/gnome-pomodoro/tree/master/data/sounds or clone that repo:

mkdir GIT
cd GIT
git clone https://github.com/gnome-pomodoro/gnome-pomodoro
  1. Then invoke it in Executor, for example: mplayer -ao pulse -nolirc -volume 60 GIT/gnome-pomodoro/data/sounds/bell.ogg > /dev/null.

If you like fine grain sound volume control, use -ao pulse. That applies the given volume, multiplied (divided) by the overall System Volume (as shown in the standard GNOME Settings application).

To the contrary, -ao alsa takes the given volume, and resets the System Volume to that value!

Of course, if you use it at the same time as Pomodoro extension, you may want them to use different sounds.

peter-lyons-kehl avatar Mar 18 '23 20:03 peter-lyons-kehl

@peter-kehl #60 is closed now, so if you're still interested I'd appreciate you documenting this :blush: I'll also look for the orignial command for the other example and add it as well.

raujonas avatar Apr 01 '24 07:04 raujonas