适合 WM 的截图脚本(2015-11-16 更新)
发表于 : 2012-03-06 17:17
截图后,自动保存到一临时文件并用 gpicview 打开,此时可「另存」,可直接关闭以丢弃。
选项说明:
Openbox 配置示例:
延时截图对话框:
丑,GTK3 缺省主题。 SHA256: 5c7be5902f34f1825f664a4fd53d4b9918c7782ea1db64a6e8c8dfcfd63249a5
依赖的系统所属包(Debian / Ubuntu): gpicview, scrot, yad|dialog|whiptail
选项说明:
代码: 全选
--delay 延时,弹出对话框问时间
--form 窗体,仅窗体本身,不含标题栏、边框
--window 窗口,含窗体、标题栏、边框
--fullscreen 全屏
--select 选区,拖放选择区域,单击选择窗体
代码: 全选
<!-- Print screen -->
<keybind key="Print">
<action name="Execute">
<command>printscreen --select</command>
</action>
</keybind>
<keybind key="A-Print">
<action name="Execute">
<command>printscreen --window</command>
</action>
</keybind>
<keybind key="C-Print">
<action name="Execute">
<command>printscreen --form</command>
</action>
</keybind>
<keybind key="W-Print">
<action name="Execute">
<command>printscreen --fullscreen</command>
</action>
</keybind>
<keybind key="S-Print">
<action name="Execute">
<command>printscreen --delay</command>
</action>
</keybind>
丑,GTK3 缺省主题。 SHA256: 5c7be5902f34f1825f664a4fd53d4b9918c7782ea1db64a6e8c8dfcfd63249a5
依赖的系统所属包(Debian / Ubuntu): gpicview, scrot, yad|dialog|whiptail