How can I save and copy a screenhot at the same time? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Can anyone tell me how to get the same Gnome desktop environment as the one in the photo?Is there a setting to turn off the dialog box when making screenshots?Faster partial screenshot workflowUbuntu Crashes after Screenshotgnome-screenshot — All I see is my wallpaper in the screenshotHow to get rid of grey area after gnome-screenshot being executedHow do I make my screenshot ask me what to do next every time?Snipping tool with highlight/write functionality?Can gnome-screenshot save freehand selected shots?Disable Autosave when taking screenshot on UBUNTU 18.04

Is multiple magic items in one inherently imbalanced?

Relating to the President and obstruction, were Mueller's conclusions preordained?

Co-worker has annoying ringtone

Moving a wrapfig vertically to encroach partially on a subsection title

what is the log of the PDF for a Normal Distribution?

If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?

Why weren't discrete x86 CPUs ever used in game hardware?

What is the "studentd" process?

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?

Why do early math courses focus on the cross sections of a cone and not on other 3D objects?

Why complex landing gears are used instead of simple,reliability and light weight muscle wire or shape memory alloys?

New Order #6: Easter Egg

Does the Black Tentacles spell do damage twice at the start of turn to an already restrained creature?

How to ask rejected full-time candidates to apply to teach individual courses?

Why is a lens darker than other ones when applying the same settings?

The test team as an enemy of development? And how can this be avoided?

License to disallow distribution in closed source software, but allow exceptions made by owner?

I can't produce songs

Weaponising the Grasp-at-a-Distance spell

What does it mean that physics no longer uses mechanical models to describe phenomena?

Can two people see the same photon?

Random body shuffle every night—can we still function?

What are the main differences between Stargate SG-1 cuts?



How can I save and copy a screenhot at the same time?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Can anyone tell me how to get the same Gnome desktop environment as the one in the photo?Is there a setting to turn off the dialog box when making screenshots?Faster partial screenshot workflowUbuntu Crashes after Screenshotgnome-screenshot — All I see is my wallpaper in the screenshotHow to get rid of grey area after gnome-screenshot being executedHow do I make my screenshot ask me what to do next every time?Snipping tool with highlight/write functionality?Can gnome-screenshot save freehand selected shots?Disable Autosave when taking screenshot on UBUNTU 18.04



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








2















Ive been trying to use gnome-screenshot like so



gnome-screenshot -acf $(date +%y_%h_%d_%H_%M_%S)



if I use the copy argument gnome-screenshot will not save. Am I missing something?










share|improve this question







New contributor




rupert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 2





    I don't think you're missing anything, it seems -c and -f don't work together.

    – pomsky
    3 hours ago

















2















Ive been trying to use gnome-screenshot like so



gnome-screenshot -acf $(date +%y_%h_%d_%H_%M_%S)



if I use the copy argument gnome-screenshot will not save. Am I missing something?










share|improve this question







New contributor




rupert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 2





    I don't think you're missing anything, it seems -c and -f don't work together.

    – pomsky
    3 hours ago













2












2








2


1






Ive been trying to use gnome-screenshot like so



gnome-screenshot -acf $(date +%y_%h_%d_%H_%M_%S)



if I use the copy argument gnome-screenshot will not save. Am I missing something?










share|improve this question







New contributor




rupert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












Ive been trying to use gnome-screenshot like so



gnome-screenshot -acf $(date +%y_%h_%d_%H_%M_%S)



if I use the copy argument gnome-screenshot will not save. Am I missing something?







gnome screenshot gnome-screenshot






share|improve this question







New contributor




rupert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




rupert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




rupert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 3 hours ago









rupertrupert

132




132




New contributor




rupert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





rupert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






rupert is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 2





    I don't think you're missing anything, it seems -c and -f don't work together.

    – pomsky
    3 hours ago












  • 2





    I don't think you're missing anything, it seems -c and -f don't work together.

    – pomsky
    3 hours ago







2




2





I don't think you're missing anything, it seems -c and -f don't work together.

– pomsky
3 hours ago





I don't think you're missing anything, it seems -c and -f don't work together.

– pomsky
3 hours ago










1 Answer
1






active

oldest

votes


















2














The -f is cancelled by the -c:



OPTIONS
-c, --clipboard
Send the grab directly to the clipboard.

-f, --file=FILENAME
Save screenshot directly to this file.


The file will be stored in memory, not on disk, when -c is used: if you open Libreoffice writer and paste you will see your image.




How can I save and copy a screenshot at the same time?




edit1: bugreport #1446650 but nobody bothered to follow up on this.
edit2: I found a way around it by using xclip. Install with ...



sudo apt install xclip


and expand your command with a variable holding date and time and 2 commands:



DATE=`date '+%Y-%m-%d_%H:%M:%S'`
sleep 5 && gnome-screenshot -af $DATE && xclip -selection clipboard -t image/png -i $DATE





share|improve this answer

























  • Thanks! That does work in terminal, but it's not working as a keyboard shortcut. Even more troubling than that, when I try to assign the shortcut to the printscreen key a screenshot is taken instead. I disabled the screenshot shortcuts so I'm not sure why I cant use the printscreen key.

    – rupert
    1 hour ago












  • Convert the code into a script, make it executable, and then assign a keyboard shortcut to that script.

    – DK Bose
    45 mins ago











  • @DKBose That worked, thank you!

    – rupert
    20 mins ago











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
);



);






rupert is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1135631%2fhow-can-i-save-and-copy-a-screenhot-at-the-same-time%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














The -f is cancelled by the -c:



OPTIONS
-c, --clipboard
Send the grab directly to the clipboard.

-f, --file=FILENAME
Save screenshot directly to this file.


The file will be stored in memory, not on disk, when -c is used: if you open Libreoffice writer and paste you will see your image.




How can I save and copy a screenshot at the same time?




edit1: bugreport #1446650 but nobody bothered to follow up on this.
edit2: I found a way around it by using xclip. Install with ...



sudo apt install xclip


and expand your command with a variable holding date and time and 2 commands:



DATE=`date '+%Y-%m-%d_%H:%M:%S'`
sleep 5 && gnome-screenshot -af $DATE && xclip -selection clipboard -t image/png -i $DATE





share|improve this answer

























  • Thanks! That does work in terminal, but it's not working as a keyboard shortcut. Even more troubling than that, when I try to assign the shortcut to the printscreen key a screenshot is taken instead. I disabled the screenshot shortcuts so I'm not sure why I cant use the printscreen key.

    – rupert
    1 hour ago












  • Convert the code into a script, make it executable, and then assign a keyboard shortcut to that script.

    – DK Bose
    45 mins ago











  • @DKBose That worked, thank you!

    – rupert
    20 mins ago















2














The -f is cancelled by the -c:



OPTIONS
-c, --clipboard
Send the grab directly to the clipboard.

-f, --file=FILENAME
Save screenshot directly to this file.


The file will be stored in memory, not on disk, when -c is used: if you open Libreoffice writer and paste you will see your image.




How can I save and copy a screenshot at the same time?




edit1: bugreport #1446650 but nobody bothered to follow up on this.
edit2: I found a way around it by using xclip. Install with ...



sudo apt install xclip


and expand your command with a variable holding date and time and 2 commands:



DATE=`date '+%Y-%m-%d_%H:%M:%S'`
sleep 5 && gnome-screenshot -af $DATE && xclip -selection clipboard -t image/png -i $DATE





share|improve this answer

























  • Thanks! That does work in terminal, but it's not working as a keyboard shortcut. Even more troubling than that, when I try to assign the shortcut to the printscreen key a screenshot is taken instead. I disabled the screenshot shortcuts so I'm not sure why I cant use the printscreen key.

    – rupert
    1 hour ago












  • Convert the code into a script, make it executable, and then assign a keyboard shortcut to that script.

    – DK Bose
    45 mins ago











  • @DKBose That worked, thank you!

    – rupert
    20 mins ago













2












2








2







The -f is cancelled by the -c:



OPTIONS
-c, --clipboard
Send the grab directly to the clipboard.

-f, --file=FILENAME
Save screenshot directly to this file.


The file will be stored in memory, not on disk, when -c is used: if you open Libreoffice writer and paste you will see your image.




How can I save and copy a screenshot at the same time?




edit1: bugreport #1446650 but nobody bothered to follow up on this.
edit2: I found a way around it by using xclip. Install with ...



sudo apt install xclip


and expand your command with a variable holding date and time and 2 commands:



DATE=`date '+%Y-%m-%d_%H:%M:%S'`
sleep 5 && gnome-screenshot -af $DATE && xclip -selection clipboard -t image/png -i $DATE





share|improve this answer















The -f is cancelled by the -c:



OPTIONS
-c, --clipboard
Send the grab directly to the clipboard.

-f, --file=FILENAME
Save screenshot directly to this file.


The file will be stored in memory, not on disk, when -c is used: if you open Libreoffice writer and paste you will see your image.




How can I save and copy a screenshot at the same time?




edit1: bugreport #1446650 but nobody bothered to follow up on this.
edit2: I found a way around it by using xclip. Install with ...



sudo apt install xclip


and expand your command with a variable holding date and time and 2 commands:



DATE=`date '+%Y-%m-%d_%H:%M:%S'`
sleep 5 && gnome-screenshot -af $DATE && xclip -selection clipboard -t image/png -i $DATE






share|improve this answer














share|improve this answer



share|improve this answer








edited 1 hour ago

























answered 2 hours ago









RinzwindRinzwind

211k28406541




211k28406541












  • Thanks! That does work in terminal, but it's not working as a keyboard shortcut. Even more troubling than that, when I try to assign the shortcut to the printscreen key a screenshot is taken instead. I disabled the screenshot shortcuts so I'm not sure why I cant use the printscreen key.

    – rupert
    1 hour ago












  • Convert the code into a script, make it executable, and then assign a keyboard shortcut to that script.

    – DK Bose
    45 mins ago











  • @DKBose That worked, thank you!

    – rupert
    20 mins ago

















  • Thanks! That does work in terminal, but it's not working as a keyboard shortcut. Even more troubling than that, when I try to assign the shortcut to the printscreen key a screenshot is taken instead. I disabled the screenshot shortcuts so I'm not sure why I cant use the printscreen key.

    – rupert
    1 hour ago












  • Convert the code into a script, make it executable, and then assign a keyboard shortcut to that script.

    – DK Bose
    45 mins ago











  • @DKBose That worked, thank you!

    – rupert
    20 mins ago
















Thanks! That does work in terminal, but it's not working as a keyboard shortcut. Even more troubling than that, when I try to assign the shortcut to the printscreen key a screenshot is taken instead. I disabled the screenshot shortcuts so I'm not sure why I cant use the printscreen key.

– rupert
1 hour ago






Thanks! That does work in terminal, but it's not working as a keyboard shortcut. Even more troubling than that, when I try to assign the shortcut to the printscreen key a screenshot is taken instead. I disabled the screenshot shortcuts so I'm not sure why I cant use the printscreen key.

– rupert
1 hour ago














Convert the code into a script, make it executable, and then assign a keyboard shortcut to that script.

– DK Bose
45 mins ago





Convert the code into a script, make it executable, and then assign a keyboard shortcut to that script.

– DK Bose
45 mins ago













@DKBose That worked, thank you!

– rupert
20 mins ago





@DKBose That worked, thank you!

– rupert
20 mins ago










rupert is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















rupert is a new contributor. Be nice, and check out our Code of Conduct.












rupert is a new contributor. Be nice, and check out our Code of Conduct.











rupert is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Ask Ubuntu!


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

But avoid


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

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

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




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1135631%2fhow-can-i-save-and-copy-a-screenhot-at-the-same-time%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

Magento 2 disable Secret Key on URL's from terminal The Next CEO of Stack OverflowMagento 2 Shortcut/GUI tool to perform commandline tasks for windowsIn menu add configuration linkMagento oAuth : Generating access token and access secretMagento 2 security key issue in Third-Party API redirect URIPublic actions in admin controllersHow to Disable Cache in Custom WidgetURL Key not changing in Magento 2Product URL Key gets deleted when importing custom options - Magento 2Problem with reindex terminalMagento 2 - bin/magento Commands not working in Cpanel Terminal

Aasi (pallopeli) Navigointivalikko