[英]Bind touch gestures to gnome-terminal in i3
I'm trying to bind 2 touch gestures to go back and forth through the vim history in gnome terminal run against i3-wm, but have no luck:我正在尝试通过 gnome 终端中针对 i3-wm 运行的 vim 历史来回将 2 个触摸手势绑定到 go,但没有运气:
<application name="gnome-terminal">
<gesture type="DRAG" fingers="3" direction="RIGHT">
<action type="SEND_KEYS">Control+o</action>
</gesture>
<gesture type="DRAG" fingers="3" direction="LEFT">
<action type="SEND_KEYS">Control+i</action>
</gesture>
</application>
I can't figure out application name to match by.我不知道要匹配的应用程序名称。 I've checked output for both
xwininfo
and xprop
, but neither Terminal
, gnome-terminal
or even gnome-terminal-server
is working.我已经检查了
xwininfo
的 xwininfo 和xprop
,但是Terminal
, gnome-terminal
甚至gnome-terminal-server
都没有工作。
To solve it, need to use Gnome-terminal
name with capital 'G', as it's mentioned in xprop
output:要解决它,需要使用带有大写“G”的
Gnome-terminal
名称,如xprop
output 中所述:
...
WM_CLASS(STRING) = "gnome-terminal-server", "Gnome-terminal"
...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.