LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   pop up a window (https://www.linuxquestions.org/questions/linux-newbie-8/pop-up-a-window-422154/)

manojg 03-06-2006 09:59 AM

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

acid_kewpie 03-06-2006 10:43 AM

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.

manojg 03-06-2006 05:10 PM

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.

pixellany 03-06-2006 08:13 PM

When I faced this, I chose zenity---can't remember WHY--but zenity works like a charm.

alienDog 03-06-2006 08:41 PM

Zenity is real nice, shame about it's unnecessary gnome dependence :(

titopoquito 03-07-2006 04:30 AM

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.

manojg 03-07-2006 08:01 AM

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


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