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

Re: Bug#22286: fvwm2: menu icons use too many colors in 8-bit mode (fwd)



Austin Donnelly wrote:
  >Subject: Bug#22286: fvwm2: menu icons use too many colors in 8-bit mode
  >Date: Sat, 9 May 1998 13:08:05 -0600
  >
  >Package: fvwm2
  >Version: 2.0.46-BETA-3
  >
  >Hi,
  >
  >It is necessary for me to use 8-bit mode and I prefer fvwm2.
  >However, many packages install menu icons that are very nifty
  >and colorful. 
...
  >It would be good if we could come up with a scheme for everyone using
  >the same colourmaps in their icons.  Maybe we should have two
  >directories for each icon - the colourful ones can go in one directory
  >for people who have 16bpp displays, and the other being the default.
  >
  >WHat are people's thoughts about this?
  >
It is policy that icon colour maps should be from an approved set.
The Policy Manual refers to Menu document, which says in
section 2.3:Icons :-

======================================================================
Please, make sure the icons you specify are always available on the
system. So, if you want to have an icon with your menu entry, the
preferred method is to supply the icon with that package. Also, to
prevent the distribution of icons files to turn too much into a mess,
please put all icon files in the directory
/usr/X11R6/include/X11/{bitmap,pixmap}.

Debian package maintainers should ensure that any icons they
include for use in the debian menus conform to the following points: 

    1.The icons should be in xpm format.

    2.The icons may not be larger than 32x32 pixels, although
      smaller sizes are ok.

    3.The icons should use only the 24 colors present in
      cmap.xpm, which comes with the menu package.

    4.The background area of the icon should be transparent, if
      possible.

If you have Imagemagick installed, you can make your icons meet
requirements 1, 2, and 3 with the following command, but you will
need to edit the icon afterwards to clean it up and make the
background transparent: 

  $ mogrify -format xpm -geometry 32x32 -map cmap.xpm <filenames>

If you, as a system admin, don't like the icons in the menus, simply
remove the $%{icon} from the files in
/etc/menu-methods/$wm, and run update-menus.

It's also possible to specify an icon for a submenu. However, if
each package would supply its own icons for the sub menus we can
never be sure that the icon files are available. Thus, only the menu
package is allowed to specify icons for sub menus. The syntax for
this is: 

  X11 Apps menu/apps /usr/X11R6/include/X11/pixmap/icon.xpm "Editors"
======================================================================


If you find any packages that don't meet this standard, pleas file
bugs against them.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
               PGP key from public servers; key ID 32B8FAA1
                 ========================================
     "Search me, O God, and know my heart; try me, and know 
      my thoughts. And see if there be any wicked way in me,
      and lead me in the way everlasting."        
                  Psalms 139:23,24 



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


Reply to: