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

Re: Testing Menu managers in Debian



On Wed, 20 Feb 2002, Ian Eure wrote:

> On Wednesday 20 February 2002 08:39 am, Peter Palfrader wrote:
> > (snip)
> > | weasel@valiant:~$ cat .menu/xterm
> > | ?package(xterm):\
> > | 	[..]
> > | 	shortcut="Control+Mod1+x"
> >
> > Are there any other window managers (and their menu-methods) that
> > support this? If yes, it would be nice to add this feature to the
> > tests done.
> >
> It's been a long time since I used wmaker. Does this binding spawn a new 
> xterm, or focus an already-running xterm?
> 
> It if spawns a new xterm, sawfish supports that type of binding as well.

It spanws a new xterm (see below).

Does the Debian menu-method for sawfish support this? How portable are
things like »Control+Mod1+x«, iow do most/all window managers use this
kind of format for keybinding specification?

AFAIK shortcut= is not mentioned in any menu documentation. If key
specifications are the same with all window manages or if converting
from one format to another is easy, it might be worth proposing it as
a should for menu-methods.

					yours,
					peter



~/.menu/xterm in full:
| ?package(xterm):\
 needs=x11\
 section=XShells\
 longtitle="XTerm: terminal emulator for X"\
 title=XTerm\
 command="xterm -bg black -fg lightblue3 +bdc +ulc -fn fixed" \
 shortcut="Control+Mod1+x"

And with some menu voodoo this is in ~/GNUstep/Library/WindowMaker/menu.hook:
[..]
| "XTerm" SHORTCUT Control+Mod1+x EXEC xterm -bg black -fg lightblue3 +bdc +ulc -fn fixed
[..]

-- 
 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
    messages preferred.    | : :' :      The  universal
                           | `. `'      Operating System
 http://www.palfrader.org/ |   `-    http://www.debian.org/

Attachment: pgpTar78wwdDg.pgp
Description: PGP signature


Reply to: