Re: FVWM: Access to Client Application Resource Database

From: Leo Deck <leo_deck_at_hotmail.com>
Date: Tue, 07 Dec 1999 05:22:51 PST

I would like for fvwm to be able to recognize clientDecoration and
clientFunctions resources from an application's resource database and
provide the appropriate window decorations and functions for the
application's window. The clientDecoration and clientFunctions resources
are specified in the application's default resource file. The default
resource file is located in a directory path (i.e., XAPPLRESDIR) defined in
the shell script that starts the application, and the directory path is not
readily available to the window manager.
XAPPLRESDIR for the user login session that activated fvwm is not the same
directory path as the XAPPLRESDIR defined in the application startup shell
script.

For example, if the application's name is app1 and it's class is App1, the
application-specific default resource file's name would be App1, and the
resources of interest could be specified in the file App1 in a format as
follows:

  app1*clientDecoration: value
  app1*clientFunctions: value


The application resource file does get loaded by the resource manager,
because the application itself can query the resource database and find the
clientDecoration and clientFunctions resource specifications. However, this
resource database does not seem to be available to fvwm.

I realize that I am trying to do something that is probably out of the
ordinary. Perhaps, it is not possible to do this. Any insight into the
feasibility or possibility of doing something like this would be
appreciated.

Leo Deck


>From: Dan Espen <dane_at_mk.telcordia.com>
>To: "Leo Deck" <leo_deck_at_hotmail.com>
>CC: fvwm_at_hpc.uh.edu
>Subject: Re: FVWM: Access to Client Application Resource Database
>Date: Mon, 06 Dec 1999 23:49:46 -0500
>MIME-Version: 1.0 (generated by tm-edit 7.108)
>From owner-fvwm_at_hpc.uh.edu Mon Dec 06 20:55:06 1999
>Received: from [129.7.128.18] by hotmail.com (3.2) with ESMTP id
>MHotMailBA15DE1A006FD82197B281078012BCC70; Mon Dec 06 20:54:51 1999
>Received: from sina.hpc.uh.edu (lists_at_Sina.HPC.UH.EDU [129.7.3.5])by
>spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id WAB06004;Mon, 6 Dec 1999
>22:53:12 -0600 (CST)
>Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07));
>Mon, 06 Dec 1999 22:51:06 -0600 (CST)
>Received: from dnsmx2pya.telcordia.com (dnsmx2pya.telcordia.com
>[128.96.20.32])by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id WAA14888for
><fvwm_at_hpc.uh.edu>; Mon, 6 Dec 1999 22:50:57 -0600 (CST)
>Received: from castle.mk.telcordia.com (castle.mk.telcordia.com
>[128.96.133.172])by dnsmx2pya.telcordia.com (8.9.3/8.9.2) with ESMTP id
>XAA22682;Mon, 6 Dec 1999 23:49:47 -0500 (EST)
>Received: from mk.telcordia.com (fork [128.96.128.32])by
>castle.mk.telcordia.com (8.8.8/8.8.8) with ESMTP id XAA00228;Mon, 6 Dec
>1999 23:49:47 -0500 (EST)
>Message-Id: <199912070449.XAA00228_at_castle.mk.telcordia.com>
>In-reply-to: Your message of Mon, 06 Dec 1999 19:41:20 -0800.
><19991207034122.27007.qmail_at_hotmail.com>
>x-face:
>H2G63xNIQ1G~92=">,W';}5I'2EN+pvbeFK2U`LLazP;W3/AU'795C^6M1;wX3''q-~||]i
>=q\|l:fMk^4zF_at_^JHkw75M~[d)NKA},lfIOD=B'QWUuv_7Pu+j*']@]x]y'(Eyh}IAEhQDV_at_tJ?\E"
><=..HSTdYCt'DevYza*qnf_0?9qelUgqeJkJA'7Zr<-NU
>Sender: owner-fvwm_at_hpc.uh.edu
>Precedence: list
>X-Majordomo: 1.94.jlt7
>
>"Leo Deck" <leo_deck_at_hotmail.com> writes:
> > On a Sun Solaris system, I have fvwm configured (via .fvwmrc) to execute
>a
> > shell script when a particular selection is made from the fvwm
>"StartMenu".
> > The shell script sets some environment variables and starts an X-Windows
>GUI
> > application. The GUI makes a call to XtVaAppInitialize() that causes a
> > connection to the X server to be
> > opened. The call to XtVaAppInitialize() also causes the resource
>database
> > for the application to be loaded by the resource manager.
> >
> > When fvwm has to manage the GUI application window after the GUI
>requests
> > that the window be mapped, is there any way that fvwm can be modified to
>get
> > access to the application's resource database? If so, please describe
>the
> > way to access the application's resource database.
> >
> > Thanks in advance.
>
>I saw this question this morning, and now this evening, but I still
>don't understand it.
>
>What do you want fvwm to do to your application?
>
>Fvwm doesn't normally muck around with X resources, there are tools
>like editres for that.
>
>--
>Dan Espen
>444 Hoes Lane Room RRC 1C-214 E-mail: dane_at_mk.telcordia.com
>Piscataway, NJ 08854 Phone: (732) 699-5570
>--
>Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
>To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
>message to majordomo_at_fvwm.org.
>To report problems, send mail to fvwm-owner_at_fvwm.org.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Dec 07 1999 - 07:23:55 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST