Ubuntu – program that can put some kind of visual notification on the screen for use with the alarm clock app

gnomenotificationsoftware-recommendation

I use the 'alarm-clock-applet' to notify me every so often to take a break from looking at my screen and give my eyes a bit of a rest. The interface is clunky, but it works.

One issue I'm having, though, is that sometimes I don't notice when it goes off. The indicator icon in the Gnome panel (I use Flashback) turns yellow, but it's easy to miss.

It can be set to play a sound, but I'm often using my laptop in public settings where having an alarm go off at regular intervals wouldn't be acceptable.

The program does offer me the option of running a command when the alarm goes off. It would be great if I could set something that maybe placed notice on my screen that I couldn't ignore, or overlayed a transparent red over everthing, or something like that. I'm open to ideas, the point just being that it should be something that there is no way I can ignore it.

Is there any command I can run that would create some kind of completely blatant visual notification?

Best Answer

Install compizconfig-settings-manager

sudo apt-get install compizconfig-settings-manager

Open CCSM and go to Effects -> Wizard, choose some key combination to turn it on/off.

enter image description here

For me it is Ctrl+Shift+Alt+W.

enter image description here

Don't forget to enable Wizard.

Now you can try it. Press Ctrl+Shift+Alt+W to turn on/off animation.

I hope this is enough blatant for you.

Do Alarm

Now go to terminal, And run:

xdotool key ctrl+shift+alt+w

If you want to run it every 20 minutes, just add this command to crontab, with exporting DISPLAY variable.

execute crontab -e, and add this line

20 * * * * export DISPLAY=:0.0 && xdotool key ctrl+alt+shift+w

May be it would be better to turn off this effects automatically, especially if you are away from computer.

This command will do the same, but after 20 seconds it turns off.

20 * * * * export DISPLAY=:0.0 && xdotool key ctrl+alt+shift+w && sleep 20 && xdotool key ctrl+alt+shift+w