Skip to content

Feature request: Copy to clipboard #356

@bgenc

Description

@bgenc
Expected Behavior

Currently we can click on the copy button in the application to copy a screenshot
to the clipboard. However, when used with the -m option, the window never appears
and clicking the button requires to first restore the window. Then you must close the window
after clickling the copy button. This is very tedious, and should be done automatically
(with an option). For example, calling screengrab -rmc can copy a region of the screen
to the clipboard, without interacting with the application. -c here automates the process.

Current Behavior

As explained above, the current flow is, you open the application, click on the copy
button and then close the application. With a new parameter, this can be automated.

Possible Solution

A new parameter -c will automatically copy the screenshot to the clipboard.
It behaves as if the user clicked the copy button.

Steps to Reproduce (for bugs)
Context

I am frequently taking partial screenshots of my screen through operating system
shortcuts and pasting them into whatsapp, gimp, etc. Without this feature, I have
to interact with the screengrab window everytime. This is a big problem for me
as I use i3wm with autotiling and everytime a new window is opened the existing
windows are affected from this. They get resized and moved. Sometimes I can
even lose the content I would take a screenshot of.

System Information
  • Distribution & Version: Endeavour OS, i3wm
  • Kernel: 6.5.9-arch2-1
  • Qt Version: qt5-base 5.15.11+kde+r138-1
  • libqtxdg Version: libqtxdg 3.12.0-1
  • lxqt-build-tools Version: none
  • Package version: screengrab 2.7.0-1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions