How does screenshot work in an OS running Xorg

walter harms wharms at
Wed Mar 12 05:12:44 PDT 2014

Am 11.03.2014 21:40, schrieb Thomas Lübking:
> On Dienstag, 11. März 2014 21:06:20 CEST, Hongze Zhao wrote:
>> Hi List,
>> I am curious about how screenshot  in an OS running Xorg works? I guess
>> Linux does not provide such a system call or interface. Is screenshot
>> implemented by calling a special xorg interface?
> Coding C(++):
> XLib:
> xcb:
> As user tool, xwd should be available everywhere (?), the DEs provide
> their own utils and there're plenty of other tools to provide this, but
> afaik no common call to trigger the desktop aware screenshot utility.

A look at xwd may also be helpful.


More information about the xorg mailing list