自己编译 git 版本的
代码: 全选
sudo apt-get install git build-essential autoconf
git clone https://github.com/bk138/gromit-mpx.git
cd gromit-mpx
autoreconf --install
sudo apt-get install libgtk-3-dev
./configure
make
代码: 全选
sudo cp ~/gromit-mpx/src/gromit-mpx /usr/bin/gromit-mpx-git
代码: 全选
gromit-mpx-git --key Pause --undo-key Print
代码: 全选
https://git.gnome.org/browse/gtk+/plain/gdk/gdkkeysyms.h
- Fn+P Pause painting
PrtScr/Fn+S PrtScr/SysRq undo
Fn+B Break, 测试效果,相当于 Ctrl+Pause toggle visibility
配置文件 ~/.config/gromit-mpx.cfg
代码: 全选
# Default gromit-mpx configuration
# taken from Totem's telestrator mode config
# added default entries
"red Pen" = PEN (size=2.3 color="#da2832" minsize=2.3);
#"red Pen" = PEN (size=4 color="#da2832");
"black Pen" = "red Pen" (color="black");
"blue Pen" = "red Pen" (color="blue");
"yellow Pen" = "red Pen" (color="yellow");
"green Pen" = "red Pen" (color="green");
"green Marker" = PEN (size=5 color="green" arrowsize=1);
"Eraser" = ERASER (size = 12);
"default" = "red Pen";
"default"[ALT] = "black Pen";
"default"[CONTROL] = "blue Pen";
#"default"[Button3] = "green Pen";
"default"[SHIFT] = "green Marker";
"default"[3] = "Eraser";
Remark: X230T
- Fn+B Has the same function as the Break key on a conventional keyboard.
Fn+K Has the same function as the ScrLK key on a conventional keyboard.
Fn+P Has the same function as the Pause key on a conventional keyboard.
Fn+S Has the same function as the SysRq key on a conventional keyboard.