Instantly share code, notes, and snippets.

Embed
What would you like to do?
Marp.desktop file to add a system shortcut for Marp (https://yhatt.github.io/marp/)
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=Marp
GenericName=Marp - Markdown Presentation Editor
Icon=/home/lilian/.local/Marp/marp.png
Exec=/home/lilian/.local/Marp/Marp %f
Categories=Office
Terminal=false
@Naereen

This comment has been minimized.

Owner

Naereen commented Feb 7, 2017

  1. Download it,
  2. Change the location of your local installation of Marp, for the binary file, and maybe download the icon and save it as marp.png
  3. Test it with: $ desktop-file-validate Marp.desktop
  4. If no complaint, then install it with: $ sudo desktop-file-install Marp.desktop

Only on Linux, following the FreeDesktop standards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment