Linux Trick: Create desktop entries for apps
Less than 1 minute
Linux Trick: Create desktop entries for apps
System: Fedora 39 workstation
It’s always a problem for me that some apps I downloaded can not be recognized by control
and extension search light
. So it’s necessary to create separate entries for those unrecognized apps.
The procedures are as follows:
- Cursor to directory
~/.local/share/applicaions
- Create
<app name>.desktop
- Edit the content
- run command
desktop-file-validate <app name>.desktop
The content is shown below:
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Name=typora
NoDisplay=true
Exec=typora