开发者

What's the "fastest" way to take a screenshot of a specific window under Linux programatically?

开发者 https://www.devze.com 2023-01-08 13:23 出处:网络
La开发者_Python百科nguage doesn\'t matter, libraries either, I just need the fastest way specifying the window (title or handle).Try:

La开发者_Python百科nguage doesn't matter, libraries either, I just need the fastest way specifying the window (title or handle).


Try:

import // man import for options

To take a snapshot of my pidgin client.

import -screen -window Kompislista foo.jpg // Kompislista is in swedish.

You can specify a lot of options, such as frame or window id.


see man xwd

xwd takes screen snapshots


take a look at gnome-screenshot also.

   gnome-screenshot --help

You can take the active window screen shot with -w option.

0

精彩评论

暂无评论...
验证码 换一张
取 消