<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>SPR</author_name>
  <author_url>https://blog.hatena.ne.jp/SPR/</author_url>
  <blog_title>SPRの日記（*BSDとかLinuxとかの覚え書き）</blog_title>
  <blog_url>https://spr.hatenadiary.org/</blog_url>
  <categories>
    <anon>FreeBSD</anon>
    <anon>Linux</anon>
    <anon>コマンド</anon>
  </categories>
  <description>xwdコマンドを使ってスクリーンショットを撮るメモ。 xwdは、「-root」オプションを付けるとマウスの入力を待たずにスクリーンショットを撮る。 xwdコマンドを入れた直後にスクリーンショットを撮ってしまうので、事前にsleepコマンドを入れるといい。 画像は標準出力に出るので、ImageMagicに付いてるconvertコマンドで適当なフォーマットに変換する。 $ sleep 5 ; xwd -root &gt; temp.xwd $ convert temp.xwd hoge.png ★パイプを使って１行で済ませる方法 convertコマンドは、入力ファイルの部分を「-」（マイナス）にすると、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fspr.hatenadiary.org%2Fentry%2F20061231%2F1167585870&quot; title=&quot;xwdコマンドでスクリーンショットを撮る - SPRの日記（*BSDとかLinuxとかの覚え書き）&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2006-12-31 02:24:30</published>
  <title>xwdコマンドでスクリーンショットを撮る</title>
  <type>rich</type>
  <url>https://spr.hatenadiary.org/entry/20061231/1167585870</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
