Subject: | mimeopen fails on empty "Path=" line in .desktop entry |
When a .desktop file happens to have an empty Path like this:
[...]
Name=audacious2
NoDisplay=true
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
[...]
mimeopen fails with a message like
Show quoted text
> Could not change to dir: StartupNotify=true at
/usr/bin/vendor_perl/mimeopen line 162
It seems that the mimeopen script simply parses the next line as the
path instead of ignoring it.
This can be solved by simply deleting the offending Path entry, but
mimeopen should definitely not exit in this case.