問題タブ [xdotool]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
keyboard - キーにバインドされている場合、xdotool が i3wm で機能しない
xdotool
いくつかのキーボード入力を行うために使用するスクリプトを作成しました。ここ
でスクリプトを見つけることができます(スクリプトの名前は です)。pop_mpv.sh
ターミナルから実行するとスクリプトは完全に機能しますが、スクリプトをキーにバインドすると正しく機能しません。
これは私がi3構成に入れたものです:
i3wm ユーザーガイドによると、私は を使用している--release
ため、使用する必要がありますxdotool
。
https://i3wm.org/docs/userguide.html#keybindings
この質問で提案されていることを試しましたが、うまくいきませんでした。
編集xclip
実行に必要なスクリプトに追加するのを忘れていました