Re: FVWM: dynamic xdg menus
On Mon, Sep 19, 2011 at 01:39:51PM -0400, des...@verizon.net wrote: Victor Ananjevsky anana...@gmail.com writes: Hi, List Please look at program i wrote for creating dynamic xdg menus in fvwm. http://pastebin.com/TmhLRFfp Nice idea, but I'd rather you'd look at fvwm-menu-desktop, as Dan has mentioned. Assuming of course there is anything lacking with it. This sort of thing *should* be done using perl, as far as FVWM is concerned, rather than C. I wouldn't object to a clean-up of fvwm-menu-desktop though. It will need doing at some point. :) I thought at first this was going to hold up the 2.6.3 release of FVWM, but I see now it won't. -- Thomas Adam -- It was the cruelest game I've ever played and it's played inside my head. -- Hush The Warmth, Gorky's Zygotic Mynci.
Re: FVWM: Style related question
Nikos Leonardos nikos.leonar...@gmail.com writes: Hello all-- I run the application xboard in two different modes: (1) to connect to a chess server, and (2) to set up a position. I would like to have a different style for each mode. One way to do that would be to use the fact that the window name is different in each mode. It is xboard in mode (1) and it is xboard: 69.36.243.188 in mode (2). However, this doesn't seem to be entirely true. I think what happens is that initially (at the time the style of the window is determined) the window name _is_ the same. One way around that, is to use (the obsolete command) RecaptureWindow after the window name has changed. I don't like this because of the extra keystrokes I need to do. I would like to do that automatically, say through an fvwm-function that calls xboard and also sets the appropriate style. I tried something like the following, but it didn't work. DestroyFunc FvwmFics AddToFunc FvwmFics + I Exec exec $[TERM] -e /usr/games/bin/xboard -ics -icshost 69.36.243.188 + I Wait xboard: 69.36.243.188 + I All (xboard: 69.36.243.188) WindowStyle NeverFocus, Title + I UpdateStyles Thank you in advance for your time. Perhaps the xboard developers could be persuaded to add a -name or -wmname type option. I don't think I saw a complete list of their X Resources. Perhaps there is something that can be set that way. -- Dan Espen
Re: FVWM: Style related question
On Tue, Sep 20, 2011 at 08:15:09PM -0400, des...@verizon.net wrote: Perhaps the xboard developers could be persuaded to add a -name or -wmname type option. I don't think I saw a complete list of their X Resources. Perhaps there is something that can be set that way. Thanks Dan! It's funny, but after seeing your reply, I tried # xboard -name myname and the resource of the window was set to myname. I'm not sure this is correct behaviour of xboard (I think -name is supposed to do something else), but it works for now. Any better solutions would be appreciated. --Nikos