Re: Bug#693477: psychopy: please specify full path of icon in /usr/share/menu/psychopy
On Thu, 10 Jan 2013, Bill Allombert wrote:
> > "Debian Menu System" document
> > http://www.debian.org/doc/packaging-manuals/menu.html/ch3.html#s3.7
> > giving more glory details on menu states that
> > a. "Icons should generally be installed in the directory /usr/share/pixmaps"
> > so general location is known/standardized
> > b. gives examples without full paths:
> > icon=path-to-pixmap.xpm
> ^^^^^^^^^^^^^^
> "path-to-pixmap" is intended to mean the full path to the icon.
d'oh -- skimmed too quickly I guess... although could be improved as
icon=/path/to/pixmap.xpm to make it easier to catch?
> If you look at other examples in the menu manual you find:
> icon="/usr/share/pixmaps/gnumeric.xpm" the path to the icon to use.
> icon=/usr/share/emacs/20.3/etc/emacs.xbm
yeap -- saw those example as well ;) not parsing "path-to-pixmap.xpm"
let me think that any form is allowed
> > if we end up fixing to the full path, we should then also fix
> > menu-policy (CCing debian-policy maintainers) to describe the need
> > of full path in icon entry?
> The specification does not provide a list of standard location for icons.
/usr/share/pixmaps sounds like one advised
> So far, the intent has been to include the full path to the icon.
thus forbidding any possible future theming etc...
but ok -- I see it now to be a 'common practice', so would just comply
with it.
Thanks and sorry for the noise
--
Yaroslav O. Halchenko
Postdoctoral Fellow, Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
Reply to: