On Tue, Mar 29, 2011 at 8:56 PM, Adrian C. <[email protected]> wrote: > Forwarding this to the mailing list (not bouncing not to break Uli's MUA > again :) > > > ---------- Forwarded message ---------- > Date: Tue, 29 Mar 2011 18:18:52 > From: Oon-Ee Ng <[email protected]> > > On Tue, Mar 29, 2011 at 10:14 PM, Adrian C. <[email protected]> wrote: >> On Tue, 29 Mar 2011, Oon-Ee Ng wrote: >> >>> properties = { tag = tags[mouse.screen][2] } }, >> >> Use screen.count() instead of mouse.screen. That is the screen the mouse >> was on at the time awesome (re)started. >> >>> doesn't (screen.count() == 1) just put it on screen 1? >> >> Yes, tags[screen.count()][N] > > Thanks Adrian. screen.count() is simply t he number of screens, right? > So it would always be on screen 2? But if I always want it on screen 1 > I just put 1? Sounds simple enough, thanks =) > >> >>> leaving a gap. This isn't a big deal though, just reloading works >>> fine. >> >> It should restart automatically on all screen changes. Maybe it doesn't >> trap this change? (and you have to restart manually) >> > > I can confirm it doesn't, here. Probably some oddity of the nvidia > driver. No matter, restarting is just one keystroke away =)
I have the same issue on the nvidia driver with a laptop. Nvidia doesn't implement the complete xrandr spec and they do it badly from everything I've read. It certainly doesn't work very well. The Nouveau driver works on screen events, when it doesn't crash X. :) Its not quite ready yet. It would be nice to have a sane way to map windows to screens for adding/removing monitor events. If a window was on a screen 2 and an event happened which took away screen 2, awesome could remember which screen that window was on and prefer that when the screen comes back. My use pattern is boot up and login on the laptop with the monitor plugged in then get all my windows setup right. At some point I'll detach for a meeting and every collapses to one screen. Then I go back to my desk and plug back in and everything stays on screen 1. I would really like to not have to move the windows myself. Chris -- To unsubscribe, send mail to [email protected].
