Skip to content
This repository

external (xrandr) monitor support borked #32

Closed
mattharrison opened this Issue November 15, 2010 · 9 comments

5 participants

matt harrison Tycho Andersen TimNN Craig Barnes mictee
matt harrison

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

matt harrison

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?

Tycho Andersen
Owner

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.

TimNN

I can confirm that an external monitor configured with xrandr only works correctly after restarting qtile.

Tycho Andersen
Owner

Ok, cool. Have you done it with Qtile.restart() (cmd_restart, I guess), or are you restarting your whole xsession?

TimNN

I'm restarting only qtile using cmd_restart()

Craig Barnes
mictee
Tycho Andersen
Owner

Hi all - can anyone verify that this commit solves the problem? tych0@19189ea

Craig Barnes
Tycho Andersen tych0 closed this in 3c90d4d November 18, 2012
Tycho Andersen tych0 referenced this issue from a commit in tych0/qtile November 15, 2012
Tycho Andersen Add a hook for screen_change
Fixes #32 for real this time :-)
82f6968
Tycho Andersen tych0 referenced this issue from a commit November 15, 2012
Tycho Andersen Add a hook for screen_change
Fixes #32 for real this time :-)
7d109b3
horsik horsik referenced this issue from a commit November 15, 2012
Tycho Andersen Add a hook for screen_change
Fixes #32 for real this time :-)
4546f83
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.