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! :)

· · Web · 3 · 6 · 14

Missing alt-text (sorry): Screenshot of Krita, a drawing application, showing a screenshot of Comet (a git message editor). The message in the editor reads “Highlights splling mstakes” with the last two words underlined in red. A Spelling Suggestions… context menu is open on the word “mstakes”, and the suggestion “mistakes” is highlighted out of a list of several options.

PS. If you’re not already following Alt Text Reminder bot on the fediverse, you should: @alt_text

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

My first thought was: “Surely this is possible with a delay timer.” Tried, researched a bit, nope. Thanks for the solution.

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!