快门:终极 Linux 截图程序

小号hutter 是一个免费的、开源的、功能丰富的、终极的 Linux 截图程序截图工具,适用于 GNU/Linux 发行版。 当我为这个网站创建资源时,我经常使用这个工具,或者 我的 YouTube 频道,它还没有让我失望。

这个工具是一个用 perl 编写的 GTK+ 截图应用程序。 您可以截取特定区域、窗口、整个屏幕甚至网站的屏幕截图。 您可以对其应用不同的效果,在其上绘制以突出显示点,然后上传到图像托管站点,所有这些都在一个窗口中完成。

如何安装快门终极Linux截图程序?

只需键入以下 apt-get 命令/apt 命令即可在基于 Debian / Ubuntu Linux 的系统下安装快门:
$ sudo apt-get install shutter gnome-web-photo libgoo-canvas-perl

或者
$ sudo apt install shutter gnome-web-photo libgoo-canvas-perl

示例输出:

Fig,01: Install shutter using apt-get command

RHEL / CentOS / Fedora Linux 用户键入以下 yum 命令(开启
Fedora EPEL中断):

# yum install shutter

请参阅“如何在电脑上安装快门截图工具” Fedora Linux ”了解更多信息。

如何修复 Ubuntu Linux 18.04 LTS 中快门中禁用的编辑按钮

一些库丢失了,因为这个包没有随着时间的推移而更新并从版本 18.04 LTS 中删除。 但是,不要害怕,您可以按如下方式快速修复它。 您需要键入以下 wget 命令和 dpkg 命令/apt 命令:
$ sudo apt install shutter
$ wget https://launchpad.net/ubuntu/+archive/primary/+files/libgoocanvas-common_1.0.0-1_all.deb
$ wget https://launchpad.net/ubuntu/+archive/primary/+files/libgoocanvas3_1.0.0-1_amd64.deb
$ wget https://launchpad.net/ubuntu/+archive/primary/+files/libgoo-canvas-perl_0.06-2ubuntu3_amd64.deb
$ sudo dpkg -i *.deb
$ sudo apt --fix-broken install

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libextutils-depends-perl libextutils-pkgconfig-perl
The following NEW packages will be installed:
  libextutils-depends-perl libextutils-pkgconfig-perl
0 upgraded, 2 newly installed, 0 to remove and 21 not upgraded.
1 not fully installed or removed.
Need to get 24.7 kB of archives.
After this operation, 65.5 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://archive.ubuntu.com/ubuntu bionic/universe amd64 libextutils-depends-perl all 0.405-1 [15.5 kB]
Get:2 https://archive.ubuntu.com/ubuntu bionic/universe amd64 libextutils-pkgconfig-perl all 1.16-1 [9,260 B]
Fetched 24.7 kB in 1s (31.1 kB/s)                     
Selecting previously unselected package libextutils-depends-perl.
(Reading database ... 280309 files and directories currently installed.)
Preparing to unpack .../libextutils-depends-perl_0.405-1_all.deb ...
Unpacking libextutils-depends-perl (0.405-1) ...
Selecting previously unselected package libextutils-pkgconfig-perl.
Preparing to unpack .../libextutils-pkgconfig-perl_1.16-1_all.deb ...
Unpacking libextutils-pkgconfig-perl (1.16-1) ...
Setting up libextutils-depends-perl (0.405-1) ...
Setting up libextutils-pkgconfig-perl (1.16-1) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up libgoo-canvas-perl (0.06-2ubuntu3) ...

如何启动快门?

Captured a cascading menu using shutter

访问以下菜单选项:

应用 > 配件 > 快门

或者,您可以键入快门命令。 只需启动快门并直接对桌面进行全屏截图:
快门–满

您可以在窗口选择模式下启动快门以捕获特定窗口(您需要用鼠标选择一个窗口):
快门——窗口

最后,您可以在选择模式下启动快门,以便捕获屏幕的特定部分:
shutter --selection

默认情况下,快门将最小化并作为图标保留在系统托盘中。 您可以使用以下选项禁用系统托盘图标:
shutter --disable_systray
shutter --disable_systray --full

要捕获网页,请运行:
$ shutter --web=https://www.cyberciti.biz/ -e

示例输出:

Fig.03: How to capture a webpage from Linux command line

要查看有关所有其他可用选项的信息,请运行:

$ shutter --help

示例输出:

Usage:
    shutter [options]

Options:
    Example 1
            shutter -a -p=myprofile --min_at_startup

    Example 2
            shutter -s=100,100,300,300 -e

    Example 3
            shutter --window=.*firefox.*

    Example 4
            shutter --web=https://shutter-project.org/ -e

  Capture Mode Options:
    -s, --select=[X,Y,WIDTH,HEIGHT]
            Capture an area of the screen. Providing X,Y,WIDTH,HEIGHT is
            optional.

    -f, --full
            Capture the entire screen.

    -w, --window=[NAME_PATTERN]
            Select a window to capture. Providing a NAME_PATTERN (Perl-style
            regex) ist optional.

    -a, --active
            Capture the current active window.

    --section
            Capture a section. You will be able to select any child window
            by moving the mouse over it.

    -m, --menu
            Capture a menu.

    -t, --tooltip
            Capture a tooltip.

    --web=[URL]
            Capture a webpage. Providing an URL ist optional.

    -r, --redo
            Redo last screenshot.

  Settings Options:
    -p, --profile=NAME
            Load a specific profile on startup.

    -o, --output=FILENAME
            Specify a filename to save the screenshot to (overwrites any
            profile-related setting).

            Supported image formats: You can save to any popular image
            format (e.g. jpeg, png, gif, bmp). Additionally it is possible
            to 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 = counter

            The string is interpretted by strftime. See "man strftime" for
            more examples.

            As an example: shutter -f -e -o './%y-%m-%d_$w_$h.png' would
            create a file named '11-10-28_1280_800.png' in the current
            directory.

    -d, --delay=SECONDS
            Wait n seconds before taking a screenshot.

    -c, --include_cursor
            Include cursor when taking a screenshot.

    -C, --remove_cursor
            Remove cursor when taking a screenshot.

  Application Options:
    -h, --help
            Prints a brief help message and exits.

    -v, --version
            Prints version information.

    --debug Prints a lot of debugging information to STDOUT.

    --clear_cache
            Clears cache, e.g. installed plugins, at startup.

    --min_at_startup
            Starts Shutter minimized to tray.

    --disable_systray
            Disables systray icon.

    -e, --exit_after_capture
            Exit after the first capture has been made. This is useful when
            using Shutter in scripts.

    -n, --no_session
            Do not add the screenshot to the session. This is useful when
            using Shutter in scripts.

终极 Linux 截图程序的截图

Shutter screenshot default window

Shutter drawing tool

Shutter plugins



Shutter plugines

Shutter plugines effects

3d rotate effect



Shutter all plugines

Shutter 3d effects

Shutter plugines effects


(截图来源:官方项目和nixCraft)

查看相关媒体

一个快速视频演示,解释如何使用快门程序捕捉屏幕、窗口和应用效果:

也可以看看

  • 想通过 GIMP(Linux 上的 photoshop 替代方案)提高您的工作效率吗? 试试这些额外的插件或扩展集。 了解如何在 Linux 上安装或编译 GIMP 过滤器/插件/扩展

结论

我非常喜欢这个简单的工具。