<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tmtms</author_name>
  <author_url>https://blog.hatena.ne.jp/tmtms/</author_url>
  <blog_title>tmtms のメモ</blog_title>
  <blog_url>https://blog.tmtms.net/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Kubuntu</anon>
  </categories>
  <description>Linux デスクトップ上で自作のキーリマッパー Rkremap を使ってるんだけど、アプリごとに異なるキーマップにするために X11 の機能を使ってるので、Wayland だと動かない。 前の記事でアクティブウィンドウが切り替わったときに KWin Script で何かする方法はわかった。 けど、情報を外部アプリに渡すために、ファイルに書いたりソケット通信したりコマンドを実行したりする方法はなさそうだった。唯一使えそうなのが callDBus で、DBus を使ったプロセス間通信だった。 DBus については何もわかってなかったんだけど、ruby-dbus というのを使えば Ruby からで…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmtms.net%2Fentry%2F202509%2Fruby-dbus&quot; title=&quot;Ruby で DBus サーバーを作る - tmtms のメモ&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>2025-09-28 20:13:00</published>
  <title>Ruby で DBus サーバーを作る</title>
  <type>rich</type>
  <url>https://blog.tmtms.net/entry/202509/ruby-dbus</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
