Schedule Notifications With Libnotify and At

FAIL (the browser should render some flash content, not this).

Using the Tech Tip from Kristofer Occhipinti yesterday, Shawn shows us how to make quick reminder pop-ups.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

" at> <EOT>" ?

Antonio's picture

Hi! Thank you for this tip.

But i don't comprehend how type thid command:

"at> EOT"

EOT stand for "End Of Text" ?

Thanks.

Ctrl D

Mitch Frazier's picture

Use Control-D, the at command then echos back <EOT>. Control-D is used to signal end-of-file. As I recall, EOT means End-Of-Tape. I've also seen it used for End-Of-Transmission.

Mitch Frazier is an Associate Editor for Linux Journal.

I like how Shawn avoids

Kris Occhipinti (A.K.A. Metalx1000)'s picture

I like how Shawn avoids saying my last name, haha :)
I'm glade Shawn used my tip in a video.
I hope it helps people.

Ha!

Shawn Powers's picture

Caught that, eh? :)

I was hoping phonetically at least your first name sounded like "Christopher" -- but I likely butchered that too. :)

Thanks for the tip, I'm thrilled it works with the at scheduler, even though it is a GUI app. Often cron/at don't interact well with Xwindows, but in this case it worked great.

Shawn Powers is an Associate Editor for Linux Journal. You might find him chatting on the IRC channel, or Twitter

set Display

Kris Occhipinti (A.K.A. Metalx1000)'s picture

I was surprised it worked that way too.
But, if you do want to use "at" with a GUI app you just need to set the DISPLAY first.

If you do this it will run xterm in the background:

at 12:55
at> xterm

But, if you do this the windows will appear to the user:

at 12:55
at> DISPLAY=:0.0 xterm