You’d think taking a screenshot of an app with a context menu showing (while keeping its alpha channel & drop shadow) would be easy in elementary OS but it’s apparently impossible in any X11-based system… until you use a chroma key, that is!

1. Set your wallpaper to green.

2. Take a delayed screenshot of the whole screen using Screenshot app.

3. In Krita, apply a Color to Alpha filter to the green and tweak the threshold until your drop shadows don’t have a green tint to them.

Et voila! :)

@aral Good tip.

I wish some app did that automatically for me though. It seems to be a lot of work when I have to do ~10 screenshots like this.


@adnan360 Well, I don’t know what the timeline is for the move to Wayland but that should fix this (along with a bunch of other legacy issues). That said, there will also be a number of things I’ll have to find alternatives for (e.g., I’m using xdotool to control Streamyard and from my Elgato Stream Deck during presentations). But I guess it would be a fun app to make should someone be inclined to in the interim (I mean, I’d use it)… hint, hint ;)

· · Web · 0 · 0 · 2
Sign in to participate in the conversation
Aral’s Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!