> When WM is closed using "Save state", the geometry is saved into the
> file ~/GNUstep/Defaults/WMState. When starting wmaker, the position and
> geometry is restored:
>
> [..]
>   Applications = (
>     {
>       Name = xterm.UXTerm;
>       Shaded = No;
>       Miniaturized = No;
>       Command = "xterm -class UXTerm -title uxterm -u8 -u8 -bg black
> -fg white";
>       Geometry = "484x316+673+374";
>       Hidden = No;
>       Workspace = "Workspace 3";
>       ShortcutMask = 0;
>     },
> [..]
>
> Apparently the init of wmaker is able to do this, but is there a way to
> manually start an application at a fixed position and with a predefined
> geometry?
>
> R.

Hi!

Maybe you could achieve your goal using the wmctrl(1) command?

Here is the example for xeyes application:
xeyes && wmctrl -a xeyes -e '0,80,80,80,80'

It would start the xeyes somewhere on the screen and then change it's
geometry to the specified values.

wmctrl should work with EWMH/NetWM capable windowmanagers which includes
Windowmaker.

-- 
Josip Deanovic


-- 
To unsubscribe, send mail to [email protected].

Reply via email to