Skip to content

Instantly share code, notes, and snippets.

@ashutosh2411
Forked from Naereen/Marp.desktop
Created October 23, 2018 05:02
Show Gist options
  • Save ashutosh2411/013949bdc3afd3695ab27ed67512c844 to your computer and use it in GitHub Desktop.
Save ashutosh2411/013949bdc3afd3695ab27ed67512c844 to your computer and use it in GitHub Desktop.
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
@ashutosh2411
Copy link
Author

  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 Free Desktop Standards.

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