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 完成設置