LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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,394

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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: 46
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: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,517

Rep: Reputation: 90
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


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