Skip to content

RFC: Shell Runner: Resolve symlinks for ID

Kai Uwe Broulik requested to merge work/kbroulik/shell-symlink into master

Some executables are symlinks, so resolve them for the ID.

For example /usr/bin/gimp is a symlink to /usr/bin/gimp-2.10 but its desktop file points to gimp-2.10 directly.


On the other hand, my vim is a symlink to /etc/alternatives/vim which in turn is a symlink to /usr/bin/vim.basic, which doesn't check out. But then, yo don't really launch that as a GUI app anyway.

Maybe we should investigate using TryExec for desktop files instead. Here, gimp.desktop has the direct TryExec=gimp-2.10

@alex @fvogt

Merge request reports

Loading