[Xmonad] dynamic workspaces, session restore

Jamie Webb j at jwebb.sygneca.com
Tue Oct 16 11:09:03 EDT 2007


On 2007-10-16 17:41:38 Valery V. Vorotyntsev wrote:
> On 10/16/07, Brandon S. Allbery KF8NH <allbery at ece.cmu.edu> wrote:
> >
> > On Oct 16, 2007, at 9:22 , Valery V. Vorotyntsev wrote:
> >
> > > 2) When xmonad quits, it forgets layout settings -- number of
> > > windows in master pane, current tiling algorithm, focused window,
> > >    master/subordinate ratio, etc. Doesn't it?
> > >
> > >    We could save this information to `~/.xmonad' file and read it
> > > at next startup.
> >
> > This is kinda tricky if the windows in question don't exist at
> > startup, no?
> 
> But xmonad already remembers m/s ratio while running,
> even when all of its clients are killed. And new clients are created
> with the "customized" proportions. Which even differ for `tiled' and
> `Mirror tiled' modes! (The number of clients per master pane is also
> remembered.)
> 
> But the next time I enter my X session, the ratio is 1:2. :) All
> runtime customizations are gone. This is not the case with ion3.

You can set this stuff in Config.hs. Not as easy as just having your
runtime changes saved, but also not so easy to mess up.

/J


More information about the Xmonad mailing list