On Mon, 18 Nov 2013 13:34:50 +0100 (CET)
"Josip Deanovic" <[email protected]> wrote:

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

Ok, that's an option, I'll cook something with pidof and awk/sed/grep.

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

That's why it would be very nice and very useful if WindowMaker would
offer these options like application specific geometry and position
(like "initial workspace" and "icon"). When starting from a saved state
it is able to do so, so it should be possible to make this work
on-the-fly IMHO. But as I'm not a programmer, I'm not able to see
through all the ins and outs of such an option.

Is there a special reason why these options are not available (or cannot
be set) in the "attributes"? I have used WM for at least 15 years now
and lacking such functionality is a bit strange for such a flexible
window manager, isn't it? :)

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

Reply via email to