[cairo] Using cairo-xlib to get screenshots

Oliver embry00s at gmail.com
Fri Oct 11 11:30:42 PDT 2013


Created /etc/X11/xorg.conf.d/test_driver with 4 lines you described. No
difference in behaviour as far as I could tell. Xorg.0.log here:
https://gist.github.com/6939671

It detected the xorg.conf.d directory but I'm not sure it loaded the file
in it.

Lines 17-23:
[     6.107] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     6.108] (==) No Layout section.  Using the first Screen section.
[     6.108] (==) No screen section available. Using defaults.
[     6.108] (**) |-->Screen "Default Screen Section" (0)
[     6.108] (**) |   |-->Monitor "<default monitor>"
[     6.108] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.



On Fri, Oct 11, 2013 at 8:10 PM, Chris Wilson <chris at chris-wilson.co.uk>wrote:

> On Fri, Oct 11, 2013 at 07:55:59PM +0200, Oliver wrote:
> >    Where can I do this?
>
> In a file under /etc/X11/xorg.conf.d (or if you are brave,
> /etc/X11/xorg.conf itself).
>
> cat > /etc/X11/xorg.conf <<EOF
> Section "Device"
>         Identifier "device0"
>         Driver "modesetting"
> EndSection
> EOF
> -Chris
>
> --
> Chris Wilson, Intel Open Source Technology Centre
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20131011/32037a26/attachment-0001.html>


More information about the cairo mailing list