I installed wine ver 5.0.2 on Ubuntu 20.04. In addition to that I installed Notepad++.
The command:
wine /home/user/.wine/drive_c/'Program Files (x86)'/Notepad++/notepad++.exe
starts Notepad++ correctly.
I tried to create a NotepadPlusPlus.desktop file in the desktop folder. This file is executable (rwxr-xr-x)
[Desktop Entry]
Name=NotepadPlusPlus
Icon=/home/user/pictures/NotepadPlusPlus.png
Exec=wine "/home/user/.wine/drive_c/Program Files (x86)/Notepad++/notepad++.exe"
Type=Application
Categories=wine;
Clicking this icon does not start the application though. What is wrong with the Exec command?