View Full Version : [gnome] [bash] Popup/alert window?
linkmaster03
July 31st, 2008, 11:17 PM
How can I spawn a popup/alert window from a terminal? I am on GNOME.
ConMan318
July 31st, 2008, 11:31 PM
Read up on 'xmessage'.
man xmessage
unutbu
July 31st, 2008, 11:33 PM
zenity --error --text 'Hi linkmaster03!' or
zenity --info --text 'Hi linkmaster03!' or
zenity --warning --text 'Hi linkmaster03!'
For more options, type
man zenity
linkmaster03
July 31st, 2008, 11:47 PM
Thanks unutbu, that's exactly what I was looking for! :D :D
ferarg
August 19th, 2009, 07:24 AM
Great Info, I didn't know that this soft, zenity, exist!
Thanks a lot
-= FErArg =-
www.FErArg.com
www.SerInformaticos.es
Tibuda
August 19th, 2009, 07:28 AM
If you want to popup a notification, you can install libnotify-bin (apt:libnotify-bin) and use notify-send.
r.lopez.negrete
March 18th, 2010, 12:17 PM
Hi all,
Is there any way I can have this popup appear at login?
thanks,
Rodrigo
pareshverma91
August 4th, 2010, 01:04 AM
hi @^,
You could do this by modifying the startup processes.
You could first make a bash script of it
#! /bin/bash
{then your code as mentioned above}make it executable usingchmod 777 filenameNow, go to System > Preferences > Startup Applications
Click on the Add button.
Fill in the any desired name and browse in the file location in the command tab (basically you would end up with a command sth as /<somepath>/filename).
And you are done with it.
(You could also make it a command by moving the file to /usr/bin folder)
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.