[LightDM] race condition with xrandr?
Jean A
jean.emily.a at gmail.com
Tue Dec 15 01:42:40 UTC 2020
I had to add a sleep 1s to my .xprofile before calling the layout script I
generated with arandr. The contents of the layout script:
#!/bin/sh
xrandr --output DVI-D-0 --mode 1920x1080 --pos 1920x0 --rotate left
--output HDMI-0 --off --output DP-0 --primary --mode 1920x1080 --pos 0x646
--rotate normal --output DP-1 --off
The contents of my .xprofile:
setxkbmap dvorak &
picom &
sleep 1s;
~/.screenlayout/layout.sh &
Without the sleep command, when i3 launches, half of both screens will be
black. Also, I'm not sure how lightdm magically knows to launch i3, but
maybe it's a bug in that software and not a race condition with lightdm
setting up xorg.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/lightdm/attachments/20201214/c0913ffa/attachment.htm>
More information about the LightDM
mailing list