How can I include the cursor in the screenshots created when PrtScr is pressed?Simple image editor tool to draw a simple box/rectangle in an existing imageBash one-liner to display ALL `gsettings` in GUI dialog windowHow to make Shutter as the default screenshot tool?How to change the keyboard shortcut to take screenshots with Shutter?Is there a setting to turn off the dialog box when making screenshots?Area screenshot - move crosshair with keyboardHow to get rid of grey area after gnome-screenshot being executedUbuntu 18.04: Shift+PrintScreen doesn't offer a “save” window after a recent update

In this day and age should the definition / categorisation of erotica be revised?

Cutting a 4.5m long 2x6 in half with a circular saw

Is there a package that allows to write correctly times in hours, minutes and seconds in mathematical mode?

Why doesn't hot charcoal glow blue?

Are Star Trek races uniform?

when to use がつ or げつ readings for 月?

Grade changes with auto grader

Green Flame Blade and Negative Modifiers

How can I seal 8 inch round holes in my siding?

I don't want my ls command in my script to print results on screen

Why are Krueger flaps called flaps and not slats?

Are there any composer instructions on how to play a melody?

How were Kurds involved (or not) in the invasion of Normandy?

Why can a T* be passed in register, but a unique_ptr<T> cannot?

How to pronounce correctly [b] and [p]? As well [t]/[d] and [k]/[g]

Is there any research on the development of attacks against artificial intelligence systems?

What would a chair for a Human with a Tail look like?

Is it okay to request a vegetarian only microwave at work ? If, yes, what's the proper way to do it?

What's the meaning of Electrical Inches?

How to cut a perfect shape out of 4cm oak?

C# Toy Robot Simulator

Banks in the City of London

Should I respond to a sabotage accusation e-mail at work?

Does any politician - honestly - want a No Deal Brexit?



How can I include the cursor in the screenshots created when PrtScr is pressed?


Simple image editor tool to draw a simple box/rectangle in an existing imageBash one-liner to display ALL `gsettings` in GUI dialog windowHow to make Shutter as the default screenshot tool?How to change the keyboard shortcut to take screenshots with Shutter?Is there a setting to turn off the dialog box when making screenshots?Area screenshot - move crosshair with keyboardHow to get rid of grey area after gnome-screenshot being executedUbuntu 18.04: Shift+PrintScreen doesn't offer a “save” window after a recent update






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









20

















I want to make it so that when I press the print screen key on my keyboard, it actually includes the cursor. I know that it is calling gnome-screenshot, but I can't find any way to change the arguments it is using with it. If anyone knows about this, it would be greatly appreciated.










share|improve this question




























  • Not directly answering your question, but other, more advanced screenshot tools like shutter have an option to include the cursor or not, and can also do things like delayed screenshots (useful for context menus etc. that would go away when you press a key) or directly edit the resulting image.

    – Byte Commander
    May 25 at 14:42






  • 1





    @ByteCommander gnome-screenshot also provides delay option.

    – WinEunuuchs2Unix
    May 25 at 14:58











  • @ByteCommander packages.ubuntu.com/search?keywords=shutter doesn't show shutter for 19.04.

    – DK Bose
    May 26 at 12:33











  • Oh, I was not aware of that, thanks @DKBose . Looks like it got removed from the repos starting in 18.10 due to outdated dependencies. I hope it will get updated and ported to newer libraries at some point, I really like that tool.

    – Byte Commander
    May 26 at 12:40











  • And the author of the link you provided has a ppa: launchpad.net/~linuxuprising/+archive/ubuntu/shutter. For simple annotating of images I use the ksnip appimage: askubuntu.com/a/1128568/248158

    – DK Bose
    May 26 at 12:55

















20

















I want to make it so that when I press the print screen key on my keyboard, it actually includes the cursor. I know that it is calling gnome-screenshot, but I can't find any way to change the arguments it is using with it. If anyone knows about this, it would be greatly appreciated.










share|improve this question




























  • Not directly answering your question, but other, more advanced screenshot tools like shutter have an option to include the cursor or not, and can also do things like delayed screenshots (useful for context menus etc. that would go away when you press a key) or directly edit the resulting image.

    – Byte Commander
    May 25 at 14:42






  • 1





    @ByteCommander gnome-screenshot also provides delay option.

    – WinEunuuchs2Unix
    May 25 at 14:58











  • @ByteCommander packages.ubuntu.com/search?keywords=shutter doesn't show shutter for 19.04.

    – DK Bose
    May 26 at 12:33











  • Oh, I was not aware of that, thanks @DKBose . Looks like it got removed from the repos starting in 18.10 due to outdated dependencies. I hope it will get updated and ported to newer libraries at some point, I really like that tool.

    – Byte Commander
    May 26 at 12:40











  • And the author of the link you provided has a ppa: launchpad.net/~linuxuprising/+archive/ubuntu/shutter. For simple annotating of images I use the ksnip appimage: askubuntu.com/a/1128568/248158

    – DK Bose
    May 26 at 12:55













20












20








20


4






I want to make it so that when I press the print screen key on my keyboard, it actually includes the cursor. I know that it is calling gnome-screenshot, but I can't find any way to change the arguments it is using with it. If anyone knows about this, it would be greatly appreciated.










share|improve this question

















I want to make it so that when I press the print screen key on my keyboard, it actually includes the cursor. I know that it is calling gnome-screenshot, but I can't find any way to change the arguments it is using with it. If anyone knows about this, it would be greatly appreciated.







19.04 screenshot gnome-screenshot






share|improve this question
















share|improve this question













share|improve this question




share|improve this question








edited May 27 at 12:03









dessert

29.3k7 gold badges88 silver badges121 bronze badges




29.3k7 gold badges88 silver badges121 bronze badges










asked May 25 at 14:40









redstoneguy12redstoneguy12

1184 bronze badges




1184 bronze badges















  • Not directly answering your question, but other, more advanced screenshot tools like shutter have an option to include the cursor or not, and can also do things like delayed screenshots (useful for context menus etc. that would go away when you press a key) or directly edit the resulting image.

    – Byte Commander
    May 25 at 14:42






  • 1





    @ByteCommander gnome-screenshot also provides delay option.

    – WinEunuuchs2Unix
    May 25 at 14:58











  • @ByteCommander packages.ubuntu.com/search?keywords=shutter doesn't show shutter for 19.04.

    – DK Bose
    May 26 at 12:33











  • Oh, I was not aware of that, thanks @DKBose . Looks like it got removed from the repos starting in 18.10 due to outdated dependencies. I hope it will get updated and ported to newer libraries at some point, I really like that tool.

    – Byte Commander
    May 26 at 12:40











  • And the author of the link you provided has a ppa: launchpad.net/~linuxuprising/+archive/ubuntu/shutter. For simple annotating of images I use the ksnip appimage: askubuntu.com/a/1128568/248158

    – DK Bose
    May 26 at 12:55

















  • Not directly answering your question, but other, more advanced screenshot tools like shutter have an option to include the cursor or not, and can also do things like delayed screenshots (useful for context menus etc. that would go away when you press a key) or directly edit the resulting image.

    – Byte Commander
    May 25 at 14:42






  • 1





    @ByteCommander gnome-screenshot also provides delay option.

    – WinEunuuchs2Unix
    May 25 at 14:58











  • @ByteCommander packages.ubuntu.com/search?keywords=shutter doesn't show shutter for 19.04.

    – DK Bose
    May 26 at 12:33











  • Oh, I was not aware of that, thanks @DKBose . Looks like it got removed from the repos starting in 18.10 due to outdated dependencies. I hope it will get updated and ported to newer libraries at some point, I really like that tool.

    – Byte Commander
    May 26 at 12:40











  • And the author of the link you provided has a ppa: launchpad.net/~linuxuprising/+archive/ubuntu/shutter. For simple annotating of images I use the ksnip appimage: askubuntu.com/a/1128568/248158

    – DK Bose
    May 26 at 12:55
















Not directly answering your question, but other, more advanced screenshot tools like shutter have an option to include the cursor or not, and can also do things like delayed screenshots (useful for context menus etc. that would go away when you press a key) or directly edit the resulting image.

– Byte Commander
May 25 at 14:42





Not directly answering your question, but other, more advanced screenshot tools like shutter have an option to include the cursor or not, and can also do things like delayed screenshots (useful for context menus etc. that would go away when you press a key) or directly edit the resulting image.

– Byte Commander
May 25 at 14:42




1




1





@ByteCommander gnome-screenshot also provides delay option.

– WinEunuuchs2Unix
May 25 at 14:58





@ByteCommander gnome-screenshot also provides delay option.

– WinEunuuchs2Unix
May 25 at 14:58













@ByteCommander packages.ubuntu.com/search?keywords=shutter doesn't show shutter for 19.04.

– DK Bose
May 26 at 12:33





@ByteCommander packages.ubuntu.com/search?keywords=shutter doesn't show shutter for 19.04.

– DK Bose
May 26 at 12:33













Oh, I was not aware of that, thanks @DKBose . Looks like it got removed from the repos starting in 18.10 due to outdated dependencies. I hope it will get updated and ported to newer libraries at some point, I really like that tool.

– Byte Commander
May 26 at 12:40





Oh, I was not aware of that, thanks @DKBose . Looks like it got removed from the repos starting in 18.10 due to outdated dependencies. I hope it will get updated and ported to newer libraries at some point, I really like that tool.

– Byte Commander
May 26 at 12:40













And the author of the link you provided has a ppa: launchpad.net/~linuxuprising/+archive/ubuntu/shutter. For simple annotating of images I use the ksnip appimage: askubuntu.com/a/1128568/248158

– DK Bose
May 26 at 12:55





And the author of the link you provided has a ppa: launchpad.net/~linuxuprising/+archive/ubuntu/shutter. For simple annotating of images I use the ksnip appimage: askubuntu.com/a/1128568/248158

– DK Bose
May 26 at 12:55










2 Answers
2






active

oldest

votes


















17


















You can do this with dconf-editor but with command line as well. Here are the gsettings effecting gnome-screenshot:



gnome-screenshot gsettings.png



Use this command to check current settings:



gsettings get org.gnome.gnome-screenshot include-pointer
false


Use this command to turn on the option:



gsettings set org.gnome.gnome-screenshot include-pointer true


Use the same technique for the other gnome-screenshot settings.




Note you can get a list of all settings with gsettings list-recursively. For the screenshot above I used the technique in this answer:



  • Bash one-liner to display ALL `gsettings` in GUI dialog window

And the one-liner code (works with yad only) is:



gsettings list-recursively | sed 's/ */n/;s/ */n/;s/&/&amp;/g' | yad --list --title "gsettings" --item-seperator='n' --width=1800 --height=800 --wrap-width=600 --column=Group --column=Key --column=Setting --no-markup





share|improve this answer



































    13


















    man gnome-screenshot tells us that




     -p, --include-pointer
    Include the pointer with the screenshot.



    So you'll need to set up a new keyboard shortcut that incorporates -p:



    enter image description here



    Note that gnome-screenshot has a variety of options described in man gnome-screenshot to



    • capture the active window

    • capture the whole screen

    • capture a selected area

    • take a delayed screenshot

    You can make your own shortcuts for each of these activities.






    share|improve this answer























    • 4





      But how would the OP make it so that the PrintScreen key behaviour is modified to include this argument?

      – Byte Commander
      May 25 at 14:44











    • Yes, I'm adding that now.

      – DK Bose
      May 25 at 14:49











    • Thanks for the help, the way I am going to do it is adding new shortcuts from the + button at the bottom of the keyboard menu in settings.

      – redstoneguy12
      May 25 at 15:01











    • @redstoneguy12 actually askubuntu.com/a/1146146/248158 is really elegant!

      – DK Bose
      May 25 at 15:14












    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1146144%2fhow-can-i-include-the-cursor-in-the-screenshots-created-when-prtscr-is-pressed%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown


























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    17


















    You can do this with dconf-editor but with command line as well. Here are the gsettings effecting gnome-screenshot:



    gnome-screenshot gsettings.png



    Use this command to check current settings:



    gsettings get org.gnome.gnome-screenshot include-pointer
    false


    Use this command to turn on the option:



    gsettings set org.gnome.gnome-screenshot include-pointer true


    Use the same technique for the other gnome-screenshot settings.




    Note you can get a list of all settings with gsettings list-recursively. For the screenshot above I used the technique in this answer:



    • Bash one-liner to display ALL `gsettings` in GUI dialog window

    And the one-liner code (works with yad only) is:



    gsettings list-recursively | sed 's/ */n/;s/ */n/;s/&/&amp;/g' | yad --list --title "gsettings" --item-seperator='n' --width=1800 --height=800 --wrap-width=600 --column=Group --column=Key --column=Setting --no-markup





    share|improve this answer
































      17


















      You can do this with dconf-editor but with command line as well. Here are the gsettings effecting gnome-screenshot:



      gnome-screenshot gsettings.png



      Use this command to check current settings:



      gsettings get org.gnome.gnome-screenshot include-pointer
      false


      Use this command to turn on the option:



      gsettings set org.gnome.gnome-screenshot include-pointer true


      Use the same technique for the other gnome-screenshot settings.




      Note you can get a list of all settings with gsettings list-recursively. For the screenshot above I used the technique in this answer:



      • Bash one-liner to display ALL `gsettings` in GUI dialog window

      And the one-liner code (works with yad only) is:



      gsettings list-recursively | sed 's/ */n/;s/ */n/;s/&/&amp;/g' | yad --list --title "gsettings" --item-seperator='n' --width=1800 --height=800 --wrap-width=600 --column=Group --column=Key --column=Setting --no-markup





      share|improve this answer






























        17














        17










        17









        You can do this with dconf-editor but with command line as well. Here are the gsettings effecting gnome-screenshot:



        gnome-screenshot gsettings.png



        Use this command to check current settings:



        gsettings get org.gnome.gnome-screenshot include-pointer
        false


        Use this command to turn on the option:



        gsettings set org.gnome.gnome-screenshot include-pointer true


        Use the same technique for the other gnome-screenshot settings.




        Note you can get a list of all settings with gsettings list-recursively. For the screenshot above I used the technique in this answer:



        • Bash one-liner to display ALL `gsettings` in GUI dialog window

        And the one-liner code (works with yad only) is:



        gsettings list-recursively | sed 's/ */n/;s/ */n/;s/&/&amp;/g' | yad --list --title "gsettings" --item-seperator='n' --width=1800 --height=800 --wrap-width=600 --column=Group --column=Key --column=Setting --no-markup





        share|improve this answer
















        You can do this with dconf-editor but with command line as well. Here are the gsettings effecting gnome-screenshot:



        gnome-screenshot gsettings.png



        Use this command to check current settings:



        gsettings get org.gnome.gnome-screenshot include-pointer
        false


        Use this command to turn on the option:



        gsettings set org.gnome.gnome-screenshot include-pointer true


        Use the same technique for the other gnome-screenshot settings.




        Note you can get a list of all settings with gsettings list-recursively. For the screenshot above I used the technique in this answer:



        • Bash one-liner to display ALL `gsettings` in GUI dialog window

        And the one-liner code (works with yad only) is:



        gsettings list-recursively | sed 's/ */n/;s/ */n/;s/&/&amp;/g' | yad --list --title "gsettings" --item-seperator='n' --width=1800 --height=800 --wrap-width=600 --column=Group --column=Key --column=Setting --no-markup






        share|improve this answer















        share|improve this answer




        share|improve this answer








        edited May 31 at 22:29

























        answered May 25 at 14:56









        WinEunuuchs2UnixWinEunuuchs2Unix

        58.9k18 gold badges119 silver badges233 bronze badges




        58.9k18 gold badges119 silver badges233 bronze badges


























            13


















            man gnome-screenshot tells us that




             -p, --include-pointer
            Include the pointer with the screenshot.



            So you'll need to set up a new keyboard shortcut that incorporates -p:



            enter image description here



            Note that gnome-screenshot has a variety of options described in man gnome-screenshot to



            • capture the active window

            • capture the whole screen

            • capture a selected area

            • take a delayed screenshot

            You can make your own shortcuts for each of these activities.






            share|improve this answer























            • 4





              But how would the OP make it so that the PrintScreen key behaviour is modified to include this argument?

              – Byte Commander
              May 25 at 14:44











            • Yes, I'm adding that now.

              – DK Bose
              May 25 at 14:49











            • Thanks for the help, the way I am going to do it is adding new shortcuts from the + button at the bottom of the keyboard menu in settings.

              – redstoneguy12
              May 25 at 15:01











            • @redstoneguy12 actually askubuntu.com/a/1146146/248158 is really elegant!

              – DK Bose
              May 25 at 15:14















            13


















            man gnome-screenshot tells us that




             -p, --include-pointer
            Include the pointer with the screenshot.



            So you'll need to set up a new keyboard shortcut that incorporates -p:



            enter image description here



            Note that gnome-screenshot has a variety of options described in man gnome-screenshot to



            • capture the active window

            • capture the whole screen

            • capture a selected area

            • take a delayed screenshot

            You can make your own shortcuts for each of these activities.






            share|improve this answer























            • 4





              But how would the OP make it so that the PrintScreen key behaviour is modified to include this argument?

              – Byte Commander
              May 25 at 14:44











            • Yes, I'm adding that now.

              – DK Bose
              May 25 at 14:49











            • Thanks for the help, the way I am going to do it is adding new shortcuts from the + button at the bottom of the keyboard menu in settings.

              – redstoneguy12
              May 25 at 15:01











            • @redstoneguy12 actually askubuntu.com/a/1146146/248158 is really elegant!

              – DK Bose
              May 25 at 15:14













            13














            13










            13









            man gnome-screenshot tells us that




             -p, --include-pointer
            Include the pointer with the screenshot.



            So you'll need to set up a new keyboard shortcut that incorporates -p:



            enter image description here



            Note that gnome-screenshot has a variety of options described in man gnome-screenshot to



            • capture the active window

            • capture the whole screen

            • capture a selected area

            • take a delayed screenshot

            You can make your own shortcuts for each of these activities.






            share|improve this answer
















            man gnome-screenshot tells us that




             -p, --include-pointer
            Include the pointer with the screenshot.



            So you'll need to set up a new keyboard shortcut that incorporates -p:



            enter image description here



            Note that gnome-screenshot has a variety of options described in man gnome-screenshot to



            • capture the active window

            • capture the whole screen

            • capture a selected area

            • take a delayed screenshot

            You can make your own shortcuts for each of these activities.







            share|improve this answer















            share|improve this answer




            share|improve this answer








            edited May 25 at 14:56

























            answered May 25 at 14:42









            DK BoseDK Bose

            20.1k14 gold badges57 silver badges113 bronze badges




            20.1k14 gold badges57 silver badges113 bronze badges










            • 4





              But how would the OP make it so that the PrintScreen key behaviour is modified to include this argument?

              – Byte Commander
              May 25 at 14:44











            • Yes, I'm adding that now.

              – DK Bose
              May 25 at 14:49











            • Thanks for the help, the way I am going to do it is adding new shortcuts from the + button at the bottom of the keyboard menu in settings.

              – redstoneguy12
              May 25 at 15:01











            • @redstoneguy12 actually askubuntu.com/a/1146146/248158 is really elegant!

              – DK Bose
              May 25 at 15:14












            • 4





              But how would the OP make it so that the PrintScreen key behaviour is modified to include this argument?

              – Byte Commander
              May 25 at 14:44











            • Yes, I'm adding that now.

              – DK Bose
              May 25 at 14:49











            • Thanks for the help, the way I am going to do it is adding new shortcuts from the + button at the bottom of the keyboard menu in settings.

              – redstoneguy12
              May 25 at 15:01











            • @redstoneguy12 actually askubuntu.com/a/1146146/248158 is really elegant!

              – DK Bose
              May 25 at 15:14







            4




            4





            But how would the OP make it so that the PrintScreen key behaviour is modified to include this argument?

            – Byte Commander
            May 25 at 14:44





            But how would the OP make it so that the PrintScreen key behaviour is modified to include this argument?

            – Byte Commander
            May 25 at 14:44













            Yes, I'm adding that now.

            – DK Bose
            May 25 at 14:49





            Yes, I'm adding that now.

            – DK Bose
            May 25 at 14:49













            Thanks for the help, the way I am going to do it is adding new shortcuts from the + button at the bottom of the keyboard menu in settings.

            – redstoneguy12
            May 25 at 15:01





            Thanks for the help, the way I am going to do it is adding new shortcuts from the + button at the bottom of the keyboard menu in settings.

            – redstoneguy12
            May 25 at 15:01













            @redstoneguy12 actually askubuntu.com/a/1146146/248158 is really elegant!

            – DK Bose
            May 25 at 15:14





            @redstoneguy12 actually askubuntu.com/a/1146146/248158 is really elegant!

            – DK Bose
            May 25 at 15:14


















            draft saved

            draft discarded















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1146144%2fhow-can-i-include-the-cursor-in-the-screenshots-created-when-prtscr-is-pressed%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown









            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?