On Wed, 18 Dec 2019, Guillem Jover wrote:
> > We could add hundreds of path-based triggers, one for each binary that we
> > reference in our desktop files but we would likely miss any path
> > change... and it would be a bit tedious to maintain.
> 
> I checked the kali package, and the solutions that came to mind were to
> use path-based triggers either on each executable, or just on the PATH
> directories. The first has the problem that you mention about moving
> directories, but the second does not.
> 
> Then instead of looking up these in the dpkg database you could search
> the PATH for the programs, because that's what the .desktop files depend
> on anyway.

Indeed, thanks for the suggestion!

Cheers,
-- 
  ⢀⣴⠾⠻⢶⣦⠀   Raphaël Hertzog <hert...@debian.org>
  ⣾⠁⢠⠒⠀⣿⡁
  ⢿⡄⠘⠷⠚⠋    The Debian Handbook: https://debian-handbook.info/get/
  ⠈⠳⣄⠀⠀⠀⠀   Debian Long Term Support: https://deb.li/LTS

Reply via email to