06-10-2020, 02:12 AM
So I've been in the process of rebuilding my system from scratch and ran into something strange today.
I'm running Arch/xfce with Whisker Menu. I always had a panel at the top of my screen with some launchers for commonly used programs, gimp being one of them. Well I decided to get rid of the panel and just use Whisker Menu's program search instead which is like how Windows menu works for the uninitiated. Press the windows key and just start typing what you want.
This has been working well until I tried to launch gimp and it didn't return a match. It was trivial to figure out why, as the word gimp wasn't anywhere in the .desktop file, so there was nothing to match. It just struck me funny that it wasn't and I wondered who was in charge of that. I would think that you'd want the single word your program is known by to be somewhere in the name or the description/comment.
It was easily fixed by adding gimp to the Comment line, but still....
I'm running Arch/xfce with Whisker Menu. I always had a panel at the top of my screen with some launchers for commonly used programs, gimp being one of them. Well I decided to get rid of the panel and just use Whisker Menu's program search instead which is like how Windows menu works for the uninitiated. Press the windows key and just start typing what you want.
This has been working well until I tried to launch gimp and it didn't return a match. It was trivial to figure out why, as the word gimp wasn't anywhere in the .desktop file, so there was nothing to match. It just struck me funny that it wasn't and I wondered who was in charge of that. I would think that you'd want the single word your program is known by to be somewhere in the name or the description/comment.
It was easily fixed by adding gimp to the Comment line, but still....
Code:
[Desktop Entry]
Version=1.0
Type=Application
_Name=GNU Image Manipulation Program
_GenericName=Image Editor
_Comment=Create images and edit photographs
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
_Keywords=GIMP;graphic;design;illustration;painting;
Exec=@GIMP_COMMAND@ %U
TryExec=gimp-@GIMP_APP_VERSION@
Icon=gimp
Terminal=false
Categories=Graphics;2DGraphics;RasterGraphics;GTK;
StartupNotify=true
MimeType=@MIME_TYPES@