打造讲课演示笔记本神器: Gromit-MPX for Thinkpad Yoga 12 2015 屏幕自由涂鸦

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

打造讲课演示笔记本神器: Gromit-MPX for Thinkpad Yoga 12 2015 屏幕自由涂鸦

#1

帖子 maxchen » 2015-12-23 15:23

先前一个给普通 手写笔 涂鸦 的介绍 viewtopic.php?f=94&t=470636

这里介绍的是专门给 Yoga 12, (实际上,对 X230T等也适合) 键盘缺失Break/Pause 等按键
• Fn+B: Has the same function as the Break key.
• Fn+P: Has the same function as the Pause key.
• Fn+S: Has the same function as the SysRq key.
• Fn+K: Has the same function as the ScrLK key.


在 Ubuntu 14.04.3 + mate 1.8.2系统上

代码: 全选

sudo apt-get install gromit-mpx
否则没有 panel 上面的图标

安装,采用 github 上的 Yoga12 分支,我创建和维护的分支, swap shortcut key for "clear screen" and "toggle visibility", 同时,清屏时退出涂鸦模式(master分支,清屏不退出涂鸦模式;而触发涂鸦层不可见,再进入涂鸦状态时,先前的涂鸦不清除)

代码: 全选

sudo apt-get install git build-essential autoconf
sudo apt-get install libgtk-3-dev
git clone -b Yoga12 https://github.com/maxchendt/gromit-mpx.git
cd gromit-mpx
autoreconf --install
./configure 
make
测试

代码: 全选

./gromit-mpx --key Pause --undo-key Delete
按键提醒
Fn+P Pause按键 painting
Fn+B Break按键[Ctrl+Pause] clear screen and exit painting
Fn+SHIFT-P Shift+Pause按键 toggle visibility
Delete 实现 undo
SHIFT-Delete 恢复上一次 undo
成功后

代码: 全选

sudo cp gromit-mpx /usr/local/bin/gromit-mpx-Yoga
有时候,我用 Escape 来实现 undo

代码: 全选

./gromit-mpx --key Pause --undo-key Escape
此时
Esc 实现 undo
SHIFT-Esc: redo last undone stroke
最后,桌面创建launch,Applications -> Graphics -> Gromit-MPX 点击右键,选择 Add this launch to desktop. 再修改 命令为

代码: 全选

/usr/local/bin/gromit-mpx-Yoga --key Pause --undo-key Escape
kexiao
帖子: 1
注册时间: 2015-12-24 17:45

Re: 打造讲课演示笔记本神器: Gromit-MPX for Thinkpad Yoga 12 2015 屏幕自由涂

#3

帖子 kexiao » 2015-12-24 17:56

支持一下 :Adore

--------------
气相色谱仪www.cqkexiao.com
maxchen
帖子: 77
注册时间: 2009-12-05 20:03

Re: 打造讲课演示笔记本神器: Gromit-MPX for Thinkpad Yoga 12 2015 屏幕自由涂

#4

帖子 maxchen » 2016-08-16 21:29

更新了,可以制作deb包了,参见 viewtopic.php?f=94&t=470636&start=3

deb 包直接下载地址 download/file.php?id=184462 for Ubuntu 14.04 and 16.04, X64.
回复