debian menu system and capital letters

2003-09-08 Thread Jonathan Dowland
Hi all,

A small annoyance I have with debian's menu system is an inconsistency
in the naming of programs on the menus:

Apps/Tools
ASclock
EditRes
Oclock
...
bbpager
docker
...

The ordering of the menu is dictated by the menu system rather than my
window manager. I would like the menu to be alphabetical, but the
existing ordering (alphanumerical I presume) would suffice if the
packages all agreed on starting either with a capital or a lower-case
letter.

Do you think that there should be a menu policy as to the capitalisation
(or general presentation) of entries? Where should the responsibility for
ordering menus lie, in the menu system, or the program which exhibits a
menu (E.g., the window manager)?

If anyone could point me at an existing discussion of this topic I
would be very grateful.

-- 
Jon Dowland
http://jon.dowland.name/




Re: debian menu system and capital letters

2003-09-08 Thread Jason Chambers
On Mon, Sep 08, 2003 at 02:45:49PM +0100, Jonathan Dowland wrote:
 Hi all,
 
 A small annoyance I have with debian's menu system is an inconsistency
 in the naming of programs on the menus:
 
 Apps/Tools
 ASclock
 EditRes
 Oclock
 ...
 bbpager
 docker
 ...
 
 The ordering of the menu is dictated by the menu system rather than my
 window manager. I would like the menu to be alphabetical, but the
 existing ordering (alphanumerical I presume) would suffice if the
 packages all agreed on starting either with a capital or a lower-case
 letter.

You can get the case ignored when ordering by adding the following
to /etc/menu-methods/menu.h.

sort=tolower($title)

Then run update-menus to regenerate them.

-- 
 .''`.  Jason Chambers [EMAIL PROTECTED] 
: :'  : Registered linux user #271693 
`. `'`  
  `-http://www.debian.org/ - The Universal Operating System



pgpgZGGaw1dj5.pgp
Description: PGP signature


Re: debian menu system and capital letters

2003-09-08 Thread Jonathan Dowland
On Mon, Sep 08, 2003 at 04:10:20PM +0100, Jason Chambers wrote:
 
 You can get the case ignored when ordering by adding the following
 to /etc/menu-methods/menu.h.
 
 sort=tolower($title)
 
 Then run update-menus to regenerate them.

I've had a play around with this, and found that putting a custom menu.h
in ~/.menu-methods works for a user. However, I then need to keep
up-to-date copies of anything from /etc/menu-methods/ in this directory
too, if I want a menu generated. Is it currently impossible to override
some, but not all of the /etc/menu-methods folder, on a user-by-user
basis?

Thanks for your help,

-- 
Jon Dowland
http://jon.dowland.name/




Bug#209257: debian menu system and capital letters

2003-09-08 Thread Daniel Burrows
Package: menu
Severity: normal

On Mon, Sep 08, 2003 at 04:10:20PM +0100, Jason Chambers [EMAIL PROTECTED] 
was heard to say:
 On Mon, Sep 08, 2003 at 02:45:49PM +0100, Jonathan Dowland wrote:
  Hi all,
  
  A small annoyance I have with debian's menu system is an inconsistency
  in the naming of programs on the menus:
  
  Apps/Tools
  ASclock
  EditRes
  Oclock
  ...
  bbpager
  docker
  ...
  
  The ordering of the menu is dictated by the menu system rather than my
  window manager. I would like the menu to be alphabetical, but the
  existing ordering (alphanumerical I presume) would suffice if the
  packages all agreed on starting either with a capital or a lower-case
  letter.
 
 You can get the case ignored when ordering by adding the following
 to /etc/menu-methods/menu.h.
 
 sort=tolower($title)

  This should be the default.  Filing a severity 'normal' bug because
case-sensitive sorting here is absolutely terrible UI.  [when case has
an agreed-upon meaning, as in Unix filenames, there may be some
justification, but when it's just haphazard, as in menu files, it should
be ignored]

  There is probably an argument for consistent capitalization on
aesthetic grounds, but I'll let someone else make it.

  Daniel

-- 
/ Daniel Burrows [EMAIL PROTECTED] ---\
|Do you know why the prisoner in the |
| tower watches the flight of birds? |
|  -- Terry Pratchett, _Reaper_Man_   |
\ Be like the kid in the movie!  Play chess! -- http://www.uschess.org ---/




Re: debian menu system and capital letters

2003-09-08 Thread Jason Chambers
On Mon, Sep 08, 2003 at 05:57:16PM +0100, Jonathan Dowland wrote:
 On Mon, Sep 08, 2003 at 04:10:20PM +0100, Jason Chambers wrote:
  
  You can get the case ignored when ordering by adding the following
  to /etc/menu-methods/menu.h.
  
  sort=tolower($title)
  
  Then run update-menus to regenerate them.
 
 I've had a play around with this, and found that putting a custom menu.h
 in ~/.menu-methods works for a user. However, I then need to keep
 up-to-date copies of anything from /etc/menu-methods/ in this directory
 too, if I want a menu generated. Is it currently impossible to override
 some, but not all of the /etc/menu-methods folder, on a user-by-user
 basis?
 

No. According to section 5.1 in the menu documentation /etc/menu-methods
is ignored if the user has a ~/.menu-methods.  

-- 
 .''`.  Jason Chambers [EMAIL PROTECTED] 
: :'  : Registered linux user #271693 
`. `'`  
  `-http://www.debian.org/ - The Universal Operating System



pgpZGbMeljhRN.pgp
Description: PGP signature