Mercurial > code > home > repos > homeauto
changeset 255:3657e3f0d5d0
find .Xauthority better, tools that talk to X
Ignore-this: b6a9920c14e702c68785d794b28ce141
author | drewp@bigasterisk.com |
---|---|
date | Mon, 21 Mar 2016 04:21:06 -0700 |
parents | ba1149814877 |
children | d2c60552fb13 |
files | lib/localdisplay.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/localdisplay.py Mon Mar 21 04:18:45 2016 -0700 +++ b/lib/localdisplay.py Mon Mar 21 04:21:06 2016 -0700 @@ -19,6 +19,7 @@ display = ":0.0" assert display.startswith(':'), display os.environ['DISPLAY'] = display + os.environ['XAUTHORITY'] = os.path.expanduser('~/.Xauthority') break else: raise ValueError("didn't find an Xorg process")