Re: Saving Workspace



On Sun, 2008-04-06 at 20:27 -0400, Michael B Allen wrote:
> On 4/6/08, Andrea Vettorello <andrea vettorello gmail com> wrote:
> > I don't have an opinion in the matter, but I don't use Metacity and
> >  the last time I've tried I could track the windows positions between
> >  sessions, but it's a feature that I don't use.
[...]
> Is there any scripting control over where Windows are positioned?
> Meaning, can I create a script file that I just run from the
> commandline once when I login such that I can start an xterm and then
> tell metacity to position it's window (idenfied by pid I suppose) on a
> particular desktop at a particular position?

You can use the '-geometry' parameter to select a location and/or size.
Gnome applications use '--geometry'.

Try xterm -geometry +50+50 to have the window open at 50px from left and
50px from top..

Daniel
-- 
Netbreeze Web Development
P 1800 888 981
M 0410 258 253
E info netbreeze com au



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]