0

In Linux, specifically Ubuntu, is there a way to set a simple command to alert me at a specific time? preferably w/ a pop-up so I won't miss it.

Perhaps pair some command w/ "at" ?

veilig
  • 961

2 Answers2

3

You have to edit a file called cron that let you run things at specific times. For information about how to use it run man cronon a terminal and read the examples at wikipedia.

Edit cron to run a bash at the times when you need.

The bash file should looks like this

zenity --info --text 'You alert message'

The message will look like this:

enter image description here

0

I would favour libnotify in combination with indicator-notification applet so you won't miss any notifications. To install both:

sudo add-apt-repository ppa:jconti/recent-notifications
sudo apt-get update
sudo apt-get install libnotify-bin indicator-notifications

And finally login and logout. Now you should be able to use notify-send to send notifications. This works easy as long as you send yourself notifications. For sending notifications to other users this is a bit challenging, but especially for root to you there is no problem by using a proper DBUS_SESSION_BUS_ADDRESS.

Please not this notifications arent modal.

math
  • 2,693