-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Wayland Notes
The intent of this page is to collect notes on using the ChromeOS wayland server from chroots.
- Install xwayland (apt-get install xwayland) and other X packages you want to run
- Setup an .xinitrc for your desktop
- host-wayland /usr/bin/xinit -- /usr/bin/Xwayland
You need to use full path to xinit because crouton's xinit wrapper would otherwise interfere.
Clipboard syncing doesnt work, might if you run the crouton solution for that, not tested.
Keyboard layouts work out of the box, even switching them in ChromeOS gets passed all the way to X.
Alt key gets stuck when you Alt-Tab in/out, remember to touch Alt after getting back in or weird things might happen.
Changing the X window size doesnt seem to be possible, atleast i didnt find a way. You can move it to a different screen with the Search-Alt-Arrows keys but it will stay the size of the primary display.
$ host-wayland mpv -vo wayland
There is no automatic rescaling or auto-fullscreen it seems, but you can use --autofit (eg. --autofit=1280 or adjust your screen width).
- Install qtwayland5 (apt-get install qtwayland5) and the Qt program you intend to run
- host-wayland appname -platform wayland
Tested with qterminal
- install xwayland and weston
- host-wayland weston --backend=wayland-backend.so -Swayland-1 --modules=xwayland.so