This problem has been frustrating me for a while as well, I've made a post about it a while back, but it doesn't look like there is an existing fix. However, there was a solution to a different problem posted on archlinux a while back (https://bbs.archlinux.org/viewtopic.php?id=128623) and it seems like a similar (but more general) solution could work here as well, it just needs to be extended to remember these positions and layout per screen configuration in addition to per workspace, as it currently does.
Unfortunately, I haven't had the time (or enough knowledge of awesome, since one would need to figure out which connect_signal ( http://awesome.naquadah.org/wiki/Signals) should trigger the window realignment) to look into this and have instead learned to deal with the issue since I don't undock my laptop that often. On Fri, Dec 27, 2013 at 8:14 AM, Olli Laasonen <[email protected]> wrote: > I have laptop and external display on docking station and I would like to > switch to the external screen automatically when I connect to the docking > station so I made simple udev rule which switches the display like this > when I connect the docking station: > > % xrandr --output HDMI3 --auto --primary --output LVDS1 --off > > Problem with that is that Awesome resets and forgets the window positions. > > Thanks, > Olli Laasonen >
