Skip to content

Instantly share code, notes, and snippets.

@ArtMin96
Last active June 9, 2024 09:54
Show Gist options
  • Save ArtMin96/07ef7dfb3f5efae1c704126e406e05ed to your computer and use it in GitHub Desktop.
Save ArtMin96/07ef7dfb3f5efae1c704126e406e05ed to your computer and use it in GitHub Desktop.
How to register an AppImage as a desktop application in Linux
1. Download the `.AppImage` file and an icon you would like to register it with
2. Move the `.AppImage` file to the path `/bin`, e.g. `sudo mv ~/Downloads/Vemto.AppImage /bin/`
3. Make it executable with `sudo chmod +x /bin/Vemto.AppImage`
4. Save the icon under `/usr/share/icons/custom/vemto.png` e.g. `sudo mkdir --parents /usr/share/icons/custom && sudo mv ~/Downloads/vemto.png /usr/share/icons/custom/`
5. Create a `.desktop` file under `~/.local/share/applications/vemto.desktop`
6. Paste the following content into it (make sure to remove the comments):
```
[Desktop Entry]
Name=Vemto
Comment=Transform the way you develop Laravel projects with our all-encompassing code generation tool
Exec=/bin/Vemto.AppImage
Terminal=false
Type=Application
Icon=/usr/share/icons/custom/vemto.png
Categories=Utility
Keywords=vemto
StartupWMClass=Vemto
Actions=NewWindow
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment