Ubuntu being my most used operating system at the moment, i explored if i could get custom notifications to pop up notifying me of something to do. So i found two ways to accomplish this with the terminal or any other application that could execute a command. The two ways i found were “zenity” and “notify-send”. Lets see what we can do with these commands.
Both of these are terminal commands so you can either setup delays to execute these commands on your Terminal or use applications like KAlarm or KTimer (available on software-center) to setup multiple notification according to your need. KTimer is straightforward and allows easy usage of timers and command execution, but KAlarm allows more features and options you might like.
zenity –info –text=”Time for meeting”
The notification would pop up a windows with your notifications like this:
You can use notify-send to create default notifications like on Ubuntu. But these notification will vanish after some moments and you’ll miss those notification if you’re not actively using the system. You can use these on KTimer or KAlarm to create multiple notification as per your need. The simple command to get those notification is:
notify-send “Title” “Message” -i \icon.png
The notify-send –help option shows basic usage. More examples can be found here.
Title is for the heading of the notification and Message is for your message to be shown. -i is to show a icon with that notification. No need for any screen shots with notify-send as it is the same as the default Ubuntu notification you might have seen a lot of times already.
Let us know what you think in the comments.