Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-24-2004, 05:19 AM   #1
LQ Newbie
Registered: Nov 2003
Location: Melbourne, Australia
Distribution: mandrake 9.2
Posts: 12

Rep: Reputation: 0
how to produce pop-up message box / alert window from shell script

I just want a command I can call from a shell script to produce an alert window perhaps with a click to close or yes / no / cancel - like Windows' messagebox (sorry) , so I can do things like

if [ whatever ] then popup-messagebox "whatever has happened!"
This must be easy if you know what to do!

Old 02-24-2004, 07:51 AM   #2
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Rep: Reputation: 33
Dont know if this will help u to do everything u need but there try command "xmessage"
Old 02-24-2004, 12:49 PM   #3
Senior Member
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
In a terminal there is a thing you can install that does a variety of boxes and things. It may be in there already. Is it called 'dialog'.??

There is another thing which usually has a sort of big advert and demo for itself already installed. Soryy can't remember its name.
Old 02-25-2004, 04:14 AM   #4
LQ Newbie
Registered: Nov 2003
Location: Melbourne, Australia
Distribution: mandrake 9.2
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for that. Couldn't find xmessage, and coudn't get dialog to look nice, but looking for xmessage I found "gxmessage" (a gtk form of xmessage apparently) & that does exactly what I want - very neat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Exiting the Shell script with Error MEssage sumitarun Programming 5 04-14-2005 02:10 AM
shell error messages not displayed as a message box!!! user222 Linux - General 10 10-25-2004 02:11 AM
Password Message Box when accessing linux box from Window Machine mikeccs Linux - Networking 1 08-04-2004 06:47 AM
[SHELL SCRIPT] Write at the right of the shell window Creak Linux - General 2 04-02-2004 04:00 PM
login message shell script? jczr2 Linux - Newbie 22 05-28-2003 10:10 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration