flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
24.55k stars 1.57k forks source link

Please allow copying to the clipboard a pinned capture #1996

Closed elad2109 closed 2 years ago

elad2109 commented 2 years ago

Often times I create a pinned capture, which I want to save to the clipboard as well.

Please allow ctrl + c to copy a pinned capture as well.

veracioux commented 2 years ago

This is a duplicate of #1007.

I proposed a solution in https://github.com/flameshot-org/flameshot/issues/954#issuecomment-941045559. Please vote for that comment if you would like it implemented the way I proposed.

mmahmoudian commented 2 years ago

@elad2109 I think you already can do that easily but not post-capture though. This is something that recently have been added by @veracioux in #1970. if you build from master or use AUR, you can use flameshot gui --pin --clipboard to pin the capture and send it to clipboard at the same time (note that you should press Enter as you have defined the "final action" in the CLI and Ctrl+c and etc. does not work). I personally also accompany it with the --accept-on-select to instantly finish capture when I have selected the capture region.

elad2109 commented 2 years ago

@mmahmoudian Thanks for the reply.

1) or use AUR How can I use this? I use the official last release. I don't know how to build from master. 2) when I have selected the capture region. I'm not sure I understand. You capture and a new capture region dismiss the pinned capture?

mmahmoudian commented 2 years ago

or use AUR How can I use this?

AUR stands for Arch User Repository. Basically you get the benefit if and only if you are using an Arch-based Linux (e.g Manjaro, Arco, Garuda, Artix).

I use the official last release

This feature will be in the next official release. So if you want to use the official releases and Snaps and Flatpaks you should wait a bit until we manage to sort things out and get the release ready.

I don't know how to build from master.

It is extremely easy if you are on Linux, and I have no idea about Windows. For Linux it would take about 2 minutes:

  1. make sure you have installed the dependencies based on this link
  2. open terminal
  3. go to a folder (e.g /tmp)
  4. clone the repo: git clone https://github.com/flameshot-org/flameshot.git
  5. when cloning is done, go to the cloned folder: cd flameshot
  6. run the following line by line:
    
    # create a folder to compile into
    mkdir build
    cd build

run the cmake

cmake ../

this would take one minute or so

make -j$(nproc --ignore 1) install



You can find more information here:
https://flameshot.org/guide/installation/compilation/

Alternatively you can download AppImage:

https://we.tl/t-aDkpH55q7x