LinuxQuestions.org
Review your favorite Linux distribution.
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 03-06-2006, 09:59 AM   #1
manojg
Member
 
Registered: May 2004
Posts: 78

Rep: Reputation: 15
pop up a window


Hi,

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.
Manojg
 
Old 03-06-2006, 10:43 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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
manojg
Member
 
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
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 48
Zenity is real nice, shame about it's unnecessary gnome dependence
 
Old 03-07-2006, 04:30 AM   #6
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
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
manojg
Member
 
Registered: May 2004
Posts: 78

Original Poster
Rep: Reputation: 15
Lightbulb

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


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration