Re: Saving/restore session

£ukasz <blurrpp-/[email protected]> Thu, 30 Dec 2010 07:55:43 -0800 (PST)
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
=0A--- On Sun, 12/26/10, Sylvain Ab=E9lard <[email protected]> wrot=
e:=0A=0A> From: Sylvain Ab=E9lard <[email protected]>=0A> Subject: =
Re: Saving/restore session=0A> To: [email protected]=0A> Date: S=
unday, December 26, 2010, 12:48 PM=0A> >>=0A> ~/.ion2/default-session/works=
paces.lua=0A> >> ~/.ion3/default-session--0/saved_layout.lua=0A> =0A> > =A0=
You right, but there is no information about=0A> programs opened in thise w=
indows=0A> =0A> As Etan said you have to use a SM or other personal tricks=
=0A> to only=0A> launch / restore the apps you need.=0A> Once your layout f=
rames have names, and you know your=0A> favorite apps'=0A> names and classe=
s via xprop, you can setup kludges.=0A> =0A> You can find examples for klud=
ges.lua files on the Net:=0A>  http://aperiodic.net/phil/configs/ion2/kludg=
es.lua=0A>  http://daelstorm.thegraveyard.org/ion2/ion2.html=0A> =0A> Some =
apps may or may not have X names and classes, or they=0A> may be duplicate.=
=0A> The typical example is emacs : if you want to open several=0A> windows=
 in=0A> different places,=0A> you have to set command-line args to set them=
. The kludges=0A> then work as a charm.=0A=0A Thanks, i have tryied to do i=
t in many ways and i have some nice lua/shell script so should be ok.=0A=0A=
But i have another question. I'm using ion2/pwm2 and i want to resize actua=
l window to some fixed sizes (maximize_vert and maximize_horiz_works only a=
s 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 h=
andle to current region),s ohow to get it and maybe there is another way to=
 fixed resize .=0A=0ARegards Lukas=0A=0A=0A