How do I make my screenshot ask me what to do next every time?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I take screenshots a lot. I usually take screenshot of an area, I then recheck if I have the desired area and then copy it to clipboard.
I want to change this behaviour so that immediately upon pressing Shift+PrntScr the screen capture application allows me to select an area, and immediately afterwards it provides me with the option to save to a particular location or clipboard.
I want Shift+PrntScr to bring up a pop-up screen like this:
shortcut-keys gnome-shell screenshot gnome-screenshot print-screen
add a comment |
I take screenshots a lot. I usually take screenshot of an area, I then recheck if I have the desired area and then copy it to clipboard.
I want to change this behaviour so that immediately upon pressing Shift+PrntScr the screen capture application allows me to select an area, and immediately afterwards it provides me with the option to save to a particular location or clipboard.
I want Shift+PrntScr to bring up a pop-up screen like this:
shortcut-keys gnome-shell screenshot gnome-screenshot print-screen
add a comment |
I take screenshots a lot. I usually take screenshot of an area, I then recheck if I have the desired area and then copy it to clipboard.
I want to change this behaviour so that immediately upon pressing Shift+PrntScr the screen capture application allows me to select an area, and immediately afterwards it provides me with the option to save to a particular location or clipboard.
I want Shift+PrntScr to bring up a pop-up screen like this:
shortcut-keys gnome-shell screenshot gnome-screenshot print-screen
I take screenshots a lot. I usually take screenshot of an area, I then recheck if I have the desired area and then copy it to clipboard.
I want to change this behaviour so that immediately upon pressing Shift+PrntScr the screen capture application allows me to select an area, and immediately afterwards it provides me with the option to save to a particular location or clipboard.
I want Shift+PrntScr to bring up a pop-up screen like this:
shortcut-keys gnome-shell screenshot gnome-screenshot print-screen
shortcut-keys gnome-shell screenshot gnome-screenshot print-screen
edited Jan 1 at 21:32
pomsky
33.9k11105138
33.9k11105138
asked Nov 11 '17 at 9:34
nazar2sfivenazar2sfive
99152454
99152454
add a comment |
add a comment |
7 Answers
7
active
oldest
votes
You may create a new keyboard shortcut for the command
gnome-screenshot --interactive
as an alternative.
To do that follow the steps.
- Open Settings > Devices > Keyboard and scroll down to the bottom.
- Click on the + symbol. A dialogue should pop up.
- Enter any name you like in the Name box.
- Enter
gnome-screenshot --interactive
in the Command box. - Click on the Set Shortcut... button and set any keyboard combination which doesn't cause any conflict, for example Super+Print.
- Log out and log in again.
Now whenever you press Super+Print a window offering various screenshot options (whole screen/current window/selected area) should appear. Once you take the screenshot it will offer you to choose the location to save the screenshot as in the image in your question.
For convenience you may first change the shortcut for "Save a screenshot to Pictures" in the keyboard shortcut list to something else like Super+Print and assign Print to the custom shortcut you just created.
Also you might want to try using
gnome-screenshot -a -c
This command lets you straight away capture an area and copy the image to the clipboard.
Refer to this answer for an ugly workaround to replicate the old behaviour that lets you choose the folder to save the screenshot after capturing.
2
This works but when i press Shift+print it shows the dialogue to choose to grab an area.. when i am finishing grabbing the area only then dialogue comes that allows me to choose a location to save. I want to cut the first step. I want the following. 1st press Shift+print .. which will allow me to grab an area.. and immediately after it provide me with the option to save to a particular location or clipboard.
– nazar2sfive
Nov 11 '17 at 12:20
@nazar2sfive Unfortunately, it seems not possible withgnome-screenshot
. For some reason GNOME developers think all the users always want to save screenshots in the default folder! A command to capture an area isgnome-screenshot -a
, but if you run it, it will save the screenshot in the default folder without showing any prompt.
– pomsky
Nov 11 '17 at 13:20
@nazar2sfive and the commandgnome-screenshot -a -c
lets you capture an area and copy the image to clipboard.
– pomsky
Nov 11 '17 at 13:26
@pomsky this method is definitely better than without it. But you cannot preview captured image before posting/sending
– Herrgott
Jun 3 '18 at 12:42
add a comment |
Here is one ugly workaround to replicate the old behaviour that lets you choose the folder to save the screenshot after capturing.
Step one
You'll need zenity
. If it's not installed, install it first by running
sudo apt install zenity
Then create a script, say text file named prtscr-chooser.sh
somewhere, say in your home directory. Add the following lines to the file:
#!/bin/bash
gnome-screenshot -f ~/temporary-screenshot &&
SCREENSHOT=$(zenity --file-selection --save --confirm-overwrite)
mv ~/temporary-screenshot "$SCREENSHOT" ||
rm ~/temporary-screenshot
(Put gnome-screenshot -a
in place of gnome-screenshot
in the second line to capture an area instead of the whole desktop)
Finally make the script executable (refer to this).
Step two
Assign the script to Print Screen:
- Open Settings > Devices > Keyboard.
- Unbind Print Screen, i.e. change or remove the shortcut for 'Save a screenshot to Pictures'.
- Scroll down to the bottom.
- Click the '+' symbol. A dialogue should pop up.
- Enter any name you like in the 'Name' box.
- Enter full path to the script in the 'Command' box, i.e. in this case enter
/home/YOUR-USERNAME/prtscr-chooser.sh
(your actual username in place ofYOUR-USERNAME
). - Click the 'Set Shortcut...' button and press Print Screen.
- Log out and log in again.
(You can follow the same method to assign the script the some other keyboard combination, e.g. Shift+Print Screen)
Now you should be getting a 'save as' dialogue which will let you choose the folder and name for the screenshot.
3
+1; I don't care if it is ugly, the important thing is if it makes things work in a convenient way for the user :-)
– sudodus
Dec 31 '18 at 20:49
add a comment |
You can install a Gnome extension called Screenshot tool. Very handy, a dialogue box will pop up asking for copying or saving the screenshot just taken.
add a comment |
The previous behaviour of gnome-screenshot (as illustrated in the question) was press PrtScrn, possibly with modifier keys, to take the shot and then the save-as dialogue would come up.
No solution suggested for gnome-screenshot-3.25.0 replicates exactly that. The only way I managed was to install gnome-screenshot_3.10.1 and use apt hold to stick it there.
Not a "good" solution technically.
sudo apt remove gnome-screenshot
Download the 3.10 package rather than adding the Trusty repos
sudo apt install ./gnome-screenshot_3.10.1-0ubuntu1_i386.deb
sudo apt-mark hold gnome-screenshot
add a comment |
There is no popup [from the hotkey combos] now, but the screenshot tool is still there in Ubuntu 17.10.
You can find it via Activities (in the top left corner) if you type a letter or a few letters, s, sc, scr ...
Click on the camera icon, and you get the screenshot app window.
Can you bind this to the print screen key?
– tttppp
Nov 1 '17 at 14:30
@tttppp, You can try according to this link, askubuntu.com/questions/597395/… ; I don't know if the method is still working in the environment of 17.10.
– sudodus
Nov 1 '17 at 14:35
1
Sorry - I didn't make myself clear. Can you bind the "Take Screenshot" action to a key? Is there a command line parameter you can pass to the Screenshot app that will cause it to take the screenshot? I can run "gnome-screenshot" and it will cause the screen to flash, but I don't have a window pop up, or I can run "gnome-screenshot -i" which will bring up the window you've shown. I'd like to execute a command that does "gnome-screenshot -i" and then 'presses' the green "Take Screenshot" button in one go.
– tttppp
Nov 1 '17 at 16:24
I understand. I cannot find any option to do exactly what you want (tested in Ubuntu 17.10 running Wayland). Either it snaps at once and saves a file with the date and time in the file name, or you come to the first window (which is shown in my answer). I think the fastest action from that window is to press the Enter key, which shoots a snap. After that you can press the Enter key again and save a file with the date and time in the file name, or select another file name and press the Enter key (or click on the green button). -- The PrintScreen key works (but without any interaction).
– sudodus
Nov 1 '17 at 17:58
@tttppp, Does my previous comment answer the questions in your previous comment?
– sudodus
Nov 2 '17 at 7:02
|
show 1 more comment
This script:
- Take screenshot of an area
- Copy it to clipboard (automatically)
- Show image
- Let you save it wherever you want
Step 1:
Create prtscr-chooser.sh
file
gnome-screenshot -a -f ~/temporary-screenshot #take screenshot of an area
xclip -selection clipboard -t image/png -i temporary-screenshot #copy to clipboard
eog ~/temporary-screenshot #open figure
SCREENSHOT=$(zenity --file-selection --save --confirm-overwrite) #get path to save
mv ~/temporary-screenshot "$SCREENSHOT"".png" #save
Let it executable:
chmod +x prtscr-chooser.sh
Step 2
Assign the script to Print Screen:
- Open Settings > Devices > Keyboard.
- Unbind Print Screen, i.e. change or remove the shortcut for 'Save a screenshot to Pictures'.
- Scroll down to the bottom.
- Click the '+' symbol. A dialogue should pop up.
- Enter any name you like in the 'Name' box.
- Enter full path to the script in the 'Command' box, i.e. in this case enter
/home/YOUR-USERNAME/prtscr-chooser.sh
(your actual username in place ofYOUR-USERNAME
). - Click the 'Set Shortcut...' button and press Print Screen.
- Log out and log in again.
(You can follow the same method to assign the script the some other keyboard combination, e.g. Shift+Print Screen)
This method I am trying but not working ,
– Bapi Saha
Apr 4 at 10:01
add a comment |
Take a look at Shutter, it do very well. Screen, window, or area of screen screenshots with various options. Sit in tray and waiting for click or keyboard shortcut. You can rename file or configure auto naming. Here are screenshot of main options window.
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%2f975339%2fhow-do-i-make-my-screenshot-ask-me-what-to-do-next-every-time%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
7 Answers
7
active
oldest
votes
7 Answers
7
active
oldest
votes
active
oldest
votes
active
oldest
votes
You may create a new keyboard shortcut for the command
gnome-screenshot --interactive
as an alternative.
To do that follow the steps.
- Open Settings > Devices > Keyboard and scroll down to the bottom.
- Click on the + symbol. A dialogue should pop up.
- Enter any name you like in the Name box.
- Enter
gnome-screenshot --interactive
in the Command box. - Click on the Set Shortcut... button and set any keyboard combination which doesn't cause any conflict, for example Super+Print.
- Log out and log in again.
Now whenever you press Super+Print a window offering various screenshot options (whole screen/current window/selected area) should appear. Once you take the screenshot it will offer you to choose the location to save the screenshot as in the image in your question.
For convenience you may first change the shortcut for "Save a screenshot to Pictures" in the keyboard shortcut list to something else like Super+Print and assign Print to the custom shortcut you just created.
Also you might want to try using
gnome-screenshot -a -c
This command lets you straight away capture an area and copy the image to the clipboard.
Refer to this answer for an ugly workaround to replicate the old behaviour that lets you choose the folder to save the screenshot after capturing.
2
This works but when i press Shift+print it shows the dialogue to choose to grab an area.. when i am finishing grabbing the area only then dialogue comes that allows me to choose a location to save. I want to cut the first step. I want the following. 1st press Shift+print .. which will allow me to grab an area.. and immediately after it provide me with the option to save to a particular location or clipboard.
– nazar2sfive
Nov 11 '17 at 12:20
@nazar2sfive Unfortunately, it seems not possible withgnome-screenshot
. For some reason GNOME developers think all the users always want to save screenshots in the default folder! A command to capture an area isgnome-screenshot -a
, but if you run it, it will save the screenshot in the default folder without showing any prompt.
– pomsky
Nov 11 '17 at 13:20
@nazar2sfive and the commandgnome-screenshot -a -c
lets you capture an area and copy the image to clipboard.
– pomsky
Nov 11 '17 at 13:26
@pomsky this method is definitely better than without it. But you cannot preview captured image before posting/sending
– Herrgott
Jun 3 '18 at 12:42
add a comment |
You may create a new keyboard shortcut for the command
gnome-screenshot --interactive
as an alternative.
To do that follow the steps.
- Open Settings > Devices > Keyboard and scroll down to the bottom.
- Click on the + symbol. A dialogue should pop up.
- Enter any name you like in the Name box.
- Enter
gnome-screenshot --interactive
in the Command box. - Click on the Set Shortcut... button and set any keyboard combination which doesn't cause any conflict, for example Super+Print.
- Log out and log in again.
Now whenever you press Super+Print a window offering various screenshot options (whole screen/current window/selected area) should appear. Once you take the screenshot it will offer you to choose the location to save the screenshot as in the image in your question.
For convenience you may first change the shortcut for "Save a screenshot to Pictures" in the keyboard shortcut list to something else like Super+Print and assign Print to the custom shortcut you just created.
Also you might want to try using
gnome-screenshot -a -c
This command lets you straight away capture an area and copy the image to the clipboard.
Refer to this answer for an ugly workaround to replicate the old behaviour that lets you choose the folder to save the screenshot after capturing.
2
This works but when i press Shift+print it shows the dialogue to choose to grab an area.. when i am finishing grabbing the area only then dialogue comes that allows me to choose a location to save. I want to cut the first step. I want the following. 1st press Shift+print .. which will allow me to grab an area.. and immediately after it provide me with the option to save to a particular location or clipboard.
– nazar2sfive
Nov 11 '17 at 12:20
@nazar2sfive Unfortunately, it seems not possible withgnome-screenshot
. For some reason GNOME developers think all the users always want to save screenshots in the default folder! A command to capture an area isgnome-screenshot -a
, but if you run it, it will save the screenshot in the default folder without showing any prompt.
– pomsky
Nov 11 '17 at 13:20
@nazar2sfive and the commandgnome-screenshot -a -c
lets you capture an area and copy the image to clipboard.
– pomsky
Nov 11 '17 at 13:26
@pomsky this method is definitely better than without it. But you cannot preview captured image before posting/sending
– Herrgott
Jun 3 '18 at 12:42
add a comment |
You may create a new keyboard shortcut for the command
gnome-screenshot --interactive
as an alternative.
To do that follow the steps.
- Open Settings > Devices > Keyboard and scroll down to the bottom.
- Click on the + symbol. A dialogue should pop up.
- Enter any name you like in the Name box.
- Enter
gnome-screenshot --interactive
in the Command box. - Click on the Set Shortcut... button and set any keyboard combination which doesn't cause any conflict, for example Super+Print.
- Log out and log in again.
Now whenever you press Super+Print a window offering various screenshot options (whole screen/current window/selected area) should appear. Once you take the screenshot it will offer you to choose the location to save the screenshot as in the image in your question.
For convenience you may first change the shortcut for "Save a screenshot to Pictures" in the keyboard shortcut list to something else like Super+Print and assign Print to the custom shortcut you just created.
Also you might want to try using
gnome-screenshot -a -c
This command lets you straight away capture an area and copy the image to the clipboard.
Refer to this answer for an ugly workaround to replicate the old behaviour that lets you choose the folder to save the screenshot after capturing.
You may create a new keyboard shortcut for the command
gnome-screenshot --interactive
as an alternative.
To do that follow the steps.
- Open Settings > Devices > Keyboard and scroll down to the bottom.
- Click on the + symbol. A dialogue should pop up.
- Enter any name you like in the Name box.
- Enter
gnome-screenshot --interactive
in the Command box. - Click on the Set Shortcut... button and set any keyboard combination which doesn't cause any conflict, for example Super+Print.
- Log out and log in again.
Now whenever you press Super+Print a window offering various screenshot options (whole screen/current window/selected area) should appear. Once you take the screenshot it will offer you to choose the location to save the screenshot as in the image in your question.
For convenience you may first change the shortcut for "Save a screenshot to Pictures" in the keyboard shortcut list to something else like Super+Print and assign Print to the custom shortcut you just created.
Also you might want to try using
gnome-screenshot -a -c
This command lets you straight away capture an area and copy the image to the clipboard.
Refer to this answer for an ugly workaround to replicate the old behaviour that lets you choose the folder to save the screenshot after capturing.
edited Jan 1 at 21:35
answered Nov 11 '17 at 9:37
pomskypomsky
33.9k11105138
33.9k11105138
2
This works but when i press Shift+print it shows the dialogue to choose to grab an area.. when i am finishing grabbing the area only then dialogue comes that allows me to choose a location to save. I want to cut the first step. I want the following. 1st press Shift+print .. which will allow me to grab an area.. and immediately after it provide me with the option to save to a particular location or clipboard.
– nazar2sfive
Nov 11 '17 at 12:20
@nazar2sfive Unfortunately, it seems not possible withgnome-screenshot
. For some reason GNOME developers think all the users always want to save screenshots in the default folder! A command to capture an area isgnome-screenshot -a
, but if you run it, it will save the screenshot in the default folder without showing any prompt.
– pomsky
Nov 11 '17 at 13:20
@nazar2sfive and the commandgnome-screenshot -a -c
lets you capture an area and copy the image to clipboard.
– pomsky
Nov 11 '17 at 13:26
@pomsky this method is definitely better than without it. But you cannot preview captured image before posting/sending
– Herrgott
Jun 3 '18 at 12:42
add a comment |
2
This works but when i press Shift+print it shows the dialogue to choose to grab an area.. when i am finishing grabbing the area only then dialogue comes that allows me to choose a location to save. I want to cut the first step. I want the following. 1st press Shift+print .. which will allow me to grab an area.. and immediately after it provide me with the option to save to a particular location or clipboard.
– nazar2sfive
Nov 11 '17 at 12:20
@nazar2sfive Unfortunately, it seems not possible withgnome-screenshot
. For some reason GNOME developers think all the users always want to save screenshots in the default folder! A command to capture an area isgnome-screenshot -a
, but if you run it, it will save the screenshot in the default folder without showing any prompt.
– pomsky
Nov 11 '17 at 13:20
@nazar2sfive and the commandgnome-screenshot -a -c
lets you capture an area and copy the image to clipboard.
– pomsky
Nov 11 '17 at 13:26
@pomsky this method is definitely better than without it. But you cannot preview captured image before posting/sending
– Herrgott
Jun 3 '18 at 12:42
2
2
This works but when i press Shift+print it shows the dialogue to choose to grab an area.. when i am finishing grabbing the area only then dialogue comes that allows me to choose a location to save. I want to cut the first step. I want the following. 1st press Shift+print .. which will allow me to grab an area.. and immediately after it provide me with the option to save to a particular location or clipboard.
– nazar2sfive
Nov 11 '17 at 12:20
This works but when i press Shift+print it shows the dialogue to choose to grab an area.. when i am finishing grabbing the area only then dialogue comes that allows me to choose a location to save. I want to cut the first step. I want the following. 1st press Shift+print .. which will allow me to grab an area.. and immediately after it provide me with the option to save to a particular location or clipboard.
– nazar2sfive
Nov 11 '17 at 12:20
@nazar2sfive Unfortunately, it seems not possible with
gnome-screenshot
. For some reason GNOME developers think all the users always want to save screenshots in the default folder! A command to capture an area is gnome-screenshot -a
, but if you run it, it will save the screenshot in the default folder without showing any prompt.– pomsky
Nov 11 '17 at 13:20
@nazar2sfive Unfortunately, it seems not possible with
gnome-screenshot
. For some reason GNOME developers think all the users always want to save screenshots in the default folder! A command to capture an area is gnome-screenshot -a
, but if you run it, it will save the screenshot in the default folder without showing any prompt.– pomsky
Nov 11 '17 at 13:20
@nazar2sfive and the command
gnome-screenshot -a -c
lets you capture an area and copy the image to clipboard.– pomsky
Nov 11 '17 at 13:26
@nazar2sfive and the command
gnome-screenshot -a -c
lets you capture an area and copy the image to clipboard.– pomsky
Nov 11 '17 at 13:26
@pomsky this method is definitely better than without it. But you cannot preview captured image before posting/sending
– Herrgott
Jun 3 '18 at 12:42
@pomsky this method is definitely better than without it. But you cannot preview captured image before posting/sending
– Herrgott
Jun 3 '18 at 12:42
add a comment |
Here is one ugly workaround to replicate the old behaviour that lets you choose the folder to save the screenshot after capturing.
Step one
You'll need zenity
. If it's not installed, install it first by running
sudo apt install zenity
Then create a script, say text file named prtscr-chooser.sh
somewhere, say in your home directory. Add the following lines to the file:
#!/bin/bash
gnome-screenshot -f ~/temporary-screenshot &&
SCREENSHOT=$(zenity --file-selection --save --confirm-overwrite)
mv ~/temporary-screenshot "$SCREENSHOT" ||
rm ~/temporary-screenshot
(Put gnome-screenshot -a
in place of gnome-screenshot
in the second line to capture an area instead of the whole desktop)
Finally make the script executable (refer to this).
Step two
Assign the script to Print Screen:
- Open Settings > Devices > Keyboard.
- Unbind Print Screen, i.e. change or remove the shortcut for 'Save a screenshot to Pictures'.
- Scroll down to the bottom.
- Click the '+' symbol. A dialogue should pop up.
- Enter any name you like in the 'Name' box.
- Enter full path to the script in the 'Command' box, i.e. in this case enter
/home/YOUR-USERNAME/prtscr-chooser.sh
(your actual username in place ofYOUR-USERNAME
). - Click the 'Set Shortcut...' button and press Print Screen.
- Log out and log in again.
(You can follow the same method to assign the script the some other keyboard combination, e.g. Shift+Print Screen)
Now you should be getting a 'save as' dialogue which will let you choose the folder and name for the screenshot.
3
+1; I don't care if it is ugly, the important thing is if it makes things work in a convenient way for the user :-)
– sudodus
Dec 31 '18 at 20:49
add a comment |
Here is one ugly workaround to replicate the old behaviour that lets you choose the folder to save the screenshot after capturing.
Step one
You'll need zenity
. If it's not installed, install it first by running
sudo apt install zenity
Then create a script, say text file named prtscr-chooser.sh
somewhere, say in your home directory. Add the following lines to the file:
#!/bin/bash
gnome-screenshot -f ~/temporary-screenshot &&
SCREENSHOT=$(zenity --file-selection --save --confirm-overwrite)
mv ~/temporary-screenshot "$SCREENSHOT" ||
rm ~/temporary-screenshot
(Put gnome-screenshot -a
in place of gnome-screenshot
in the second line to capture an area instead of the whole desktop)
Finally make the script executable (refer to this).
Step two
Assign the script to Print Screen:
- Open Settings > Devices > Keyboard.
- Unbind Print Screen, i.e. change or remove the shortcut for 'Save a screenshot to Pictures'.
- Scroll down to the bottom.
- Click the '+' symbol. A dialogue should pop up.
- Enter any name you like in the 'Name' box.
- Enter full path to the script in the 'Command' box, i.e. in this case enter
/home/YOUR-USERNAME/prtscr-chooser.sh
(your actual username in place ofYOUR-USERNAME
). - Click the 'Set Shortcut...' button and press Print Screen.
- Log out and log in again.
(You can follow the same method to assign the script the some other keyboard combination, e.g. Shift+Print Screen)
Now you should be getting a 'save as' dialogue which will let you choose the folder and name for the screenshot.
3
+1; I don't care if it is ugly, the important thing is if it makes things work in a convenient way for the user :-)
– sudodus
Dec 31 '18 at 20:49
add a comment |
Here is one ugly workaround to replicate the old behaviour that lets you choose the folder to save the screenshot after capturing.
Step one
You'll need zenity
. If it's not installed, install it first by running
sudo apt install zenity
Then create a script, say text file named prtscr-chooser.sh
somewhere, say in your home directory. Add the following lines to the file:
#!/bin/bash
gnome-screenshot -f ~/temporary-screenshot &&
SCREENSHOT=$(zenity --file-selection --save --confirm-overwrite)
mv ~/temporary-screenshot "$SCREENSHOT" ||
rm ~/temporary-screenshot
(Put gnome-screenshot -a
in place of gnome-screenshot
in the second line to capture an area instead of the whole desktop)
Finally make the script executable (refer to this).
Step two
Assign the script to Print Screen:
- Open Settings > Devices > Keyboard.
- Unbind Print Screen, i.e. change or remove the shortcut for 'Save a screenshot to Pictures'.
- Scroll down to the bottom.
- Click the '+' symbol. A dialogue should pop up.
- Enter any name you like in the 'Name' box.
- Enter full path to the script in the 'Command' box, i.e. in this case enter
/home/YOUR-USERNAME/prtscr-chooser.sh
(your actual username in place ofYOUR-USERNAME
). - Click the 'Set Shortcut...' button and press Print Screen.
- Log out and log in again.
(You can follow the same method to assign the script the some other keyboard combination, e.g. Shift+Print Screen)
Now you should be getting a 'save as' dialogue which will let you choose the folder and name for the screenshot.
Here is one ugly workaround to replicate the old behaviour that lets you choose the folder to save the screenshot after capturing.
Step one
You'll need zenity
. If it's not installed, install it first by running
sudo apt install zenity
Then create a script, say text file named prtscr-chooser.sh
somewhere, say in your home directory. Add the following lines to the file:
#!/bin/bash
gnome-screenshot -f ~/temporary-screenshot &&
SCREENSHOT=$(zenity --file-selection --save --confirm-overwrite)
mv ~/temporary-screenshot "$SCREENSHOT" ||
rm ~/temporary-screenshot
(Put gnome-screenshot -a
in place of gnome-screenshot
in the second line to capture an area instead of the whole desktop)
Finally make the script executable (refer to this).
Step two
Assign the script to Print Screen:
- Open Settings > Devices > Keyboard.
- Unbind Print Screen, i.e. change or remove the shortcut for 'Save a screenshot to Pictures'.
- Scroll down to the bottom.
- Click the '+' symbol. A dialogue should pop up.
- Enter any name you like in the 'Name' box.
- Enter full path to the script in the 'Command' box, i.e. in this case enter
/home/YOUR-USERNAME/prtscr-chooser.sh
(your actual username in place ofYOUR-USERNAME
). - Click the 'Set Shortcut...' button and press Print Screen.
- Log out and log in again.
(You can follow the same method to assign the script the some other keyboard combination, e.g. Shift+Print Screen)
Now you should be getting a 'save as' dialogue which will let you choose the folder and name for the screenshot.
edited Feb 20 at 9:34
answered Dec 29 '18 at 12:43
pomskypomsky
33.9k11105138
33.9k11105138
3
+1; I don't care if it is ugly, the important thing is if it makes things work in a convenient way for the user :-)
– sudodus
Dec 31 '18 at 20:49
add a comment |
3
+1; I don't care if it is ugly, the important thing is if it makes things work in a convenient way for the user :-)
– sudodus
Dec 31 '18 at 20:49
3
3
+1; I don't care if it is ugly, the important thing is if it makes things work in a convenient way for the user :-)
– sudodus
Dec 31 '18 at 20:49
+1; I don't care if it is ugly, the important thing is if it makes things work in a convenient way for the user :-)
– sudodus
Dec 31 '18 at 20:49
add a comment |
You can install a Gnome extension called Screenshot tool. Very handy, a dialogue box will pop up asking for copying or saving the screenshot just taken.
add a comment |
You can install a Gnome extension called Screenshot tool. Very handy, a dialogue box will pop up asking for copying or saving the screenshot just taken.
add a comment |
You can install a Gnome extension called Screenshot tool. Very handy, a dialogue box will pop up asking for copying or saving the screenshot just taken.
You can install a Gnome extension called Screenshot tool. Very handy, a dialogue box will pop up asking for copying or saving the screenshot just taken.
answered Nov 1 '17 at 13:34
BCArgBCArg
222212
222212
add a comment |
add a comment |
The previous behaviour of gnome-screenshot (as illustrated in the question) was press PrtScrn, possibly with modifier keys, to take the shot and then the save-as dialogue would come up.
No solution suggested for gnome-screenshot-3.25.0 replicates exactly that. The only way I managed was to install gnome-screenshot_3.10.1 and use apt hold to stick it there.
Not a "good" solution technically.
sudo apt remove gnome-screenshot
Download the 3.10 package rather than adding the Trusty repos
sudo apt install ./gnome-screenshot_3.10.1-0ubuntu1_i386.deb
sudo apt-mark hold gnome-screenshot
add a comment |
The previous behaviour of gnome-screenshot (as illustrated in the question) was press PrtScrn, possibly with modifier keys, to take the shot and then the save-as dialogue would come up.
No solution suggested for gnome-screenshot-3.25.0 replicates exactly that. The only way I managed was to install gnome-screenshot_3.10.1 and use apt hold to stick it there.
Not a "good" solution technically.
sudo apt remove gnome-screenshot
Download the 3.10 package rather than adding the Trusty repos
sudo apt install ./gnome-screenshot_3.10.1-0ubuntu1_i386.deb
sudo apt-mark hold gnome-screenshot
add a comment |
The previous behaviour of gnome-screenshot (as illustrated in the question) was press PrtScrn, possibly with modifier keys, to take the shot and then the save-as dialogue would come up.
No solution suggested for gnome-screenshot-3.25.0 replicates exactly that. The only way I managed was to install gnome-screenshot_3.10.1 and use apt hold to stick it there.
Not a "good" solution technically.
sudo apt remove gnome-screenshot
Download the 3.10 package rather than adding the Trusty repos
sudo apt install ./gnome-screenshot_3.10.1-0ubuntu1_i386.deb
sudo apt-mark hold gnome-screenshot
The previous behaviour of gnome-screenshot (as illustrated in the question) was press PrtScrn, possibly with modifier keys, to take the shot and then the save-as dialogue would come up.
No solution suggested for gnome-screenshot-3.25.0 replicates exactly that. The only way I managed was to install gnome-screenshot_3.10.1 and use apt hold to stick it there.
Not a "good" solution technically.
sudo apt remove gnome-screenshot
Download the 3.10 package rather than adding the Trusty repos
sudo apt install ./gnome-screenshot_3.10.1-0ubuntu1_i386.deb
sudo apt-mark hold gnome-screenshot
answered Jun 9 '18 at 10:01
Matthew MalthouseMatthew Malthouse
211
211
add a comment |
add a comment |
There is no popup [from the hotkey combos] now, but the screenshot tool is still there in Ubuntu 17.10.
You can find it via Activities (in the top left corner) if you type a letter or a few letters, s, sc, scr ...
Click on the camera icon, and you get the screenshot app window.
Can you bind this to the print screen key?
– tttppp
Nov 1 '17 at 14:30
@tttppp, You can try according to this link, askubuntu.com/questions/597395/… ; I don't know if the method is still working in the environment of 17.10.
– sudodus
Nov 1 '17 at 14:35
1
Sorry - I didn't make myself clear. Can you bind the "Take Screenshot" action to a key? Is there a command line parameter you can pass to the Screenshot app that will cause it to take the screenshot? I can run "gnome-screenshot" and it will cause the screen to flash, but I don't have a window pop up, or I can run "gnome-screenshot -i" which will bring up the window you've shown. I'd like to execute a command that does "gnome-screenshot -i" and then 'presses' the green "Take Screenshot" button in one go.
– tttppp
Nov 1 '17 at 16:24
I understand. I cannot find any option to do exactly what you want (tested in Ubuntu 17.10 running Wayland). Either it snaps at once and saves a file with the date and time in the file name, or you come to the first window (which is shown in my answer). I think the fastest action from that window is to press the Enter key, which shoots a snap. After that you can press the Enter key again and save a file with the date and time in the file name, or select another file name and press the Enter key (or click on the green button). -- The PrintScreen key works (but without any interaction).
– sudodus
Nov 1 '17 at 17:58
@tttppp, Does my previous comment answer the questions in your previous comment?
– sudodus
Nov 2 '17 at 7:02
|
show 1 more comment
There is no popup [from the hotkey combos] now, but the screenshot tool is still there in Ubuntu 17.10.
You can find it via Activities (in the top left corner) if you type a letter or a few letters, s, sc, scr ...
Click on the camera icon, and you get the screenshot app window.
Can you bind this to the print screen key?
– tttppp
Nov 1 '17 at 14:30
@tttppp, You can try according to this link, askubuntu.com/questions/597395/… ; I don't know if the method is still working in the environment of 17.10.
– sudodus
Nov 1 '17 at 14:35
1
Sorry - I didn't make myself clear. Can you bind the "Take Screenshot" action to a key? Is there a command line parameter you can pass to the Screenshot app that will cause it to take the screenshot? I can run "gnome-screenshot" and it will cause the screen to flash, but I don't have a window pop up, or I can run "gnome-screenshot -i" which will bring up the window you've shown. I'd like to execute a command that does "gnome-screenshot -i" and then 'presses' the green "Take Screenshot" button in one go.
– tttppp
Nov 1 '17 at 16:24
I understand. I cannot find any option to do exactly what you want (tested in Ubuntu 17.10 running Wayland). Either it snaps at once and saves a file with the date and time in the file name, or you come to the first window (which is shown in my answer). I think the fastest action from that window is to press the Enter key, which shoots a snap. After that you can press the Enter key again and save a file with the date and time in the file name, or select another file name and press the Enter key (or click on the green button). -- The PrintScreen key works (but without any interaction).
– sudodus
Nov 1 '17 at 17:58
@tttppp, Does my previous comment answer the questions in your previous comment?
– sudodus
Nov 2 '17 at 7:02
|
show 1 more comment
There is no popup [from the hotkey combos] now, but the screenshot tool is still there in Ubuntu 17.10.
You can find it via Activities (in the top left corner) if you type a letter or a few letters, s, sc, scr ...
Click on the camera icon, and you get the screenshot app window.
There is no popup [from the hotkey combos] now, but the screenshot tool is still there in Ubuntu 17.10.
You can find it via Activities (in the top left corner) if you type a letter or a few letters, s, sc, scr ...
Click on the camera icon, and you get the screenshot app window.
answered Nov 1 '17 at 10:06
sudodussudodus
25.8k33178
25.8k33178
Can you bind this to the print screen key?
– tttppp
Nov 1 '17 at 14:30
@tttppp, You can try according to this link, askubuntu.com/questions/597395/… ; I don't know if the method is still working in the environment of 17.10.
– sudodus
Nov 1 '17 at 14:35
1
Sorry - I didn't make myself clear. Can you bind the "Take Screenshot" action to a key? Is there a command line parameter you can pass to the Screenshot app that will cause it to take the screenshot? I can run "gnome-screenshot" and it will cause the screen to flash, but I don't have a window pop up, or I can run "gnome-screenshot -i" which will bring up the window you've shown. I'd like to execute a command that does "gnome-screenshot -i" and then 'presses' the green "Take Screenshot" button in one go.
– tttppp
Nov 1 '17 at 16:24
I understand. I cannot find any option to do exactly what you want (tested in Ubuntu 17.10 running Wayland). Either it snaps at once and saves a file with the date and time in the file name, or you come to the first window (which is shown in my answer). I think the fastest action from that window is to press the Enter key, which shoots a snap. After that you can press the Enter key again and save a file with the date and time in the file name, or select another file name and press the Enter key (or click on the green button). -- The PrintScreen key works (but without any interaction).
– sudodus
Nov 1 '17 at 17:58
@tttppp, Does my previous comment answer the questions in your previous comment?
– sudodus
Nov 2 '17 at 7:02
|
show 1 more comment
Can you bind this to the print screen key?
– tttppp
Nov 1 '17 at 14:30
@tttppp, You can try according to this link, askubuntu.com/questions/597395/… ; I don't know if the method is still working in the environment of 17.10.
– sudodus
Nov 1 '17 at 14:35
1
Sorry - I didn't make myself clear. Can you bind the "Take Screenshot" action to a key? Is there a command line parameter you can pass to the Screenshot app that will cause it to take the screenshot? I can run "gnome-screenshot" and it will cause the screen to flash, but I don't have a window pop up, or I can run "gnome-screenshot -i" which will bring up the window you've shown. I'd like to execute a command that does "gnome-screenshot -i" and then 'presses' the green "Take Screenshot" button in one go.
– tttppp
Nov 1 '17 at 16:24
I understand. I cannot find any option to do exactly what you want (tested in Ubuntu 17.10 running Wayland). Either it snaps at once and saves a file with the date and time in the file name, or you come to the first window (which is shown in my answer). I think the fastest action from that window is to press the Enter key, which shoots a snap. After that you can press the Enter key again and save a file with the date and time in the file name, or select another file name and press the Enter key (or click on the green button). -- The PrintScreen key works (but without any interaction).
– sudodus
Nov 1 '17 at 17:58
@tttppp, Does my previous comment answer the questions in your previous comment?
– sudodus
Nov 2 '17 at 7:02
Can you bind this to the print screen key?
– tttppp
Nov 1 '17 at 14:30
Can you bind this to the print screen key?
– tttppp
Nov 1 '17 at 14:30
@tttppp, You can try according to this link, askubuntu.com/questions/597395/… ; I don't know if the method is still working in the environment of 17.10.
– sudodus
Nov 1 '17 at 14:35
@tttppp, You can try according to this link, askubuntu.com/questions/597395/… ; I don't know if the method is still working in the environment of 17.10.
– sudodus
Nov 1 '17 at 14:35
1
1
Sorry - I didn't make myself clear. Can you bind the "Take Screenshot" action to a key? Is there a command line parameter you can pass to the Screenshot app that will cause it to take the screenshot? I can run "gnome-screenshot" and it will cause the screen to flash, but I don't have a window pop up, or I can run "gnome-screenshot -i" which will bring up the window you've shown. I'd like to execute a command that does "gnome-screenshot -i" and then 'presses' the green "Take Screenshot" button in one go.
– tttppp
Nov 1 '17 at 16:24
Sorry - I didn't make myself clear. Can you bind the "Take Screenshot" action to a key? Is there a command line parameter you can pass to the Screenshot app that will cause it to take the screenshot? I can run "gnome-screenshot" and it will cause the screen to flash, but I don't have a window pop up, or I can run "gnome-screenshot -i" which will bring up the window you've shown. I'd like to execute a command that does "gnome-screenshot -i" and then 'presses' the green "Take Screenshot" button in one go.
– tttppp
Nov 1 '17 at 16:24
I understand. I cannot find any option to do exactly what you want (tested in Ubuntu 17.10 running Wayland). Either it snaps at once and saves a file with the date and time in the file name, or you come to the first window (which is shown in my answer). I think the fastest action from that window is to press the Enter key, which shoots a snap. After that you can press the Enter key again and save a file with the date and time in the file name, or select another file name and press the Enter key (or click on the green button). -- The PrintScreen key works (but without any interaction).
– sudodus
Nov 1 '17 at 17:58
I understand. I cannot find any option to do exactly what you want (tested in Ubuntu 17.10 running Wayland). Either it snaps at once and saves a file with the date and time in the file name, or you come to the first window (which is shown in my answer). I think the fastest action from that window is to press the Enter key, which shoots a snap. After that you can press the Enter key again and save a file with the date and time in the file name, or select another file name and press the Enter key (or click on the green button). -- The PrintScreen key works (but without any interaction).
– sudodus
Nov 1 '17 at 17:58
@tttppp, Does my previous comment answer the questions in your previous comment?
– sudodus
Nov 2 '17 at 7:02
@tttppp, Does my previous comment answer the questions in your previous comment?
– sudodus
Nov 2 '17 at 7:02
|
show 1 more comment
This script:
- Take screenshot of an area
- Copy it to clipboard (automatically)
- Show image
- Let you save it wherever you want
Step 1:
Create prtscr-chooser.sh
file
gnome-screenshot -a -f ~/temporary-screenshot #take screenshot of an area
xclip -selection clipboard -t image/png -i temporary-screenshot #copy to clipboard
eog ~/temporary-screenshot #open figure
SCREENSHOT=$(zenity --file-selection --save --confirm-overwrite) #get path to save
mv ~/temporary-screenshot "$SCREENSHOT"".png" #save
Let it executable:
chmod +x prtscr-chooser.sh
Step 2
Assign the script to Print Screen:
- Open Settings > Devices > Keyboard.
- Unbind Print Screen, i.e. change or remove the shortcut for 'Save a screenshot to Pictures'.
- Scroll down to the bottom.
- Click the '+' symbol. A dialogue should pop up.
- Enter any name you like in the 'Name' box.
- Enter full path to the script in the 'Command' box, i.e. in this case enter
/home/YOUR-USERNAME/prtscr-chooser.sh
(your actual username in place ofYOUR-USERNAME
). - Click the 'Set Shortcut...' button and press Print Screen.
- Log out and log in again.
(You can follow the same method to assign the script the some other keyboard combination, e.g. Shift+Print Screen)
This method I am trying but not working ,
– Bapi Saha
Apr 4 at 10:01
add a comment |
This script:
- Take screenshot of an area
- Copy it to clipboard (automatically)
- Show image
- Let you save it wherever you want
Step 1:
Create prtscr-chooser.sh
file
gnome-screenshot -a -f ~/temporary-screenshot #take screenshot of an area
xclip -selection clipboard -t image/png -i temporary-screenshot #copy to clipboard
eog ~/temporary-screenshot #open figure
SCREENSHOT=$(zenity --file-selection --save --confirm-overwrite) #get path to save
mv ~/temporary-screenshot "$SCREENSHOT"".png" #save
Let it executable:
chmod +x prtscr-chooser.sh
Step 2
Assign the script to Print Screen:
- Open Settings > Devices > Keyboard.
- Unbind Print Screen, i.e. change or remove the shortcut for 'Save a screenshot to Pictures'.
- Scroll down to the bottom.
- Click the '+' symbol. A dialogue should pop up.
- Enter any name you like in the 'Name' box.
- Enter full path to the script in the 'Command' box, i.e. in this case enter
/home/YOUR-USERNAME/prtscr-chooser.sh
(your actual username in place ofYOUR-USERNAME
). - Click the 'Set Shortcut...' button and press Print Screen.
- Log out and log in again.
(You can follow the same method to assign the script the some other keyboard combination, e.g. Shift+Print Screen)
This method I am trying but not working ,
– Bapi Saha
Apr 4 at 10:01
add a comment |
This script:
- Take screenshot of an area
- Copy it to clipboard (automatically)
- Show image
- Let you save it wherever you want
Step 1:
Create prtscr-chooser.sh
file
gnome-screenshot -a -f ~/temporary-screenshot #take screenshot of an area
xclip -selection clipboard -t image/png -i temporary-screenshot #copy to clipboard
eog ~/temporary-screenshot #open figure
SCREENSHOT=$(zenity --file-selection --save --confirm-overwrite) #get path to save
mv ~/temporary-screenshot "$SCREENSHOT"".png" #save
Let it executable:
chmod +x prtscr-chooser.sh
Step 2
Assign the script to Print Screen:
- Open Settings > Devices > Keyboard.
- Unbind Print Screen, i.e. change or remove the shortcut for 'Save a screenshot to Pictures'.
- Scroll down to the bottom.
- Click the '+' symbol. A dialogue should pop up.
- Enter any name you like in the 'Name' box.
- Enter full path to the script in the 'Command' box, i.e. in this case enter
/home/YOUR-USERNAME/prtscr-chooser.sh
(your actual username in place ofYOUR-USERNAME
). - Click the 'Set Shortcut...' button and press Print Screen.
- Log out and log in again.
(You can follow the same method to assign the script the some other keyboard combination, e.g. Shift+Print Screen)
This script:
- Take screenshot of an area
- Copy it to clipboard (automatically)
- Show image
- Let you save it wherever you want
Step 1:
Create prtscr-chooser.sh
file
gnome-screenshot -a -f ~/temporary-screenshot #take screenshot of an area
xclip -selection clipboard -t image/png -i temporary-screenshot #copy to clipboard
eog ~/temporary-screenshot #open figure
SCREENSHOT=$(zenity --file-selection --save --confirm-overwrite) #get path to save
mv ~/temporary-screenshot "$SCREENSHOT"".png" #save
Let it executable:
chmod +x prtscr-chooser.sh
Step 2
Assign the script to Print Screen:
- Open Settings > Devices > Keyboard.
- Unbind Print Screen, i.e. change or remove the shortcut for 'Save a screenshot to Pictures'.
- Scroll down to the bottom.
- Click the '+' symbol. A dialogue should pop up.
- Enter any name you like in the 'Name' box.
- Enter full path to the script in the 'Command' box, i.e. in this case enter
/home/YOUR-USERNAME/prtscr-chooser.sh
(your actual username in place ofYOUR-USERNAME
). - Click the 'Set Shortcut...' button and press Print Screen.
- Log out and log in again.
(You can follow the same method to assign the script the some other keyboard combination, e.g. Shift+Print Screen)
edited Jan 11 at 18:09
answered Jan 9 at 23:06
Vitor AbellaVitor Abella
2,991113264
2,991113264
This method I am trying but not working ,
– Bapi Saha
Apr 4 at 10:01
add a comment |
This method I am trying but not working ,
– Bapi Saha
Apr 4 at 10:01
This method I am trying but not working ,
– Bapi Saha
Apr 4 at 10:01
This method I am trying but not working ,
– Bapi Saha
Apr 4 at 10:01
add a comment |
Take a look at Shutter, it do very well. Screen, window, or area of screen screenshots with various options. Sit in tray and waiting for click or keyboard shortcut. You can rename file or configure auto naming. Here are screenshot of main options window.
add a comment |
Take a look at Shutter, it do very well. Screen, window, or area of screen screenshots with various options. Sit in tray and waiting for click or keyboard shortcut. You can rename file or configure auto naming. Here are screenshot of main options window.
add a comment |
Take a look at Shutter, it do very well. Screen, window, or area of screen screenshots with various options. Sit in tray and waiting for click or keyboard shortcut. You can rename file or configure auto naming. Here are screenshot of main options window.
Take a look at Shutter, it do very well. Screen, window, or area of screen screenshots with various options. Sit in tray and waiting for click or keyboard shortcut. You can rename file or configure auto naming. Here are screenshot of main options window.
answered Jan 11 at 18:40
LeonidMewLeonidMew
1,235624
1,235624
add a comment |
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%2f975339%2fhow-do-i-make-my-screenshot-ask-me-what-to-do-next-every-time%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