pmaports/device/device-raspberry-pi/start-even-without-input.sh
Antoine Fontaine 805ba03d87
raspberry-pi: fix sway, phosh startup (!775)
Both sway and phosh require hardware acceleration (DRM) to work. Let's
activate that when we request one of them. Also don't let them fail
during startup on inputless setups (which is common on a raspberry pi).

Phosh is too slow to be unsable, but now, it'll at least be unusable out
of the box ;-)
2019-12-07 15:27:10 +01:00

4 lines
121 B
Bash

#!/bin/sh
# ask sway, phosh and other wlroots-based compositors to start headless too.
export WLR_LIBINPUT_NO_DEVICES=1