Latest LQ Deal: Linux Power User 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 03-06-2006, 09:59 AM   #1
Registered: May 2004
Posts: 78

Rep: Reputation: 15
pop up a window


Is there any way to pop up a window displaying some text by using either bash script or c++ or both? I am using RHEL3.

Thanks a lot.
Old 03-06-2006, 10:43 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
in a console you can use "dialog", in gnome there's "zenity" which replaces gdialog. you may well also have luck with kdialog for kde and the generic xdialog.
Old 03-06-2006, 05:10 PM   #3
Registered: May 2004
Posts: 78

Original Poster
Rep: Reputation: 15
Thanks a lot. The "dialog" one is impressive. Is it possible to make it pup up like in the case of "gdialog"? Because if I run it in backgound, nothing will happen.
Old 03-06-2006, 08:13 PM   #4
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737Reputation: 737
When I faced this, I chose zenity---can't remember WHY--but zenity works like a charm.
Old 03-06-2006, 08:41 PM   #5
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 46
Zenity is real nice, shame about it's unnecessary gnome dependence
Old 03-07-2006, 04:30 AM   #6
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,578

Rep: Reputation: 112Reputation: 112
Try xdialog, which Chris suggested as one of the dialog programs. I found it to start fastest of the ones I tried (no need to load kdelibs first or anything else). It requires just minimal dependencies that every Linux system should have out of the box.
Old 03-07-2006, 08:01 AM   #7
Registered: May 2004
Posts: 78

Original Poster
Rep: Reputation: 15

Thanks a lot everybody. I am playing with Xdialog and zenity. These are nice.
Thanks again for your help.


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
tk pop up window is dead munichtexan Linux - Software 0 11-29-2005 09:26 PM
Pop up Window (do you know what it means) xpression Linux - Newbie 3 09-18-2005 10:16 AM
emacs, xemacs, No pop-window dt4stat Linux - Newbie 7 03-18-2005 06:41 PM
Look up record pop up window. agallant Programming 0 08-04-2004 09:25 AM
Mozilla disable the pop up window mikeshn Linux - Newbie 1 03-13-2002 02:03 PM

All times are GMT -5. The time now is 03:27 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