From 36c8a5f52fcb75d719272c23765929104e2bcaad Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 19 May 2011 12:09:01 -0400 Subject: [PATCH] Update xwd calls in X-hacks post. --- posts/X_hacks.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posts/X_hacks.mdwn b/posts/X_hacks.mdwn index ed3b2e0..f823d0d 100644 --- a/posts/X_hacks.mdwn +++ b/posts/X_hacks.mdwn @@ -19,11 +19,11 @@ Here are some examples: Grab whole desktop as a png: - $ xwd -root -silent - | convert - root.png + $ xwd -root -silent -out /dev/stdout | convert - root.png Grab single window as a png: - $ xwd -id windowid -silent - | convert - win.png + $ xwd -id windowid -silent -out /dev/stdout | convert - win.png Determine which window has the focus: -- 2.26.2