Thomas Weise
Thomas Weise

Reputation: 419

How to make take-vector-screenshot work with PyCharm (under Ubuntu 22.04)?

My goal is to take vector screenshots of my Python development IDE. I am using PyCharm community edition under Ubuntu 22.04. I have the package gtk-vector-screenshot installed (see https://launchpad.net/ubuntu/jammy/+package/gtk-vector-screenshot), which theoretically should do the trick.

It allows me to take pdf screenshots of, e.g., Eclipse or LibreOffice. However, it does not work with PyCharm. If I start take-vector-screenshot, click the button, then click into the PyCharm window, nothing happens (as opposed to the screenshot being taken). Now LibreOffice, Eclipse, and PyCharm are all Java applications (at least, as far as I can see).

So I wonder whether there is any configuration setting or anything else that I could do to get take-vector-screenshot to work with PyCharm? Maybe PyCharm, for some reason, is not using the "right" GTK version and I could force it to do so?

Alternative methods to take vector screenshots of PyCharm would be welcome answers too. The question is not about "normal" screenshots (raster graphic/bitmap formats, like png or jpg), though. I want to take screenshots of the whole IDE, i.e., the menu, windows, tool bar, etc. So screenshots of only the code itself would not solve my problem.

I would be thankful for any ideas and suggestions. Thomas.

Upvotes: 1

Views: 87

Answers (0)

Related Questions