目录

  • Linux/Ubuntu 18.04 截图软件Shutter详细教程,包括启用Edit功能,延时截图等
    • 安装Shutter
    • 指令介绍
    • 设置常用快捷键
    • 启用Edit功能
    • 延时截图
      • 方法1
      • 方法2
      • 方法3
  • Ctrl Alt A会与Terminator 的 hide window 冲突

Linux/Ubuntu 18.04 截图软件Shutter详细教程,包括启用Edit功能,延时截图等

安装Shutter

sudo add-apt-repository ppa:shutter/ppa
sudo apt-get update
sudo apt-get install shutter

安装完成后搜索shutter就可以打开了,主界面里面的 Selection 是用鼠标框选指定区域并截屏,Window 是截取某个窗口。

指令介绍

在终端中可以用 shutter -h 查看指令

$ shutter -h
Usage:shutter [options]Options:Example 1shutter -a -p=myprofile --min_at_startupExample 2shutter -s=100,100,300,300 -eExample 3shutter --window=.*firefox.*Example 4shutter --web=http://shutter-project.org/ -eCapture Mode Options:-s, --select=[X,Y,WIDTH,HEIGHT]Capture an area of the screen. Providing X,Y,WIDTH,HEIGHT isoptional.-f, --fullCapture the entire screen.-w, --window=[NAME_PATTERN]Select a window to capture. Providing a NAME_PATTERN (Perl-styleregex) ist optional.-a, --activeCapture the current active window.--sectionCapture a section. You will be able to select any child windowby moving the mouse over it.-m, --menuCapture a menu.-t, --tooltipCapture a tooltip.--web=[URL]Capture a webpage. Providing an URL ist optional.-r, --redoRedo last screenshot.Settings Options:-p, --profile=NAMELoad a specific profile on startup.-o, --output=FILENAMESpecify a filename to save the screenshot to (overwrites anyprofile-related setting).Supported image formats: You can save to any popular imageformat (e.g. jpeg, png, gif, bmp). Additionally it is possibleto save to pdf, ps or svg.Please note: There are several wildcards available, like%Y = year%m = month%d = day%T = time$w = width$h = height$name = multi-purpose (e.g. window title)$nb_name = like $name but without blanks in resulting strings$profile = name of current profile$R = random char (e.g. $RRRR = ag4r)%NN = counterThe string is interpretted by strftime. See "man strftime" formore examples.As an example: shutter -f -e -o './%y-%m-%d_$w_$h.png' wouldcreate a file named '11-10-28_1280_800.png' in the currentdirectory.-d, --delay=SECONDSWait n seconds before taking a screenshot.-c, --include_cursorInclude cursor when taking a screenshot.-C, --remove_cursorRemove cursor when taking a screenshot.Application Options:-h, --helpPrints a brief help message and exits.-v, --versionPrints version information.--debug Prints a lot of debugging information to STDOUT.--clear_cacheClears cache, e.g. installed plugins, at startup.--min_at_startupStarts Shutter minimized to tray.--disable_systrayDisables systray icon.-e, --exit_after_captureExit after the first capture has been made. This is useful whenusing Shutter in scripts.-n, --no_sessionDo not add the screenshot to the session. This is useful whenusing Shutter in scripts.

可以发现常用指令有

Command Action
shutter -s 截取鼠标选取的区域
shutter -f 截取全屏
shutter -w 截取指定窗口
shutter -a 截取当前活动窗口
shutter -s -d=SECONDS 延时SECONDS秒,截取鼠标选取的区域

设置常用快捷键

知晓了上面的指令我们就可以设置快捷键了,搜索 “Shortkey” 或 ”Shortcut",或者打开 “Settings" -> “Keyboard” 可以打开快捷键设置,移动到最下方的 “Custom Shortcuts”,点 “+” 进行添加,“Name”写一个能认识的名字,“Command”写想要添加的指令,比如 shutter -s,然后再 “Set Shortcut” 添加快捷键,因为平时用QQ习惯了,所以就添加Ctrl + Alt + A 作为截取选取区域的快捷键。如图

启用Edit功能

Ubuntu 18的Shutter的Edit功能被关闭了,原因是Shutter需要的 libgoo-canvas-perl library在Ubuntu 18.04中不支持了,但是我们可以自行安装。首先需要下载这三个包:

  • libgoocanvas-common: https://launchpad.net/ubuntu/+archive/primary/+files/libgoocanvas-common_1.0.0-1_all.deb
  • libgoocanvas3: https://launchpad.net/ubuntu/+archive/primary/+files/libgoocanvas3_1.0.0-1_amd64.deb
  • libgoo-canvas-perl: https://launchpad.net/ubuntu/+archive/primary/+files/libgoo-canvas-perl_0.06-2ubuntu3_amd64.deb

进行安装

sudo dpkg -i libgoocanvas-common_1.0.0-1_all.deb
sudo dpkg -i libgoocanvas3_1.0.0-1_amd64.deb
sudo apt-get -f install
sudo dpkg -i libgoo-canvas-perl_0.06-2ubuntu3_amd64.deb
sudo apt-get -f install

就可以启用编辑Edit了

延时截图

方法1

在“指令介绍”中提到了,可以在command后面加上 -p=SECONDS 进行SECONDS秒的延迟截图,不过我们还有几个方法进行延时截图。

方法2

在主界面的右下角可以设置延迟时间(可能需要重启才能生效)

方法3

一般来说,我们需要延迟截取的是像菜单Menu这样的区域(此情况下用不了或者快捷键失效),我们可以去到Shutter的 “Edit” -> " Preferences" -> “Advanced” 里面找到 “Menu/Tooltip Capture"设置延时

每当我们用 “File” -> “New” -> “Menu” 的时候就会延迟10s(或者你设置的时间),给你足够时间去打开一个Menu,然后Shutter会自动把Menu给截取,如下图

Ctrl Alt A会与Terminator 的 hide window 冲突

去到Terminator的Preferences里面的Keybindings里面找到hide window这个快捷键,虽然快捷键绑定的是Shitf + Ctrl + Alt + A ,但是不知道为什么用Ctrl + Alt + A 也一样可以激活,直接把这个disable掉(点击修改后按Backspace)或者换其他快捷键。

Linux/Ubuntu 18.04 截图软件Shutter详细教程,包括启用图片编辑Edit功能,延时截图等相关推荐

  1. 台式机下成功在windows10的基础上安装Ubuntu 18.04 LTS 系统(详细教程)

    台式机成功在windows10的基础上安装Ubuntu 18.04 LTS 系统 1 前言 因为工作缘故经常需要使用windows和ubuntu两个不同的计算机系统,因此想把实验室的台式机安装成双系统 ...

  2. 在Linux Ubuntu 18.04.x上安装和配置ActiveMQ-Artemis

    目录 假设/期望 Linux命令和Vim "root"用户 背景 面向消息的中间件(MoM) 为什么要使用MoM? Apache ActiveMQ Artemis Artemis支 ...

  3. Linux Ubuntu 18.04 LTS安装指南

    Linux Ubuntu 18.04 LTS安装指南 最近在倒腾Linux, 写一个安装指南, 以后备用. 1. Linux Ubuntu系统安装 下载Linux Ubuntu 18.04 LTS 版 ...

  4. Ubuntu 16.04 一系列软件安装命令,包括QQ、搜狗

    2019独角兽企业重金招聘Python工程师标准>>> Ubuntu 16.04 一系列软件安装命令,包括QQ.搜狗.Chrome.vlc.网易云音乐安装方法 2016年07月20日 ...

  5. Ubuntu 18.04 安装 微信、QQ 教程+常见问题处理办法(亲测有用)

    Ubuntu 18.04 安装微信.QQ教程,亲测有用!!! 一.安装deepin-wine环境 sudo git clone https://gitee.com/wszqkzqk/deepin-wi ...

  6. linux完美卸载编译的php,互联网常识:Linux(Ubuntu)安装和完美卸载PHP7详细教程

    跟大家讲解下有关Linux(Ubuntu)安装和完美卸载PHP7详细教程,相信小伙伴们对这个话题应该也很关注吧,现在就为小伙伴们说说Linux(Ubuntu)安装和完美卸载PHP7详细教程,小编也收集 ...

  7. Linux - Ubuntu 18.04 网络配置(YAML)

    文章目录 背景 YAML 注意事项 数据类型 对象 数组 纯量 复合结构 引用 严格类型 静态IP 动态IP 配置生效 查看ip 参考鸣谢 背景 Ubuntu 18.04 不再使用 ifupdown ...

  8. 【ROS】在 Ubuntu 20.04 安装 ROS 的详细教程

    ROS安装指南 目录 ROS安装指南 前言 一.配置Linux清华镜像源 1.1 介绍 1.2 开始配置 二.安装ROS 2.1 ROS的介绍 2.1 开始安装:配置公钥 2.2 系统更新 2.3 安 ...

  9. ubuntu 18.04 安装惠普打印机教程

    在自己公司的局域网内,咨询当前楼层的打印机ip地址与打印机名字.(打印机是否需要验证账户等). 电脑上根据ip地址先查询设备,然后添加. 添加完之后选择下载对应的打印机的驱动.比如惠普的Linux发行 ...

最新文章

  1. vector 不是模板
  2. 万维网发布服务 w3svc 已停止 除非万维_W3C万维网联盟宣布停止发布HTML 5.3版
  3. 权限 粒度化 到 系统 部门 部门及子部门 个人用户
  4. 牛客题霸 [合并二叉树] C++题解/答案
  5. java udp 同一个端口实现收发_Java网络编程之UDP协议
  6. 磊哥最近面试了好多人,聊聊我的感受!(附面试知识点)
  7. 计算机网络 第六章 链路层与局域网
  8. DotNet控件缩写
  9. 限时删!我亲自整理一套目标检测、卷积神经网络和OpenCV学习资料(教程/PPT/代码)...
  10. LabVIEW--为控件添加说明信息
  11. Android源码分析:Activity启动流程
  12. 东京disney sea流水账 2
  13. 数字化、数字化营销及其重要性的思考
  14. 苹果电脑语音听写的问题(电话中间加-,或者想要大写应该怎么设置呢)
  15. mian()方法;代码块
  16. 冒泡排序c语言子程序,C语言之冒泡排序算法
  17. 系统非功能需求(质量属性)
  18. 大数据时代--风控系统
  19. Android 6.0权限请求相关及权限分组
  20. PHPExcel导出表格乱码解决

热门文章

  1. 平价无线充电宝哪个牌子好?平价好用的无线充电宝推荐
  2. 操作系统:Java模拟CPU调度算法(非抢占短进程优先、可抢占优先权调度、多级反馈队列调度)
  3. pydicom 安装与使用
  4. HTML前端(一)----DIV布局
  5. 最新版NASA官方网站数据下载流程——以MODIS数据演示为例
  6. DigitalPersona Personal 4 x86 下载
  7. sqlserver 数据库优化工具,安全性设置,并发设置,SQL耗时优化
  8. 一文教你看懂Fama-French三因子模型
  9. 用NCL将GRIB/GRIB2文件转成nc文件(批量转),JRA-55再分析为例
  10. 全网最详细SUMO仿真软件教程——入门篇