* Joey Hess <[EMAIL PROTECTED]> [20070907 02:14]:
> Michael Prokop wrote:

> > Would be great if the Exec= lines of debian/menu of bsdgames could
> > provide the full path to the applications instead of the binary
> > names only.

> If you would like to run programs in /usr/games, keep it in your PATH.
> It's there by default.

> Any directory can be added to or removed from PATH, not just /usr/games.
> That is not a good argument for using hardcoded paths everywhere.
> Hardcoded paths are harmful:
> http://kitenet.net/~joey/blog/entry/absolute_paths_absolute_bad_idea/

ACK¹ - good point. But then the behaviour should be adjusted in
other packages according:

# grep -r 'Exec=.*bin/' /var/lib/menu-xdg/applications/menu-xdg/ | wc -l
502

There does not seem to exist any consensus how that should be
handled generally. I can't find an according policy inside
http://alioth.debian.org/docman/view.php/30046/2/menu-one-file.html#s3.6
as well. Do we care about the issue so it should become part of the
policy?

¹ IMHO a clear and readable error message should be presented in
pdmenu if a binary can't be found then². You are the maintainer of
pdmenu as well: should I fill a separate bug report? Or do you know
what I mean and care about that on your own? Or don't you see that
as a bug at all?

² I typically don't have /usr/games inside $PATH of user root for
example.

thx && regards,
-mika-

Attachment: signature.asc
Description: Digital signature

Reply via email to