debian menu sorting does not work anymore

From: Erik Steffl (steffl_at_bigfoot.com)
Date: 04/10/04

  • Next message: FBI_at_giftlog.com: "Your document"
    Date: Fri, 09 Apr 2004 19:21:48 -0700
    To: Debian List <debian-user@lists.debian.org>
    
    

       I added the custom sorting to my debian menu configuration, it used
    to work but some time ago it stopped working.

       I have the following in the /etc/menu-methods/menu.h:

    # item first, submenu later:
    # sort=ifelse($command, "0", "1" ) ":$title"
    sort=ifelse($priority, $priority, "99")

       and here's an example of sorted menu entry:

    jojda:~> cat /etc/menu/xterm
    ?package(xterm):\
      needs=x11\
      section="/"\
      longtitle="Xterm: terminal emulator for X"\
      title=Xterm\
      priority="01"\
      command="xterm -fg green -bg black" \
      icon="/usr/X11R6/include/X11/pixmaps/wterm.xpm"

       any ideas why this does not work anymore (the xterm item is just
    alphabetically sorted, appears last instead of first).

       system:

         debian unstable
         unsorted menu in fvwm
         unsorted menu in pdmenu

       TIA

            erik

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: FBI_at_giftlog.com: "Your document"

    Relevant Pages

    • debian menu sorting does not work anymore
      ... I added the custom sorting to my debian menu configuration, ... to work but some time ago it stopped working. ... # item first, submenu later: ...
      (Debian-User)
    • Re: why debian
      ... I don't think what scares people away from Debian is the visual polish ... It's the deeper configuration stuff that is ... my X configuration file and add "1024x768". ... another scsi on my computer. ...
      (Debian-User)
    • RE: [Full-Disclosure] Knocking Microsoft
      ... And if they don't actually run them at install time, ... default symlinks in /etc/rc.d), yes, in its default configuration. ... Some of them (debian comes to mind) even set up services ... it sets it up to run in single user, so if its misconfigured, ...
      (Full-Disclosure)
    • Re: Second time on hostname
      ... but the Debian installer and Debian ... Perhaps it will help if I show you my configuration files. ... "relayhost" in /etc/postfix/main.cf to a different value. ... jdthood@turmeric:~$ cat /etc/mailname ...
      (Debian-User)
    • Woody xfree86 configurators broken?
      ... This is in part the text of a bug I sent in to Debian. ... a number of iterations of fooling with the configuration files, ...
      (comp.os.linux.x)