On Wed, Sep 21, 2011 at 10:16:28PM +0100, Thomas Adam wrote: > On Wed, Sep 21, 2011 at 04:58:02PM -0400, des...@verizon.net wrote: > > Thomas Adam <tho...@fvwm.org> writes: > > > > > On Tue, Sep 20, 2011 at 08:31:01PM -0400, Nikos Leonardos wrote: > > >> 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. > > > > > > But again, note my previous email. Per the xboard man page: > > > > > > -wname <full name> > > > -bname <full name> > > > -name <full name> > > > -oppname <full name> > > > The full name of White, Black, yourself or your opponent. > > > > > > Unfortunately, this is not the option per most other applications to set > > > the name of the window, which is mildly irritating. If this is setting > > > the > > > name of the window to whatever you enter here, that's a coincidence, not > > > intended behaviour. > > > > > > I've patched xboard before. I think I might take a look over the weekend > > > to > > > see how difficult it would be to add this option as I'm surprised it's > > > missing. > > > > Tom, > > > > I saw those options but they are listed under the cmail program. > > Still, it could be that -name is meant to be something else and > > works by coincidence. > > You're right -- the documentation for Xboard is misleading. It shouldn't > group "-name" anywhere near cmail options in the manpage. The "-name" > option goes straight through to the underlying Xt calls, which I would have > hoped. > > I had to use strace to prove it though. I'll submit a documentation fix > upstream.
Since you are taking some interest in this, I should say that I emailed Dan Espen's suggestion (about a -wmname option) to the developers of xboard. I got the following reply: "Well, the -name option is not one that we defined ourselves in XBoard. So I suppose it is a general X-application option. And I would not be surprised if it is intended for exactly the purpose you use it for." --Nikos PS Thank you Thomas for your previous reply with the FvwmEvents-solution to my question.