>> "Eugene C." <[EMAIL PROTECTED]> writes:
> I agree with you, it is so frustrating to have to rewrite it when
> people change wm. Mine is not very protable yet, but I am also
> thinking to do it. I temporarely solved the probelem, by
> installing only the wm that we have a menu or app bar ready.
abstract the concept of a menu, put a middle layer, and have a tool
that converts your meta information into something usable by your
window manager -- or whatever.
This has already been done and tested in Debian's menu system.
Debian 2.1 includes about 15 window managers, and everyone of them
has support for this menu system. Each package supplies a file like
this:
?package(gv):\
needs="x11" \
section="Apps/Viewers" \
title="GV" \
icon="mini-gv.xpm" \
command="/usr/bin/X11/gv"
this information is parsed by a tool that feeds the information to a
`menu method', which is responsable for converting it to the format
each window managers needs.
if you are interested, take a look at the menu package in Debian.
http://packages.debian.org/menu; this will take you to a page that
links to the source package in .tar.gz format.
Marcelo
---
This message was automatically sent by the Linux Demo Days mailing list
To remove yourself from this list, email [EMAIL PROTECTED]
with the "unsubcribe" in your message body.