ubuntu由于一些原因,没有在windows上那样有众多的截图工具,但也由于ubuntu自身的开放的因素,可以尽情的进行设置。下面介绍一个使用ubuntu自带的工具实现了自由截图的功能。
系统:ubuntu18.04
idealcitier@lee:~/code$ uname -a
Linux lee 4.18.0-17-generic #18~18.04.1-Ubuntu SMP Fri Mar 15 15:27:12 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
工具:gnome-screenshot
idealcitier@lee:~/code$ gnome-screenshot -h
Usage:
gnome-screenshot [OPTION…]
Help Options:
-h, --help Show help options
--help-all Show all help options
--help-gapplication Show GApplication options
--help-gtk Show GTK+ Options
Application Options:
-c, --clipboard Send the grab directly to the clipboard
-w, --window Grab a window instead of the entire screen
-a, --area Grab an area of the screen instead of the entire screen
-b, --include-border Include the window border with the screenshot
-B, --remove-border Remove the window border from the screenshot
-p, --include-pointer Include the pointer with the screenshot
-d, --delay=seconds Take screenshot after specified delay [in seconds]
-e, --border-effect=effect Effect to add to the border (shadow, border, vintage or none)
-i, --interactive Interactively set options
-f, --file=filename Save screenshot directly to this file
--version Print version information and exit
--display=DISPLAY X display to use
通过上面的介绍可以看出使用gnome-screenshot -a
实现自由截图的功能,若能设置为快捷键就更加的方便了,截图保存在Pictures下。
下面介绍ubuntu18.04快捷键的设置
找到keyboard
点击下方的“+”
设置如下
设置快捷键
点击set shortcut
设置自己想要的快捷键,在这里设置为ctrl+alt+a
,在windows下的QQ就是这样的快捷键,设置一个符合自己习惯的。
Add 完成设置