Here are some Weston Wayland Configuration tricks
To find Video Adapters Identified by Weston
$ ls /sys/class/drm card0 card0-VGA-1 card1 card1-DVI-I-1 card1-HDMI-A-1 card1-VGA-2
To find supported modes
$ cat /sys/class/drm/card0-LVDS-1/modes 1366x768 1366x768
Set a resolution
[output] name=LVDS1 mode=1366x768
To set a custom resolution or with modeline
First issue this command on any system to get modeline of your custom resolution, Here i am using 1920×768@60Hz, you can get modelines for your preffered resolutions using the cvt utility
$ cvt 1920 768 60 # 1920x768 59.86 Hz (CVT) hsync: 47.77 kHz; pclk: 120.00 MHz Modeline "1920x768_60.00" 120.00 1920 2024 2216 2512 768 771 781 798 -hsync +vsync
Then in weston.ini, the following sets the mode with a modeline,
[output] name=VGA1 mode=120.00 1920 2024 2216 2512 768 771 781 798 -hsync +vsync
To turn off a Video adapter
[output] name=VGA1 mode=off
To remove top panel of weston desktop
[shell] panel-location=""