Resizing an Xvfb display

后端 未结 2 743
情书的邮戳
情书的邮戳 2021-02-07 00:40

Simple Question: Is there a way to resize a Xvfb display?

I tried with RandR but it seems that the RandR extension is not supported by Xvfb. Are there other ways to resi

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-07 01:34

    You can use the server-args command line argument to specify a custom resolution for the virtual frame buffer being created, but this does not change the resolution of an existing virtual frame buffer:

    xvfb-run --server-args="-screen 0, 1024x768x24" ...
    

提交回复
热议问题