{"id":66596,"date":"2022-08-20T09:00:30","date_gmt":"2022-08-20T09:00:30","guid":{"rendered":"https:\/\/www.cryptocabaret.com\/?p=66596"},"modified":"2022-08-20T09:00:30","modified_gmt":"2022-08-20T09:00:30","slug":"whats-your-favorite-screenshot-tool-on-linux","status":"publish","type":"post","link":"https:\/\/www.cryptocabaret.com\/?p=66596","title":{"rendered":"What&#8217;s your favorite screenshot tool on Linux?"},"content":{"rendered":"<p><span class=\"field field--name-title field--type-string field--label-hidden\">What&#8217;s your favorite screenshot tool on Linux?<\/span><br \/>\n<span class=\"field field--name-uid field--type-entity-reference field--label-hidden\"><a title=\"View user profile.\" href=\"https:\/\/opensource.com\/users\/amyjune\" class=\"username\">AmyJune Hineline<\/a><\/span><br \/>\n<span class=\"field field--name-created field--type-created field--label-hidden\">Sat, 08\/20\/2022 &#8211; 03:00<\/span><\/p>\n<div data-drupal-selector=\"rate-node-70145\" class=\"rate-widget-thumbs-up\" title=\"Register or Login to like.\">\n<div class=\"rate-thumbs-up-btn-up vote-pending\"><a href=\"https:\/\/opensource.com\/user\/register\">Register<\/a> or <a href=\"https:\/\/opensource.com\/user\/login?current=\/rss.xml\">Login<\/a> to like<\/div>\n<div class=\"rate-score\"><a href=\"https:\/\/opensource.com\/user\/register\">Register<\/a> or <a href=\"https:\/\/opensource.com\/user\/login?current=\/rss.xml\">Login<\/a> to like<\/div>\n<\/div>\n<div class=\"clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item\">\n<p>As the saying goes, a picture is worth a thousand words, and while that&#8217;s not always the case with terminal commands and code, it still holds true for the graphical desktop. Screenshots capture precisely what&#8217;s on your screen. I love taking them to have a record of who attends meetings, so I don&#8217;t have to write it down at the moment. Or to capture a bug when doing UI testing. We all take them for different reasons, though, and there are more ways to take a screenshot than you might at first think.<\/p>\n<p>I started thinking about screenshots after Jim Hall wrote an <a href=\"https:\/\/opensource.com\/\" target=\"_blank\" rel=\"noopener\">article listing GNOME screenshots, GIMP, and Firefox<\/a> as the ways he often takes screenshots. And yet that&#8217;s just the beginning, as I quickly found out when I asked Opensource.com authors how they each take screenshots.<\/p>\n<h2>Making a spectacle<\/h2>\n<article class=\"align-center media media--type-image media--view-mode-default\">\n<div class=\"field field--name-field-media-image field--type-image field--label-hidden field__item\">  <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/opensource.com\/sites\/default\/files\/2022-08\/screenshot-spectacle.webp\" width=\"840\" height=\"465\" alt=\"Spectacle\"><\/div>\n<div class=\"field field--name-field-caption field--type-text-long field--label-hidden caption field__item\"><span class=\"caption__byline\">Image by: <\/span><\/p>\n<p>(Seth Kenlon, CC BY-SA 4.0)<\/p>\n<\/div>\n<\/article>\n<p>I use Spectacle. It works perfectly for my simple needs.<\/p>\n<p><strong>\u2014<a href=\"https:\/\/opensource.com\/users\/dboth\" target=\"_blank\" rel=\"noopener\">David Both<\/a><\/strong><\/p>\n<\/p>\n<div class=\"embedded-resource-list callout-float-right\">\n<div class=\"field field--name-title field--type-string field--label-hidden field__item\">More Linux resources<\/div>\n<div class=\"field field--name-links field--type-link field--label-hidden field__items\">\n<div class=\"field__item\"><a href=\"https:\/\/developers.redhat.com\/cheat-sheets\/linux-commands-cheat-sheet\/?intcmp=70160000000h1jYAAQ\">Linux commands cheat sheet<\/a><\/div>\n<div class=\"field__item\"><a href=\"https:\/\/developers.redhat.com\/cheat-sheets\/advanced-linux-commands\/?intcmp=70160000000h1jYAAQ\">Advanced Linux commands cheat sheet<\/a><\/div>\n<div class=\"field__item\"><a href=\"https:\/\/www.redhat.com\/en\/services\/training\/rh024-red-hat-linux-technical-overview?intcmp=70160000000h1jYAAQ\">Free online course: RHEL technical overview<\/a><\/div>\n<div class=\"field__item\"><a href=\"https:\/\/opensource.com\/downloads\/cheat-sheet-networking?intcmp=70160000000h1jYAAQ\">Linux networking cheat sheet<\/a><\/div>\n<div class=\"field__item\"><a href=\"https:\/\/opensource.com\/downloads\/cheat-sheet-selinux?intcmp=70160000000h1jYAAQ\">SELinux cheat sheet<\/a><\/div>\n<div class=\"field__item\"><a href=\"https:\/\/opensource.com\/downloads\/linux-common-commands-cheat-sheet?intcmp=70160000000h1jYAAQ\">Linux common commands cheat sheet<\/a><\/div>\n<div class=\"field__item\"><a href=\"https:\/\/opensource.com\/resources\/what-are-linux-containers?intcmp=70160000000h1jYAAQ\">What are Linux containers?<\/a><\/div>\n<div class=\"field__item\"><a href=\"https:\/\/opensource.com\/tags\/linux?intcmp=70160000000h1jYAAQ\">Our latest Linux articles<\/a><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p>I use KDE. It ships with Spectacle, which seems to be responsible for taking a screenshot when I push the <strong>PrtScr<\/strong> (Print Screen) key.<\/p>\n<p>A nice feature is that the default action is to take a screenshot immediately when you press <strong>PrtScr<\/strong>, but then it brings up the Spectacle interface, so you can take more sophisticated screenshots (a rectangular area, the window under your cursor, and so on.)<\/p>\n<p><strong>\u2014<a href=\"https:\/\/opensource.com\/users\/greg-p\" target=\"_blank\" rel=\"noopener\">Greg Pittman<\/a><\/strong><\/p>\n<h2>Framing the shot<\/h2>\n<p>For a long time I had wanted to capture only a small amount of the screen in a screenshot, not the whole thing, but struggled to know how.<\/p>\n<p>Since then I&#8217;ve installed KolourPaint. I open the full screenshot inside the program, and cut out the part I want to keep. Hope this could help others suffering the same screenshot dilemma!<\/p>\n<p><strong>\u2014<a href=\"https:\/\/opensource.com\/users\/laurence-urhegyi\" target=\"_blank\" rel=\"noopener\">Laurence Urhegyi<\/a><\/strong><\/p>\n<p>I use <strong>Shift<\/strong>+<strong>PrtSc<\/strong> to capture a small amount of the screen in a screenshot.<\/p>\n<p><strong>\u2014<a href=\"https:\/\/opensource.com\/users\/agantony\" target=\"_blank\" rel=\"noopener\">Agil Antony<\/a><\/strong><\/p>\n<h2>Emacs<\/h2>\n<p>A while back I created an <a href=\"https:\/\/gitlab.com\/psachin\/emacs.d\/-\/blob\/dev\/custom_functions.org\" target=\"_blank\" rel=\"noopener\">Elisp function<\/a> to take a screenshot from Emacs.<\/p>\n<p><strong>\u2014<a href=\"https:\/\/opensource.com\/users\/psachin\" target=\"_blank\" rel=\"noopener\">Sachin Patil<\/a><\/strong><\/p>\n<h2>Flameshot<\/h2>\n<article class=\"align-center media media--type-image media--view-mode-default\">\n<div class=\"field field--name-field-media-image field--type-image field--label-hidden field__item\">  <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/opensource.com\/sites\/default\/files\/2022-08\/screenshot-flameshot.webp\" width=\"583\" height=\"331\" alt=\"Flameshot\"><\/div>\n<div class=\"field field--name-field-caption field--type-text-long field--label-hidden caption field__item\"><span class=\"caption__byline\">Image by: <\/span><\/p>\n<p>(Seth Kenlon, CC BY-SA 4.0)<\/p>\n<\/div>\n<\/article>\n<p><a href=\"https:\/\/github.com\/flameshot-org\/flameshot\" target=\"_blank\" rel=\"noopener\">Flameshot<\/a>, the one and only! Nothing is missing in this wonderful tool: doodling, arrows, adding text, a pixelate tool for blurring out sensitive information, an autoincrementing counter bubble, save, copy, the ability to open the screenshot in a selected application, and the list goes on and on. Once I installed it, I&#8217;ve never looked for anything else!<\/p>\n<p>A friendly hint: when installing from Flatpak, you might want to use <a href=\"https:\/\/flathub.org\/apps\/details\/com.github.tchx84.Flatseal\" target=\"_blank\" rel=\"noopener\">Flatseal<\/a> to grant access to your home folder, otherwise the Save dialog will feel somewhat empty.<\/p>\n<p><strong>\u2014<a href=\"https:\/\/opensource.com\/users\/tomasz\" target=\"_blank\" rel=\"noopener\">Tomasz Waraksa<\/a><\/strong><\/p>\n<h2>ImageMagick<\/h2>\n<pre>\n<div class=\"geshifilter\"><div class=\"bash geshifilter-bash\"><span class=\"co0\">#!\/bin\/bash<\/span><br><span class=\"re2\">current<\/span>=$<span class=\"br0\">(<\/span><span class=\"kw2\">date<\/span> +<span class=\"sy0\">%<\/span>H-<span class=\"sy0\">%<\/span>M-<span class=\"sy0\">%<\/span>S-<span class=\"sy0\">%<\/span>d-<span class=\"sy0\">%<\/span>m-<span class=\"sy0\">%<\/span>Y<span class=\"br0\">)<\/span>.png<br><span class=\"kw1\">if<\/span> <span class=\"br0\">[<\/span><span class=\"br0\">[<\/span> <span class=\"re5\">-z<\/span> <span class=\"st0\">\"<span class=\"es3\">${1}<\/span>\"<\/span> <span class=\"br0\">]<\/span><span class=\"br0\">]<\/span>; <span class=\"kw1\">then<\/span><br>\n\u00a0 \u00a0import <span class=\"re5\">-window<\/span> root <span class=\"st0\">\"<span class=\"es3\">${HOME}<\/span>\/<span class=\"es3\">${current}<\/span>\"<\/span> <span class=\"co0\"># All screen<\/span><br><span class=\"kw1\">else<\/span><br>\n\u00a0 \u00a0import <span class=\"st0\">\"<span class=\"es3\">${HOME}<\/span>\/<span class=\"es3\">${current}<\/span>\"<\/span> <span class=\"co0\"># Custom screenshot<\/span><br><span class=\"kw1\">fi<\/span><br><br>\nnotify-send <span class=\"st0\">\"Screenshot <span class=\"es3\">${current}<\/span> taken successfully!\"<\/span><\/div><\/div><\/pre>\n<p><strong>\u2014Suporte Terminal Root<\/strong><\/p>\n<h2>GNOME<\/h2>\n<article class=\"align-center media media--type-image media--view-mode-default\">\n<div class=\"field field--name-field-media-image field--type-image field--label-hidden field__item\">  <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/opensource.com\/sites\/default\/files\/2022-08\/screenshot-gnome_0.webp\" width=\"408\" height=\"347\" alt=\"GNOME Screenshot\"><\/div>\n<div class=\"field field--name-field-caption field--type-text-long field--label-hidden caption field__item\"><span class=\"caption__byline\">Image by: <\/span><\/p>\n<p>(Seth Kenlon, CC BY-SA 4.0)<\/p>\n<\/div>\n<\/article>\n<p>As a mostly GNOME Desktop user, I was happy taking screenshots with the regular <strong>PrtSc<\/strong>, <strong>Ctrl<\/strong>+<strong>PrtSc<\/strong>, or <strong>Shift<\/strong>+<strong>PrtSc<\/strong> keys. My favorite is <strong>Shift<\/strong> because it allows me to select an area of the screen.<\/p>\n<p>Recently, GNOME recently introduced an improved screenshot tool when you simply hit <strong>PrtSc<\/strong>. I haven&#8217;t even used it that much yet, so I&#8217;m looking forward to trying it out thoroughly on some future articles.<\/p>\n<p><strong>\u2014<a href=\"https:\/\/opensource.com\/users\/alanfdoss\" target=\"_blank\" rel=\"noopener\">Alan Formy-Duval<\/a><\/strong><\/p>\n<p>As a satisfied GNOME user, I&#8217;ve been using the built-in screenshot tool. With the older version, I would screenshot a window with <strong>Shift<\/strong>+<strong>PrtSc<\/strong>. Now I just use <strong>PrtSc<\/strong> and select the region with the tool. I like the new one better, but if I had to go back to the old, that&#8217;d be OK too.<\/p>\n<p><strong>\u2014<a href=\"https:\/\/opensource.com\/users\/clhermansen\" target=\"_blank\" rel=\"noopener\">Chris Hermansen<\/a><\/strong><\/p>\n<h2>XFCE Screenshooter<\/h2>\n<article class=\"align-center media media--type-image media--view-mode-default\">\n<div class=\"field field--name-field-media-image field--type-image field--label-hidden field__item\">  <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/opensource.com\/sites\/default\/files\/2022-08\/screenshot-screenshooter.webp\" width=\"456\" height=\"272\" alt=\"XFCE Screenshooter\"><\/div>\n<div class=\"field field--name-field-caption field--type-text-long field--label-hidden caption field__item\"><span class=\"caption__byline\">Image by: <\/span><\/p>\n<p>(Seth Kenlon, CC BY-SA 4.0)<\/p>\n<\/div>\n<\/article>\n<p>I&#8217;ve been using XFCE lately, and <strong>xfce4-screenshooter<\/strong> has been doing an excellent job. Like the rest of XFCE, it&#8217;s minimal but highly functional, with options to capture the entire screen, the active window, or just a region. You can even activate or deactivate whether the mouse cursor is included in the shot.<\/p>\n<p><strong>\u2014<a href=\"https:\/\/opensource.com\/users\/klaatu\" target=\"_blank\" rel=\"noopener\">Klaatu<\/a><\/strong><\/p>\n<h2>Grim and Slurp<\/h2>\n<p>I have a fun little alias that I use for screenshots:<\/p>\n<pre>\n<span class=\"geshifilter\"><code class=\"bash geshifilter-bash\"><span class=\"kw3\">alias<\/span> <span class=\"re2\">sshot<\/span>=<span class=\"st_h\">'; grim -g \"$(slurp)\" screenshot-$(date +%s).png 2&gt; \/dev\/null'<\/span><\/code><\/span><\/pre>\n<p>It lets me draw a rectangle on my screen, and it captures just that area. The command uses <strong>grim<\/strong> and <strong>slurp<\/strong>, both available in the Fedora repos.<\/p>\n<p>But this only works on Wayland. On X11, you can replace them with <strong>maim<\/strong> and <strong>scrot<\/strong>.<\/p>\n<p><strong>\u2014<a href=\"https:\/\/opensource.com\/users\/saud\" target=\"_blank\" rel=\"noopener\">Mohammed Saud<\/a><\/strong><\/p>\n<h2>Your screenshot tool<\/h2>\n<p>What&#8217;s your screenshot tool of choice? Tell us in the comments!<\/p>\n<\/div>\n<div class=\"clearfix text-formatted field field--name-field-article-subhead field--type-text-long field--label-hidden field__item\">\n<p>There are many open source screenshot tools to choose from, but which one works for you?<\/p>\n<\/div>\n<div class=\"field field--name-field-lead-image field--type-entity-reference field--label-hidden field__item\">\n<article class=\"media media--type-image media--view-mode-caption\">\n<div class=\"field field--name-field-media-image field--type-image field--label-hidden field__item\">  <img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.cryptocabaret.com\/wp-content\/uploads\/2022\/08\/browser_desktop_website_checklist_metrics.png\" width=\"520\" height=\"292\" alt=\"Browser of things\" title=\"Browser of things\"><\/div>\n<\/article>\n<\/div>\n<div class=\"field field--name-field-tags field--type-entity-reference field--label-hidden field__items\">\n<div class=\"field__item\"><a href=\"https:\/\/opensource.com\/tags\/linux\" hreflang=\"en\">Linux<\/a><\/div>\n<div class=\"field__item\"><a href=\"https:\/\/opensource.com\/tags\/opensourcecom-community\" hreflang=\"en\">Opensource.com community<\/a><\/div>\n<\/p><\/div>\n<div class=\"field field--name-field-related-poll field--type-entity-reference field--label-hidden field__item\">\n<div class=\"poll-view teaser\"><drupal-render-placeholder callback=\"poll.post_render_cache:renderViewForm\" arguments=\"id=2409&amp;view_mode=teaser&amp;langcode=en\" token=\"bEDY3fDG57hO_FJXkxydHTGZCtgV5txv3byODk-KIGU\"><\/drupal-render-placeholder><\/div>\n<\/div>\n<div class=\"field field--name-field-listicle-title field--type-string field--label-hidden field__item\">What to read next<\/div>\n<div class=\"field field--name-field-listicles field--type-entity-reference field--label-hidden field__items\">\n<div class=\"field__item\"><a href=\"https:\/\/opensource.com\/article\/17\/8\/imagemagick\" hreflang=\"und\">Getting started with ImageMagick<\/a><\/div>\n<\/p><\/div>\n<div class=\"field field--name-field-default-license field--type-list-string field--label-hidden field__item\"><a rel=\"license\" href=\"http:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\"><br \/>\n        <img decoding=\"async\" alt=\"Creative Commons License\" src=\"https:\/\/www.cryptocabaret.com\/wp-content\/uploads\/2022\/08\/cc-by-sa--29.png\" title=\"This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License.\"><\/a>This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License.<\/div>\n<section class=\"field field--name-field-comments field--type-comment field--label-hidden comment-wrapper\">\n<div class=\"comments__count\">\n<div class=\"login\"><a href=\"https:\/\/opensource.com\/user\/register?absolute=1\">Register<\/a> or <a href=\"https:\/\/opensource.com\/user\/login?current=\/rss.xml&amp;absolute=1\">Login<\/a> to post a comment.<\/div>\n<\/p><\/div>\n<\/section>\n<p class=\"wpematico_credit\"><small>Powered by <a href=\"http:\/\/www.wpematico.com\" target=\"_blank\" rel=\"noopener\">WPeMatico<\/a><\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What&#8217;s your favorite screenshot tool on Linux? AmyJune Hineline Sat, 08\/20\/2022 &#8211; 03:00 Register or Login to like Register or Login to like As the saying goes, a picture is worth a thousand words, and while that&#8217;s not always the case with terminal commands and code, it still holds true for the graphical desktop. Screenshots [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":66597,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[307],"tags":[],"class_list":["post-66596","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-open-source"],"_links":{"self":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts\/66596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=66596"}],"version-history":[{"count":0,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/posts\/66596\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=\/wp\/v2\/media\/66597"}],"wp:attachment":[{"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=66596"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=66596"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cryptocabaret.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=66596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}