Yeah, the problem is vtwm doesn't have a "#include" directive for reading multiple files on startup. Shouldn't be too hard to hack the source to do this. Though I'm wary of doing stuff like this because it's not very portable, in the sense that I would have to compile my own custom vtwm if I change machines. The other option I was thinking about is to run some kind of preprocessor, like cpp or m4, from my .xinitrc for example. -chris
On Mon, 20 Nov 2000, Sean 'Shaleh' Perry wrote: > > On 19-Nov-2000 Krzys Majewski wrote: > > How can I make update-menus coexist with my custom wm config files? For > > example, I rolled my own ~/.vtwmrc. Now, I apt-get install xinvaders. I > > would like a menu entry for xinvaders to appear automagically in my > > window manager, without losing my other customizations. > > > > The current behaviour is that the files ~/.vtwm/system.vtwmrc and > > ~/.vtwm/menudefs.hook (or probably /etc/X11/vtwm/system.vtwmrc and > > /etc/X11/vtwm/menudefs.hook if I don't run update-menus manually) are > > updated, but my ~/.vtwmrc is unmodified. > > > > If I symlink ~/.vtwmrc to ~/.vtwm/system.vtwmrc, the whole thing gets > > overwritten, which is not what I want, since it nukes my > > customizations. > > > > you can run update-menus as a user. This will place a menu file for the wm in > your home dir. Then edit your file to use that menu file instead. >