Overriding .desktop files on Ubuntu snaps

I’ll let others comment on if there is a better way, but if you are doing this, be sure that you are copying the file from /var/lib/snapd/desktop/applications so that your Exec line is using the binary from /snap/bin so it is properly launched under confinement.

1 Like