<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>xdotool on Christian Knedel</title>
    <link>https://www.christian-knedel.de/ja/tags/xdotool/</link>
    <description>Recent content in xdotool on Christian Knedel</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>ja-jp</language>
    <lastBuildDate>Sun, 04 Apr 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://www.christian-knedel.de/ja/tags/xdotool/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>ショートストーリー：xDoToolsとxClipによるデスクトップコントロール</title>
      <link>https://www.christian-knedel.de/ja/post/2021/april/20210404-xdotools-xclip/</link>
      <pubDate>Sun, 04 Apr 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/ja/post/2021/april/20210404-xdotools-xclip/</guid>
      <description>このチュートリアルでは、Bashを使用してLinux - デスクトップを制御する方法を紹介します。Bashロボットに必要なパッケージは以下の通りです。 x  &amp;ndash;  +   Terminal   $ apt-get install xdotool xclip   その後、例えば、すべての xdotool コマンドを使用することができます。
#!/bin/bash #mouse bewegen xdotool mousemove 100 200 #Mouse - Koordinaten erfassen xdotool getmouselocation #Mouse-klick xdotool click 1 Mouse-Klick auf Koordinaten xdotool mousemove 100 200 click 1 #usw... 次の例では、Firefoxのウィンドウを検索して、Ubuntuのアドレスで新しいタブを開いています。
WID=$(xdotool search firefox | head -n1) ## Window-ID von Firefox ermitteln xdotool windowactivate $WID xdotool key &amp;quot;ctrl+t&amp;quot; ## neuen Reiter öffnen xdotool key &amp;quot;ctrl+l&amp;quot; ## Fokussieren der Adressleiste xdotool type --delay 100 &amp;quot;ubuntuusers.</description>
    </item>
    
  </channel>
</rss>
