Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Marp.desktop file to add a system shortcut for Marp (
#!/usr/bin/env xdg-open
[Desktop Entry]
GenericName=Marp - Markdown Presentation Editor
Exec=/home/lilian/.local/Marp/Marp %f

This comment has been minimized.

Copy link
Owner Author

@Naereen 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