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

Menu icon policy (Was: Bug#142818: xteddy: Icons missing from menu entries)

Thanks for the bug report.

I just want to know which window manager you are using.  I did not found
any policy statement about default icon locations.  The documentation
of menu states:

     please put all icon files in the directory

and I had not to specify the complete path for all window managers I ever
used it worked.  While I had no real problem to apply your patch I wonder
if it is a real good idea.
Many packages use these defeult dicectory

~> grep "icon" /usr/lib/menu/* 2>/dev/null | grep -v /usr/X11R6/include/X11 | wc -l
~> grep "icon" /usr/lib/menu/* 2>/dev/null | grep /usr/X11R6/include/X11 | wc -l

Same try on another machine:

~> grep "icon" /usr/lib/menu/* 2>/dev/null | grep -v /usr/X11R6/include/X11 | wc -l
~> grep "icon" /usr/lib/menu/* 2>/dev/null | grep /usr/X11R6/include/X11 | wc -l

Would you really like to say me that you want to browse /usr/lib/menu for icons
with no full path specification and file bug reports?  In my opinion the
right way to go would to write a policy first.  There could be posibilities:

  1. (Complienace with /usr/share/doc/menu/menu.txt.gz = see above)
     Define a fixed path to icons and every window manager (menu using
     application has to look there in case it does not find the specified


  2. All applications have to specify the complete path name to their icons.

I would prefer the first.

Any comments?

Kind regards


PS: For those on Debian-Devel who do not like browsing BTS:

On Sun, 14 Apr 2002, Mark Purcell wrote:

> Package: xteddy
> Version: 2.0.1-6
> Severity: normal
> Tags: patch
> Andreas,
> It appears that you need to specify the full icon path for menu to
> function correctly.
> Mark
> --- /usr/lib/menu/xteddy	Thu Jan 17 01:11:09 2002
> +++ /etc/menu/xteddy	Sun Apr 14 19:56:13 2002
> @@ -1,24 +1,24 @@
>  ?package(xteddy):needs=X11 section=Games/Toys/Teddies\
> -  title="Teddy" icon="teddy.xpm" command="/usr/bin/X11/teddy"
> +  title="Teddy" icon="/usr/X11R6/include/X11/pixmaps/teddy.xpm" command="/usr/bin/X11/teddy"
>  ?package(xteddy):needs=X11 section=Games/Toys/Teddies\
> -  title="XAlex" icon="xalex.xpm" command="/usr/bin/X11/xalex"
> +  title="XAlex" icon="/usr/X11R6/include/X11/pixmaps/xalex.xpm" command="/usr/bin/X11/xalex"
>  ?package(xteddy):needs=X11 section=Games/Toys/Teddies\:.,$d
> ...

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

Reply to: