[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Windowmanager Dependencieproblem

> > 
> > The intend certanly was that Window Managers should "Suggest: menu (>= 1.3)".
> > (the 1.3 thing is because that allows them to use the new menu-methods
> > format, that's mutch nicer/better than the old (still supported) format).
> Minor nitpick, but that should be "Suggests: menu", and "Conflicts: menu (< 1.3)".

Yea, that looks indeed better.

> On the subject of this, can menu be extended to handle the "button-bars"
> (particularly in afterstep and fvwm95) - at least to only allow certain
> items is they are present? (e.g.: xemacs on the afterstep bar, but its
> not installed, etc.).

No, it cannot be extended to allow this.

It doens't need to be, it already can do it.

Just create an extra /etc/menu-method/wm-buttonbar file, that looks
much like the original one, but creates "sidebar lines" (whatever
format they are). Then, around the output lines, do something like

  ifnempty(ifeq($title,"Xemacs","t") \
           ifeq($title,"Xload") \
    "Start-SideBar" $command "using-title " $title " and so on " \

There you are. The code will only be output if it's eighter
Xemacs, Xterm, or Xload. Extend if you wish (and, remove my
typing bugs).
joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: