From: Phillip Berndt Date: Wed, 10 Feb 2016 14:05:17 +0000 (+0100) Subject: Merge github.com:Idolf/autorandr X-Git-Tag: 1.0~28 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e1b9a6b11247259c710209eede3d3fd288416233;p=deb_pkgs%2Fautorandr.git Merge github.com:Idolf/autorandr --- e1b9a6b11247259c710209eede3d3fd288416233 diff --cc contrib/pm-utils/40autorandr index 6dcb086,0c10748..f44739a --- a/contrib/pm-utils/40autorandr +++ b/contrib/pm-utils/40autorandr @@@ -5,15 -5,8 +5,11 @@@ exec > /var/log/autorandr.log 2>& AUTORANDR="autorandr -c --default default" +# Work around #44: Long user names in w +export PROCPS_USERLEN=32 + detect_display() { - # Wait for the system to recognize the changed state, see bug #30 - # Note the ampersand below, this runs asynchroneously. - sleep 5 - for X in /tmp/.X11-unix/X*; do D="${X##/tmp/.X11-unix/X}" # Prefer w to who, see bug #39