--- On Sun, 12/26/10, Sylvain Abélard <[email protected]> wrote:

> From: Sylvain Abélard <[email protected]>
> Subject: Re: Saving/restore session
> To: [email protected]
> Date: Sunday, December 26, 2010, 12:48 PM
> >>
> ~/.ion2/default-session/workspaces.lua
> >> ~/.ion3/default-session--0/saved_layout.lua
> 
> >  You right, but there is no information about
> programs opened in thise windows
> 
> As Etan said you have to use a SM or other personal tricks
> to only
> launch / restore the apps you need.
> Once your layout frames have names, and you know your
> favorite apps'
> names and classes via xprop, you can setup kludges.
> 
> You can find examples for kludges.lua files on the Net:
>  http://aperiodic.net/phil/configs/ion2/kludges.lua
>  http://daelstorm.thegraveyard.org/ion2/ion2.html
> 
> Some apps may or may not have X names and classes, or they
> may be duplicate.
> The typical example is emacs : if you want to open several
> windows in
> different places,
> you have to set command-line args to set them. The kludges
> then work as a charm.

 Thanks, i have tryied to do it in many ways and i have some nice lua/shell 
script so should be ok.

But i have another question. I'm using ion2/pwm2 and i want to resize actual 
window to some fixed sizes (maximize_vert and maximize_horiz_works only as they 
explicit say MAXIMALY ) i used request_geom(WRegion,size_table) but i have 
probelm with gettin current WRegion ( i read cerfully all manual and couldnt 
find function like WRegion WRegion.current() which would gave me handle to 
current region),s ohow to get it and maybe there is another way to fixed resize 
.

Regards Lukas



Reply via email to