- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to snapshot a gui window
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 12:54 PM
05-30-2003 12:54 PM
I wanted to snapshot a gui window of a software, and save to a file. how do i do that?
thanks in advance.
Zhou
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 01:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 01:01 PM
05-30-2003 01:01 PM
Re: how to snapshot a gui window
$ man xpr
$ man xwd
The xwd allow you to dump an x window image to a file and xpr prints it. All I know and used quite a lot is xv. You may want to download it.
http://www.trilon.com/xv/whatisxv.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 01:13 PM
05-30-2003 01:13 PM
Re: how to snapshot a gui window
I do have xwd, But how do I use it? how do I actually dump the window though?
zhou
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 01:19 PM
05-30-2003 01:19 PM
Re: how to snapshot a gui window
$ cd /tmp
$ xwd -out myscreen
==> At this point your cursor will turn to a "plus" sign. Drag your mouse to the frame of the window you want to capture and click it. The file "myscreen" will contain the dump image. You can then view it with ..
$ xwud -in myscreen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 01:21 PM
05-30-2003 01:21 PM
Re: how to snapshot a gui window
Run xwd with -out argument.
$xwd -out /tmp/xwd.out
Then click the target window.
You can view the file back using xwud
$xwud -in /tmp/xwd.out
To print the xwd dump file, use "xpr".
$xpr -device ps /tmp/xwd.out |lp -ops -dyour_printername
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 01:23 PM
05-30-2003 01:23 PM
Re: how to snapshot a gui window
1) Open a terminal session:
xwd -out /tmp/myimage
xwd will just sit there. Now move the mouse to the desired window and click. You will hear one beep (dump starting) and then two beeps (done).
The data is captured in /tmp/image and xwd terminates.
2) To print: (This example is a LaserJet)
xpr -device ljet /tmp/myimage | lp -dmyprinter
Man xwd, xpr for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 01:25 PM
05-30-2003 01:25 PM
Re: how to snapshot a gui window
xwd -out myscreen
I got message:
unable to open display ''
Please help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 01:32 PM
05-30-2003 01:32 PM
Re: how to snapshot a gui window
Your display variable is not set to access the local X server.
DO
$who -m
(note down the IP address|hostname in the last field. If you haven't directly logged onto the box from here, then find out the IP address of the local system).
$DISPLAY=(IP ADDRESSS):0.0
$export DISPLAY
$/usr/X/bin/xwd
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 01:36 PM
05-30-2003 01:36 PM
Re: how to snapshot a gui window
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 09:17 PM
05-30-2003 09:17 PM
Re: how to snapshot a gui window
You need to export the DISPLAY variable with the IP address of the workstation.
Secondly on the workstation you must execute the command "xhost +" , then only you can open an X-window session.
Regards'
Suhas