Gromit-MPX: make annotations on the screen 桌面涂鸦

各种窗口管理器和美化相关
回复
maxchen
帖子: 77
注册时间: 2009-12-05 20:03

Gromit-MPX: make annotations on the screen 桌面涂鸦

#1

帖子 maxchen » 2015-06-05 17:44

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
gromit-mpx.7z
bin file for Ubuntu 14.04 X64
(53.87 KiB) 已下载 156 次
修改桌面快捷方式为 [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.
maxchen
帖子: 77
注册时间: 2009-12-05 20:03

Re: Gromit-MPX: make annotations on the screen 桌面涂鸦

#2

帖子 maxchen » 2015-06-05 23:15

录制了8分钟的屏幕视频,https://youtu.be/DxJk3K3iJqE 希望对大家有帮助(建议观看时关闭声音)
头像
eagle5678
帖子: 1865
注册时间: 2006-07-08 14:07

Re: Gromit-MPX: make annotations on the screen 桌面涂鸦

#3

帖子 eagle5678 » 2015-06-21 21:22

X11
maxchen
帖子: 77
注册时间: 2009-12-05 20:03

Re: Gromit-MPX: make annotations on the screen 桌面涂鸦

#4

帖子 maxchen » 2016-08-09 8:52

可以制作deb包了,参见
https://github.com/maxchendt/gromit-mpx

代码: 全选

sudo apt-get install --no-install-recommends git build-essential dh-autoreconf libgtk-3-dev
git clone -b Yoga12 https://github.com/maxchendt/gromit-mpx.git
cd gromit-mpx
dpkg-buildpackage -b -us -uc -i
cd ..
sudo dpkg -i gromit-mpx*.deb
快捷键为 F10, undokey 为 Pause.

最新源代码: https://github.com/maxchendt/gromit-mpx ... 1.4.tar.gz
gromit-mpx_1.1.4-1_amd64.deb
在U16.04编译,测试在 U16.04, U14.04 都正常。
F10触发涂鸦模式, undokey 为 Pause
(28.61 KiB) 已下载 347 次
回复