This is probably a really simple thing to do, but on Linux (Ubuntu), if I download a CMake binary distribution from https://cmake.org/download/, is there a quick simple step to run to get the .desktop file installed and working correctly?
I see there is one included in share/applications/cmake-gui.desktop, but it’s not completely clear to me what I need to do with this. I’ve tried running desktop-file-install --dir=$HOME/.local/share/applications cmake-gui.desktop to copy it to the right spot, but it doesn’t get picked up after that.
I’ve created a cmake-gui.desktop file manually, which I can get to work, but annoyingly I can’t get the icon to show up
If anyone has a quick description of how to achieve this I’d really appreciate it. Thanks!
I think icons need installed in a standard search location as well to be referred to by name. For the same reason, I think desktop-file-install doesn’t quite understand that the application is not being relocated as well; there may be flags you can use for that.