問題タブ [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.

0 投票する
1 に答える
578 参照

keyboard - キーにバインドされている場合、xdotool が i3wm で機能しない

xdotoolいくつかのキーボード入力を行うために使用するスクリプトを作成しました。ここ
でスクリプトを見つけることができます(スクリプトの名前は です)。pop_mpv.sh

ターミナルから実行するとスクリプトは完全に機能しますが、スクリプトをキーにバインドすると正しく機能しません。

これは私がi3構成に入れたものです:

i3wm ユーザーガイドによると、私は を使用している--releaseため、使用する必要がありますxdotoolhttps://i3wm.org/docs/userguide.html#keybindings

この質問で提案されていることを試しましたが、うまくいきませんでした。

編集xclip実行に必要なスクリプトに追加するのを忘れていました