Gromit-MPX: make annotations on the screen 桌面涂鸦
发表于 : 2015-06-05 17:44
https://github.com/bk138/gromit-mpx
自己编译 git 版本的
不安装,直接复制到 usr/bin 下 (保留旧版本)
修改桌面快捷方式为 [sudo apt-get install gromit-mpx , 添加快捷方式到桌面]
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_".
Gromit-mpx 在 X230T
配置文件 ~/.config/gromit-mpx.cfg
Remark: X230T
自己编译 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.