You can clone with
Am trying out qtile as primary wm now on my laptop. When I turn on my external monitor everything (both screens) go to that window.
I use the following command:
xrandr --output VGA1 --auto
xrandr --output LVDS1 --right-of VGA1 --auto
It seems like an x offset is not correct somewhere....
ps - I thought I had this bug filed before, but can't find it
Ok, I've messed around a bit, it now seems to work if I restart qtile.... (I remembered in the previous version that you said try starting qtile with the external monitor going. Which is hard since I start qtile from startx (.xinitrc)). But a restart appeared to do the trick.
I'm assuming that there is an event to hook to so restarting is unnecessary?
Can anyone else who uses xrandr confirm that calling Qtile.restart() (via qsh, if nothing else) after an xrandr reconfiguration solves the issue? If so, I think we can figure out when xrandr events happen and provide a hook for them.
I can confirm that an external monitor configured with xrandr only works correctly after restarting qtile.
Ok, cool. Have you done it with Qtile.restart() (cmd_restart, I guess), or are you restarting your whole xsession?
I'm restarting only qtile using cmd_restart()
Hi all - can anyone verify that this commit solves the problem? tych0@19189ea
restart when number of screens changes
Add a hook for screen_change
Fixes #32 for real this time :-)