How can I include the cursor in the screenshots created when PrtScr is pressed?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
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
add a comment |
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
Not directly answering your question, but other, more advanced screenshot tools likeshutter
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
@ByteCommandergnome-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
add a comment |
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
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
19.04 screenshot gnome-screenshot
edited May 27 at 12:03
dessert
28.5k6 gold badges86 silver badges119 bronze badges
28.5k6 gold badges86 silver badges119 bronze badges
asked May 25 at 14:40
redstoneguy12redstoneguy12
1134 bronze badges
1134 bronze badges
Not directly answering your question, but other, more advanced screenshot tools likeshutter
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
@ByteCommandergnome-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
add a comment |
Not directly answering your question, but other, more advanced screenshot tools likeshutter
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
@ByteCommandergnome-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
add a comment |
2 Answers
2
active
oldest
votes
You can do this with dconf-editor but with command line as well. Here are the gsettings
effecting gnome-screenshot
:
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/&/&/g' | yad --list --title "gsettings" --item-seperator='n' --width=1800 --height=800 --wrap-width=600 --column=Group --column=Key --column=Setting --no-markup
add a comment |
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
:
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.
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
add a comment |
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/3.0/"u003ecc by-sa 3.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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
You can do this with dconf-editor but with command line as well. Here are the gsettings
effecting gnome-screenshot
:
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/&/&/g' | yad --list --title "gsettings" --item-seperator='n' --width=1800 --height=800 --wrap-width=600 --column=Group --column=Key --column=Setting --no-markup
add a comment |
You can do this with dconf-editor but with command line as well. Here are the gsettings
effecting gnome-screenshot
:
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/&/&/g' | yad --list --title "gsettings" --item-seperator='n' --width=1800 --height=800 --wrap-width=600 --column=Group --column=Key --column=Setting --no-markup
add a comment |
You can do this with dconf-editor but with command line as well. Here are the gsettings
effecting gnome-screenshot
:
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/&/&/g' | yad --list --title "gsettings" --item-seperator='n' --width=1800 --height=800 --wrap-width=600 --column=Group --column=Key --column=Setting --no-markup
You can do this with dconf-editor but with command line as well. Here are the gsettings
effecting gnome-screenshot
:
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/&/&/g' | yad --list --title "gsettings" --item-seperator='n' --width=1800 --height=800 --wrap-width=600 --column=Group --column=Key --column=Setting --no-markup
edited May 31 at 22:29
answered May 25 at 14:56
WinEunuuchs2UnixWinEunuuchs2Unix
56.6k16 gold badges111 silver badges217 bronze badges
56.6k16 gold badges111 silver badges217 bronze badges
add a comment |
add a comment |
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
:
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.
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
add a comment |
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
:
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.
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
add a comment |
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
:
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.
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
:
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.
edited May 25 at 14:56
answered May 25 at 14:42
DK BoseDK Bose
18.5k12 gold badges54 silver badges106 bronze badges
18.5k12 gold badges54 silver badges106 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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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