Editing app menu items in GNOME

Continuing the discussion from Getting Icewind Dale Enhanced Edition to play in Fedora:

When I installed Icewind Dale it wanted to install in a path with a lot of spaces and capital letters, and I just hate that. So I opted for ~/games/icewind-date.

Did you notice that? Yep, I misspelled it. Icewind Date… which if we are honest, is exactly what it is! :slight_smile:

Anyhow, I corrected the path, but of course that broke the cool icon and menu item it installed. I couldn’t find it at first, and even installed menulibre to edit the item, but that couldn’t find it, either. I figured this was an XDG thing, so poking around found it in ~/.local/share/applications, called gog_com-Icewind_Dale_Enhanced_Edition_1.desktop:

[Desktop Entry]
Name=Icewind Dale: Enhanced Edition
GenericName=Icewind Dale: Enhanced Edition
Comment=Icewind Dale: Enhanced Edition
Exec="/home/maiki/games/icewind-dale/start.sh" ""

I had to change the path in a few places, but now it works again!