https://github.com/bk138/gromit-mpx自己编译 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
不安装,直接复制到 usr/bin 下 (保留旧版本)
代码:
sudo cp ~/gromit-mpx/src/gromit-mpx /usr/bin/gromit-mpx-git
附件:
文件注释: bin file for Ubuntu 14.04 X64
gromit-mpx.7z [53.87 KiB]
被下载 73 次
修改桌面快捷方式为 [sudo apt-get install gromit-mpx , 添加快捷方式到桌面]
代码:
gromit-mpx-git --key Pause --undo-key Print
Remark: key name to a key value: The names are the same as those in the <gdk/gdkkeysyms.h> header file but without the leading "GDK_KEY_".
代码:
https://git.gnome.org/browse/gtk+/plain/gdk/gdkkeysyms.h
Gromit-mpx 在 X230T
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.