快捷键设置绑定软件包
在安装完成后,输入以下命令后,输入希望设置的快捷键,会跳出一个模板,在“”中输入此快捷键要实现的命令,用于写入.xbindkeysrc文件中
xbindkeys -k
Press combination of keys or/and click under the window.
You can use one of the two lines after "NoCommand"in $HOME/.xbindkeysrc to bind a key.
"(Scheme function)"
m:0x18 + c:41
Alt+Mod2 + f
在使用前需要在终端运行(可将其放入自启动文件中)
xbindkeys
sudo apt install xbindkeys
xbindkeys --defaults > $HOME/.xbindkeysrc
使用命令行xev | grep button 呼出一个窗口 把想要识别按键按下,控制台就会有对应的数字出来 一般鼠标左键是1 中键是 2 右键是3等等。
键盘映射在刚刚的 .xbindkeysrc 末尾加上 对应的代码