Hi all! Is it possible to set sort of an "alias" for certain programs and if so, how? What I mean is, when I hit the Windows/Linux-key and start typing "mail" it shows the Mail Viewer
but also Thunderbird
oder Evolution
even tough they do not have the word "mail" in their name.
In the same way I'd like to set an alias such as paint
so that it shows certain programs I associate with pixel-based painting. Any ideas how to set (and display?) such aliases?
I learned quite a lot from here (English) and here (in German).
tldr:
The shortcuts are called .desktop
-files and are located usually in /usr/share/applications/
or can be found with
sudo apt install plocate
sudo updatedb
locate "*aseprite*desktop"
Then go the respective desktop-file, in my case under ~/.local/share/applications/aseprite.desktop
, open the file with a text editor and add keywords as you see fit.
In my case it looked like this and I added the last line Keywords=Paint
. However it also seems to work when modifying the Comment
(or the Name
of course).
[Desktop Entry]
Type=Application
Name=Aseprite
GenericName=Sprite Editor
Comment=Animated sprite editor & pixel art tool
Icon=aseprite
Categories=Graphics;2DGraphics;RasterGraphics
Exec=aseprite %U
TryExec=aseprite
Terminal=false
StartupNotify=false
StartupWMClass=Aseprite
MimeType=image/bmp;image/gif;image/jpeg;image/png;image/x-pcx;image/x-tga;image/vnd.microsoft.icon;video/x-flic;image/webp;image/x-aseprite;
Keywords=Paint
It works out nicely, after typing "paint" Zorin now also shows Aseprite:
2 Likes