Cannot open application when there are space in `Name` in the desktop file
Edenharder opened this issue · comments
For example, the default name of the application owncloud
is
Name = owncloud desktop sync client
When we select owncloud desktop sync client
in the list of dmenu-extended
, nothing happens. If we do the change
Name = owncloud
and rebuild the cache. When we select owncloud in the list of
dmenu-extended`, everything works fine.
Similar issue exists for other applications also, for example Skype for linux
.
this bug seems familiar.....
ah right there was a similar bug with files and exec paths but seems unrelated
The issues appears to be that the owncloud .desktop
file had some extra whitespace at the end of it's name which was being stripped when received from the menu, but was still present in the cache (so wasn't matching the entered command with the aliased command). Anyway I've pushed some changes so feel free to try the new version and let me know if you still have any issues.
Thank you! It works now.