I have two versions of a wine program. Curently, they are named the same. I would like to change their name form "Program name" to "Program name vesion.number".
These programs have their .desktop files in ~.local/share/applications/wine/Programs/
.
When I edit them and change the name attribute in the desktop file, nothing happens. (I remove and install leafpad all over to force some cache updating).
When I rename the "Program name.desktop" files to for example "Program nameAAA.desktop", the name in the dash changes. when I rename them back, it reverts to the original.
I can live with "Program nameAAA.desktop" but I still wonder why this happens? I suspect some cache somewhere.
~.local/share/applications/wine/Programs/URUSoft/Subtitle Workshop/
and a new version that some other people started to develop fairly recently is in~.local/share/applications/wine/Programs/URUSoft/Subtitle Workshop/
- otherwise the desktop files are the same (but tey differ in exec accordingly) and they appear twice in Dash - as they should, as they open two different applications.~/.local/share/applications/
is preferred over/usr/share/applications/
. This is useful if you want to modify some default desktop file. Just copy it to~/.local/...
and modify there. But, when two desktop files have different filenames, they're treated as different applications (irrespective of whether their names match) and hence get different entries in dash.