From: Phillip Berndt Date: Wed, 10 Feb 2016 11:22:34 +0000 (+0100) Subject: Work around #44: Support long user names in w X-Git-Tag: 1.0~30 X-Git-Url: https://git.donarmstrong.com/?p=deb_pkgs%2Fautorandr.git;a=commitdiff_plain;h=584cb019bdb3f3047c14e1aa6355027078087c01 Work around #44: Support long user names in w --- diff --git a/contrib/pm-utils/40autorandr b/contrib/pm-utils/40autorandr index 8a66f39..8f7067c 100755 --- a/contrib/pm-utils/40autorandr +++ b/contrib/pm-utils/40autorandr @@ -5,6 +5,9 @@ exec > /var/log/autorandr.log 2>&1 AUTORANDR="autorandr -c --default default" +# Work around #44: Long user names in w +export PROCPS_USERLEN=40 + detect_display() { # Wait for the system to recognize the changed state, see bug #30