Wayland's Weston Gets Output Configuration File

Written by Michael Larabel in Wayland on 31 July 2012 at 07:58 AM EDT. 37 Comments
WAYLAND
Weston, the reference compositor to Wayland, now has support for output configuration from the Weston config file, i.e. the equivalent of configuring your output options with an X.Org Server from the xorg.conf.

Scott Moreau added in an [output] section to Weston's main config file that allows for outputs to be configured. From the general Weston config file this now allows for outputs to be specified to a specific mode (WIDTHxHEIGHT), off, preferred (the native mode), or current (whatever the mode is currently set to when launching Wayland). The Weston config file is formatted in a simple INI-style text file.

Below is an example of what the output configuration for Wayland/Weston could look like:
[output]
name=LVDS1
mode=off

[output]
name=VGA1
mode=1280x1024
The latest patch for this output config support is currently on the mailing list but Kristian Høgsberg has expressed interest in already pulling this support to the Weston Git repository.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week