On Mon, 18 Nov 2013 09:36:26 +0100 (CET) "Josip Deanovic" <[email protected]> wrote:
> > 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? > > 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' Here I need to: xeyes & wmctrl -r xeyes -e '0,80,80,80,80' This works :) > 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. Next question: If I start evince (a pdf viewer), evince creates its own window title name from the file that it is opening: $ evince Hannes-Minnaar-NRC.pdf shows: NH100610__113______1@callisto_id_20100610T125312 as window title. For automatic resizing I need to sed/awk/grep the title from "wmctl -l" and feed it to wmctl. Is there a way to set the window name to e.g. the PID or something like that? I can't find anything in WPrefs. R. -- ___________________________________________________________________ It is better to remain silent and be thought a fool, than to speak aloud and remove all doubt. +------------------------------------------------------------------+ | Richard Lucassen, Utrecht | +------------------------------------------------------------------+ -- To unsubscribe, send mail to [email protected].
