Openbox mousebindsはPointer_Button1とPointer_Button3の再マッピングを認識しません。

Openbox mousebindsはPointer_Button1とPointer_Button3の再マッピングを認識しません。

openboxのウィンドウのタイトルバーでマウスの左右のボタンを押すと、後者は影に焦点を合わせて上げ、キャンセルします。この動作は、openboxの次のマウスバインドによって提供されます。rc.xml構成ファイル:

<mouse>
  <context name="Titlebar">
    <mousebind button="Left" action="Press">
      <action name="Focus"/>
      <action name="Raise"/>
      <action name="Unshade"/>
    </mousebind>
    <mousebind button="Right" action="Press">
      <action name="Focus"/>
      <action name="Raise"/>
      <action name="Unshade"/>
    </mousebind>
  </context>
<mouse>

次に、AltGr+u左右のAltGr+oマウスボタンを再マップします。

xmodmap -e "keycode  30 = u U u U Pointer_Button1 uparrow downarrow uparrow u U downarrow uparrow"
xmodmap -e "keycode  32 = o O o O Pointer_Button3 Oslash oslash Oslash o O oslash Oslash"

ディスプレイの再マッピングは、項目またはテキストを選択してメニューを開き、ウィンドウクライアントで機能します。

それにもかかわらず、オープンボックスのマウスバインディングは再マッピングでは機能しません。つまり、タイトルバーのポインタをタップAltGr+uしたりAltGr+o結合したりすると、ウィンドウは実際のマウスボタンを押したときのようにピントを合わせたり上げたりしません。影をキャンセルします。

これらの再マッピングでマウスバインディングを機能させるにはどうすればよいですか?

ベストアンサー1

おすすめ記事