LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 02-24-2004, 04:19 AM   #1
peb
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

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

Thanks
peb
 
Old 02-24-2004, 06:51 AM   #2
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Rep: Reputation: 32
Dont know if this will help u to do everything u need but there try command "xmessage"
 
Old 02-24-2004, 11:49 AM   #3
lugoteehalt
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, 03:14 AM   #4
peb
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
peb
 
  


Reply


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 01:10 AM
shell error messages not displayed as a message box!!! user222 Linux - General 10 10-25-2004 01:11 AM
Password Message Box when accessing linux box from Window Machine mikeccs Linux - Networking 1 08-04-2004 05:47 AM
[SHELL SCRIPT] Write at the right of the shell window Creak Linux - General 2 04-02-2004 03:00 PM
login message shell script? jczr2 Linux - Newbie 22 05-28-2003 09:10 PM


All times are GMT -5. The time now is 09:43 AM.

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