how do I exit from xfce4-screenshooter -r without taking a picture?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
so I'm been trying to simulate Xubuntu to work similarly to the stuff I often do on my MacBookPro. One of the things I often do is to create a screenshot of a region and on xUbuntu, this is done via:
xfce4-screenshooter -r
My question is: if I pressed the shortcut combination by mistake, how do I exit without taking a pic? On the Mac, this can be done via the escape key or perhaps right-clicking using the mouse (not sure now. but can confirm in a bit).
I've searched the net before asking but nothing useful comes up.
Thanks a lot.
edit: Pressing the "escape" key works the first time. but if I press the shortcut again, "escape" key doesn't work anymore.
xubuntu xfce screenshot
add a comment |
so I'm been trying to simulate Xubuntu to work similarly to the stuff I often do on my MacBookPro. One of the things I often do is to create a screenshot of a region and on xUbuntu, this is done via:
xfce4-screenshooter -r
My question is: if I pressed the shortcut combination by mistake, how do I exit without taking a pic? On the Mac, this can be done via the escape key or perhaps right-clicking using the mouse (not sure now. but can confirm in a bit).
I've searched the net before asking but nothing useful comes up.
Thanks a lot.
edit: Pressing the "escape" key works the first time. but if I press the shortcut again, "escape" key doesn't work anymore.
xubuntu xfce screenshot
2
Pressing Esc cancels the screenshot just fine for me.
– muru
Mar 12 '16 at 10:39
I just tried it again. seems to work the first time. but if I press the shortcut again, "escape" key doesn't work anymore.
– mrjayviper
Mar 12 '16 at 10:51
1
I can reproduce this issue sometimes, when runningxfce4-screenshooter -rin Xfce 4.10 by using keyboard shortcuts. This issue doesn't occur if the command is run from Terminal or application launcher.
– clearkimura
Mar 13 '16 at 12:58
add a comment |
so I'm been trying to simulate Xubuntu to work similarly to the stuff I often do on my MacBookPro. One of the things I often do is to create a screenshot of a region and on xUbuntu, this is done via:
xfce4-screenshooter -r
My question is: if I pressed the shortcut combination by mistake, how do I exit without taking a pic? On the Mac, this can be done via the escape key or perhaps right-clicking using the mouse (not sure now. but can confirm in a bit).
I've searched the net before asking but nothing useful comes up.
Thanks a lot.
edit: Pressing the "escape" key works the first time. but if I press the shortcut again, "escape" key doesn't work anymore.
xubuntu xfce screenshot
so I'm been trying to simulate Xubuntu to work similarly to the stuff I often do on my MacBookPro. One of the things I often do is to create a screenshot of a region and on xUbuntu, this is done via:
xfce4-screenshooter -r
My question is: if I pressed the shortcut combination by mistake, how do I exit without taking a pic? On the Mac, this can be done via the escape key or perhaps right-clicking using the mouse (not sure now. but can confirm in a bit).
I've searched the net before asking but nothing useful comes up.
Thanks a lot.
edit: Pressing the "escape" key works the first time. but if I press the shortcut again, "escape" key doesn't work anymore.
xubuntu xfce screenshot
xubuntu xfce screenshot
edited Mar 12 '16 at 10:52
mrjayviper
asked Mar 12 '16 at 10:15
mrjayvipermrjayviper
5152927
5152927
2
Pressing Esc cancels the screenshot just fine for me.
– muru
Mar 12 '16 at 10:39
I just tried it again. seems to work the first time. but if I press the shortcut again, "escape" key doesn't work anymore.
– mrjayviper
Mar 12 '16 at 10:51
1
I can reproduce this issue sometimes, when runningxfce4-screenshooter -rin Xfce 4.10 by using keyboard shortcuts. This issue doesn't occur if the command is run from Terminal or application launcher.
– clearkimura
Mar 13 '16 at 12:58
add a comment |
2
Pressing Esc cancels the screenshot just fine for me.
– muru
Mar 12 '16 at 10:39
I just tried it again. seems to work the first time. but if I press the shortcut again, "escape" key doesn't work anymore.
– mrjayviper
Mar 12 '16 at 10:51
1
I can reproduce this issue sometimes, when runningxfce4-screenshooter -rin Xfce 4.10 by using keyboard shortcuts. This issue doesn't occur if the command is run from Terminal or application launcher.
– clearkimura
Mar 13 '16 at 12:58
2
2
Pressing Esc cancels the screenshot just fine for me.
– muru
Mar 12 '16 at 10:39
Pressing Esc cancels the screenshot just fine for me.
– muru
Mar 12 '16 at 10:39
I just tried it again. seems to work the first time. but if I press the shortcut again, "escape" key doesn't work anymore.
– mrjayviper
Mar 12 '16 at 10:51
I just tried it again. seems to work the first time. but if I press the shortcut again, "escape" key doesn't work anymore.
– mrjayviper
Mar 12 '16 at 10:51
1
1
I can reproduce this issue sometimes, when running
xfce4-screenshooter -r in Xfce 4.10 by using keyboard shortcuts. This issue doesn't occur if the command is run from Terminal or application launcher.– clearkimura
Mar 13 '16 at 12:58
I can reproduce this issue sometimes, when running
xfce4-screenshooter -r in Xfce 4.10 by using keyboard shortcuts. This issue doesn't occur if the command is run from Terminal or application launcher.– clearkimura
Mar 13 '16 at 12:58
add a comment |
2 Answers
2
active
oldest
votes
The command to do this (or for any unresponsive app) is killall <application name> So, in your case it will be killall xfce4-screenshooter How do you do this?
Set up a keyboard shortcut for this command. Whenever you accidentally press the keyboard combination for xfce4-screenshooter -r, simply press Escape or the shortcut you created for killall xfce4-screenshooter.
Found this here (Look at the second comment).
+1 because this worked for me recently, using shortcut forkillall xfce4-screenshooterwhen the application failed to exit withEsckey.
– clearkimura
May 15 '16 at 9:35
add a comment |
Use timeout command to run the screenshot tool with a time limit.
Add a new application shortcut with the following command.
timeout 15 bash -c 'xfce4-screenshooter -r -s $HOME'
Then, press any keyboard keys of choice for the command shortcut. I had used Shift+Print keys in my testing. Now press again the keys to invoke the command.
Why those options
-s PATH is to specify directory at PATH where the screenshot will be saved. This option will skip the dialog to select action i.e. save, copy to clipboard that is shown before "Save As" dialog. This will reduce user interaction by several seconds.
bash -c '... $HOME' is to specify the environmental variable of Home directory of current user, using bash shell. This is convenient, rather than using direct path as /home/USERNAME.
Wait or kill
When timeout has reached the duration, the specified command i.e. Screenshooter will be terminated, regardless of screenshot has been taken and saved or otherwise. The command doesn't require a separate shortcut to exit the application. Wait for specified duration to exit on its own.
If the specified duration is quite long to wait, user can either:
Change the timeout duration from
15to smaller value in secondsExit immediately by using the shortcut keys for
killall xfce4-screenshooteras suggested by @linuxode
The latter seems to be an easier workaround, rather than changing the timeout duration that depends on time taken by user to select a region and saving the screenshot with different name, if any. This is why I had suggested 15 seconds and not lesser than that.
Even better, set optimal duration (neither too short nor too long for user to wait) and use both of the workarounds that will allow user to either "wait or kill", to exit Screenshooter in Xfce.
Disclaimer: This answer suggests a workaround, not a definite solution. The best answer would be to use Esc key that is supposed to work properly with Screenshooter in Xfce. I'm unsure if the said issue is still occurring in Xfce newer than 4.10 or else.
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%2f745044%2fhow-do-i-exit-from-xfce4-screenshooter-r-without-taking-a-picture%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
The command to do this (or for any unresponsive app) is killall <application name> So, in your case it will be killall xfce4-screenshooter How do you do this?
Set up a keyboard shortcut for this command. Whenever you accidentally press the keyboard combination for xfce4-screenshooter -r, simply press Escape or the shortcut you created for killall xfce4-screenshooter.
Found this here (Look at the second comment).
+1 because this worked for me recently, using shortcut forkillall xfce4-screenshooterwhen the application failed to exit withEsckey.
– clearkimura
May 15 '16 at 9:35
add a comment |
The command to do this (or for any unresponsive app) is killall <application name> So, in your case it will be killall xfce4-screenshooter How do you do this?
Set up a keyboard shortcut for this command. Whenever you accidentally press the keyboard combination for xfce4-screenshooter -r, simply press Escape or the shortcut you created for killall xfce4-screenshooter.
Found this here (Look at the second comment).
+1 because this worked for me recently, using shortcut forkillall xfce4-screenshooterwhen the application failed to exit withEsckey.
– clearkimura
May 15 '16 at 9:35
add a comment |
The command to do this (or for any unresponsive app) is killall <application name> So, in your case it will be killall xfce4-screenshooter How do you do this?
Set up a keyboard shortcut for this command. Whenever you accidentally press the keyboard combination for xfce4-screenshooter -r, simply press Escape or the shortcut you created for killall xfce4-screenshooter.
Found this here (Look at the second comment).
The command to do this (or for any unresponsive app) is killall <application name> So, in your case it will be killall xfce4-screenshooter How do you do this?
Set up a keyboard shortcut for this command. Whenever you accidentally press the keyboard combination for xfce4-screenshooter -r, simply press Escape or the shortcut you created for killall xfce4-screenshooter.
Found this here (Look at the second comment).
answered Mar 12 '16 at 10:52
x__xx__x
274112
274112
+1 because this worked for me recently, using shortcut forkillall xfce4-screenshooterwhen the application failed to exit withEsckey.
– clearkimura
May 15 '16 at 9:35
add a comment |
+1 because this worked for me recently, using shortcut forkillall xfce4-screenshooterwhen the application failed to exit withEsckey.
– clearkimura
May 15 '16 at 9:35
+1 because this worked for me recently, using shortcut for
killall xfce4-screenshooter when the application failed to exit with Esc key.– clearkimura
May 15 '16 at 9:35
+1 because this worked for me recently, using shortcut for
killall xfce4-screenshooter when the application failed to exit with Esc key.– clearkimura
May 15 '16 at 9:35
add a comment |
Use timeout command to run the screenshot tool with a time limit.
Add a new application shortcut with the following command.
timeout 15 bash -c 'xfce4-screenshooter -r -s $HOME'
Then, press any keyboard keys of choice for the command shortcut. I had used Shift+Print keys in my testing. Now press again the keys to invoke the command.
Why those options
-s PATH is to specify directory at PATH where the screenshot will be saved. This option will skip the dialog to select action i.e. save, copy to clipboard that is shown before "Save As" dialog. This will reduce user interaction by several seconds.
bash -c '... $HOME' is to specify the environmental variable of Home directory of current user, using bash shell. This is convenient, rather than using direct path as /home/USERNAME.
Wait or kill
When timeout has reached the duration, the specified command i.e. Screenshooter will be terminated, regardless of screenshot has been taken and saved or otherwise. The command doesn't require a separate shortcut to exit the application. Wait for specified duration to exit on its own.
If the specified duration is quite long to wait, user can either:
Change the timeout duration from
15to smaller value in secondsExit immediately by using the shortcut keys for
killall xfce4-screenshooteras suggested by @linuxode
The latter seems to be an easier workaround, rather than changing the timeout duration that depends on time taken by user to select a region and saving the screenshot with different name, if any. This is why I had suggested 15 seconds and not lesser than that.
Even better, set optimal duration (neither too short nor too long for user to wait) and use both of the workarounds that will allow user to either "wait or kill", to exit Screenshooter in Xfce.
Disclaimer: This answer suggests a workaround, not a definite solution. The best answer would be to use Esc key that is supposed to work properly with Screenshooter in Xfce. I'm unsure if the said issue is still occurring in Xfce newer than 4.10 or else.
add a comment |
Use timeout command to run the screenshot tool with a time limit.
Add a new application shortcut with the following command.
timeout 15 bash -c 'xfce4-screenshooter -r -s $HOME'
Then, press any keyboard keys of choice for the command shortcut. I had used Shift+Print keys in my testing. Now press again the keys to invoke the command.
Why those options
-s PATH is to specify directory at PATH where the screenshot will be saved. This option will skip the dialog to select action i.e. save, copy to clipboard that is shown before "Save As" dialog. This will reduce user interaction by several seconds.
bash -c '... $HOME' is to specify the environmental variable of Home directory of current user, using bash shell. This is convenient, rather than using direct path as /home/USERNAME.
Wait or kill
When timeout has reached the duration, the specified command i.e. Screenshooter will be terminated, regardless of screenshot has been taken and saved or otherwise. The command doesn't require a separate shortcut to exit the application. Wait for specified duration to exit on its own.
If the specified duration is quite long to wait, user can either:
Change the timeout duration from
15to smaller value in secondsExit immediately by using the shortcut keys for
killall xfce4-screenshooteras suggested by @linuxode
The latter seems to be an easier workaround, rather than changing the timeout duration that depends on time taken by user to select a region and saving the screenshot with different name, if any. This is why I had suggested 15 seconds and not lesser than that.
Even better, set optimal duration (neither too short nor too long for user to wait) and use both of the workarounds that will allow user to either "wait or kill", to exit Screenshooter in Xfce.
Disclaimer: This answer suggests a workaround, not a definite solution. The best answer would be to use Esc key that is supposed to work properly with Screenshooter in Xfce. I'm unsure if the said issue is still occurring in Xfce newer than 4.10 or else.
add a comment |
Use timeout command to run the screenshot tool with a time limit.
Add a new application shortcut with the following command.
timeout 15 bash -c 'xfce4-screenshooter -r -s $HOME'
Then, press any keyboard keys of choice for the command shortcut. I had used Shift+Print keys in my testing. Now press again the keys to invoke the command.
Why those options
-s PATH is to specify directory at PATH where the screenshot will be saved. This option will skip the dialog to select action i.e. save, copy to clipboard that is shown before "Save As" dialog. This will reduce user interaction by several seconds.
bash -c '... $HOME' is to specify the environmental variable of Home directory of current user, using bash shell. This is convenient, rather than using direct path as /home/USERNAME.
Wait or kill
When timeout has reached the duration, the specified command i.e. Screenshooter will be terminated, regardless of screenshot has been taken and saved or otherwise. The command doesn't require a separate shortcut to exit the application. Wait for specified duration to exit on its own.
If the specified duration is quite long to wait, user can either:
Change the timeout duration from
15to smaller value in secondsExit immediately by using the shortcut keys for
killall xfce4-screenshooteras suggested by @linuxode
The latter seems to be an easier workaround, rather than changing the timeout duration that depends on time taken by user to select a region and saving the screenshot with different name, if any. This is why I had suggested 15 seconds and not lesser than that.
Even better, set optimal duration (neither too short nor too long for user to wait) and use both of the workarounds that will allow user to either "wait or kill", to exit Screenshooter in Xfce.
Disclaimer: This answer suggests a workaround, not a definite solution. The best answer would be to use Esc key that is supposed to work properly with Screenshooter in Xfce. I'm unsure if the said issue is still occurring in Xfce newer than 4.10 or else.
Use timeout command to run the screenshot tool with a time limit.
Add a new application shortcut with the following command.
timeout 15 bash -c 'xfce4-screenshooter -r -s $HOME'
Then, press any keyboard keys of choice for the command shortcut. I had used Shift+Print keys in my testing. Now press again the keys to invoke the command.
Why those options
-s PATH is to specify directory at PATH where the screenshot will be saved. This option will skip the dialog to select action i.e. save, copy to clipboard that is shown before "Save As" dialog. This will reduce user interaction by several seconds.
bash -c '... $HOME' is to specify the environmental variable of Home directory of current user, using bash shell. This is convenient, rather than using direct path as /home/USERNAME.
Wait or kill
When timeout has reached the duration, the specified command i.e. Screenshooter will be terminated, regardless of screenshot has been taken and saved or otherwise. The command doesn't require a separate shortcut to exit the application. Wait for specified duration to exit on its own.
If the specified duration is quite long to wait, user can either:
Change the timeout duration from
15to smaller value in secondsExit immediately by using the shortcut keys for
killall xfce4-screenshooteras suggested by @linuxode
The latter seems to be an easier workaround, rather than changing the timeout duration that depends on time taken by user to select a region and saving the screenshot with different name, if any. This is why I had suggested 15 seconds and not lesser than that.
Even better, set optimal duration (neither too short nor too long for user to wait) and use both of the workarounds that will allow user to either "wait or kill", to exit Screenshooter in Xfce.
Disclaimer: This answer suggests a workaround, not a definite solution. The best answer would be to use Esc key that is supposed to work properly with Screenshooter in Xfce. I'm unsure if the said issue is still occurring in Xfce newer than 4.10 or else.
edited Mar 29 at 9:45
answered May 15 '16 at 11:09
clearkimuraclearkimura
4,30821958
4,30821958
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%2f745044%2fhow-do-i-exit-from-xfce4-screenshooter-r-without-taking-a-picture%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
2
Pressing Esc cancels the screenshot just fine for me.
– muru
Mar 12 '16 at 10:39
I just tried it again. seems to work the first time. but if I press the shortcut again, "escape" key doesn't work anymore.
– mrjayviper
Mar 12 '16 at 10:51
1
I can reproduce this issue sometimes, when running
xfce4-screenshooter -rin Xfce 4.10 by using keyboard shortcuts. This issue doesn't occur if the command is run from Terminal or application launcher.– clearkimura
Mar 13 '16 at 12:58