DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

DMS Screenshot tool improvements

Open daniel-fs opened this issue 4 months ago • 4 comments

Feature Description

The DMS screenshot tool is currently very simple and gets the job done, but I think that some improvements could potentially make it better and just overall have better QoL.

For starters, it would be nice if the command line options were integrated into the screenshot tool UI. Things like choosing the image format, whether we want a selection, the entire screen, a specific output or all outputs, whether to copy to clipboard or not, whether to save to write the screenshot to disk or not. All of these are possible from the cli tool, but it's not possible to control this from the screenshot UI.

Another additions could be optionally be considered, such as:

  • Select a specific application window to screenshot
  • Niri's screenshot UI tool has an interesting flow where if you press Ctrl+C, it takes the screenshot and copies it to clipboard only. However, if you press Enter, it both copies to clipboard and writes the screenshot to disk. Maybe something similar could be done or configurable in DMS screenshot tool?
  • Support for saving in JXL format. JXL is an excellent format, where even the lossless setting generates file sizes much smaller than PNG. Currently I have a bash script that converts the captured screenshot to JXL, but if DMS had support for it, it would be great, not to mention I could just pick another image type on the fly before taking the screenshot.

Use Case

This is mostly a quality of life feature, enabling the use all the features that DMS Screenshot cli has right away from the UI in a more interactive manner.

Compositor(s)

All compositors

If Other, please specify

No response

Proposed Solution

I understand that adding support for JXL might require adding a dependency on lib jxl. I'm admittedly not well versed on packaging or how DMS is implemented as a whole, but if at all possible, this could be set up as an optional dependency, and JXL support would only be enabled if lib jxl is present.

Alternatives/Existing Solutions

No response

daniel-fs avatar Jul 10 '26 22:07 daniel-fs

Try this plugin: https://github.com/JDKamalakar/DMS-ScreenCapture_Toolbar

toods2 avatar Jul 10 '26 23:07 toods2

Try this plugin: https://github.com/JDKamalakar/DMS-ScreenCapture_Toolbar

Oh, it didn't cross my mind to check plugins before making this feature request, thank you for this.

Yeah, this is basically what I had in mind. Would still be great if we could get this in DMS itself without the need of a plugin down the line. Not something DMS needs urgently by any means, so I'll just leave the idea up in the air 🙂

daniel-fs avatar Jul 10 '26 23:07 daniel-fs

If you prefer a screenshot tool with built-in annotation, you can try this one: https://github.com/hthienloc/dms-quick-capture

It focuses purely on screenshot utilities and contains a pretty decent set of annotation tools.

hthienloc avatar Jul 11 '26 02:07 hthienloc

Closing out for now as Plugins fill the gap quite nicely. We'll see if we decide to implement it further down the line.

purian23 avatar Jul 13 '26 03:07 purian23