> 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.

The command "wmctrl -lp" would give you the list of windows including
their window IDs, application's PID and window name.

You could also check the xprop(1) man page as this tool could prove
useful to you.

Note that wmctrl and xprop are not Windowmaker specific tools and they
are not distributed with the Windowmaker source.


-- 
Josip Deanovic


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

Reply via email to