Re: [i3] Problems setting multi monitor

2015-08-12 Thread Ultrabug
On 12/08/2015 01:21, Florian Lindner wrote: Hello, Hi Am Dienstag, 11. August 2015, 15:03:17 schrieb Ultrabug: On 11/08/2015 13:54, Florian Lindner wrote: It may not answer all your questions but I wanted to point out that *py3status* [1] provides a *xrandr* *module* to handle your screen

Re: [i3] Problems setting multi monitor

2015-08-11 Thread Florian Lindner
Am Montag, 10. August 2015, 18:30:13 schrieb Anton Löfgren: AFAIK, the shebang must be an absolute path. That is, you'll probably have more luck replacing #!env with #!/usr/bin/env. It seemed to be a problem with PATH. Starting /usr/bin/python explicitly makes it work. How do you call it

Re: [i3] Problems setting multi monitor

2015-08-11 Thread Florian Lindner
Hello, Am Dienstag, 11. August 2015, 15:03:17 schrieb Ultrabug: On 11/08/2015 13:54, Florian Lindner wrote: It may not answer all your questions but I wanted to point out that *py3status* [1] provides a *xrandr* *module* to handle your screen layouts easily and automatically if you want

Re: [i3] Problems setting multi monitor

2015-08-10 Thread Anton Löfgren
AFAIK, the shebang must be an absolute path. That is, you'll probably have more luck replacing #!env with #!/usr/bin/env. How do you call it standalone? I'm assuming by invoking python manually. /Anton On August 10, 2015 3:48:36 PM CEST, Florian Lindner mailingli...@xgm.de wrote: Hello, I

[i3] Problems setting multi monitor

2015-08-10 Thread Florian Lindner
Hello, I try to launch an xrandr script to set the multi monitor configuration. The script works when called standalone after i3 startup, but not at startup #!env python import functools, subprocess, sys call = functools.partial(subprocess.check_call, shell=True) call(sleep 3) if sys.argv[1]