LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   running xprop in an xterm (https://www.linuxquestions.org/questions/linux-newbie-8/running-xprop-in-an-xterm-142375/)

paledread 02-04-2004 06:12 PM

running xprop in an xterm
 
How to run a term window from a window manager menu, run xprop in the term, and have the term stay open to show the results when xprop is used.

xterm -e xprop

runs the term and allows the use of xprop, but closes the term immediately after xprop is used, so that the results are not seen.

tia.

slakmagik 02-05-2004 10:19 PM

xterm -hold -e <command> - then close it with the wm's windowing controls. It's in the man page.

Maybe also try 'xmessage' if you want.

mikshaw 02-05-2004 11:55 PM

Another option is

xterm -e xprop &> filename

then see what's in "filename" after you close xprop


All times are GMT -5. The time now is 12:52 PM.