Skip to content

Instantly share code, notes, and snippets.

@smutek
Created January 22, 2017 21:35
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smutek/bfe6ed3451216cc7fd06816db84b6e3c to your computer and use it in GitHub Desktop.
Save smutek/bfe6ed3451216cc7fd06816db84b6e3c to your computer and use it in GitHub Desktop.
Setup Simplenote on Fedora 25. Assumes Simplenote has been added to /opt/
SHORTCUT="[Desktop Entry]
Name=SimpleNote
Comment=Edit text files
Exec=/opt/Simplenote-linux-x64/Simplenote
Icon=/opt/Simplenote-linux-x64/Simplenote.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Utility;TextEditor;"
SCRIPT="#!/bin/sh
/opt/Simplenote-linux-x64/Simplenote $@ > /dev/null 2>&1 &"
echo "${SCRIPT}" > "/usr/local/bin/simplenote"
chmod +x "/usr/local/bin/simplenote"
echo "${SHORTCUT}" > "/usr/share/applications/Simplenote.desktop"
@smutek
Copy link
Author

smutek commented Jan 22, 2017

Steps I followed -

  • Download the Simplenote tar from here: https://simplenote.com/downloads/
  • Untar and move to /opt/ : sudo tar -xfz Path\To\Your\Download -C /opt/
  • Download this script and make it executable, chmod +x addSimplenote.sh
  • Run the script sudo ./addSimplenote.sh
  • Launch Simplenote from the CLI with simplenote or by pressing the Super key and typing Simplenote...

@brcmesquita
Copy link

Works like a charm!

@mickymots
Copy link

3 cheers for the scripts and steps :) +1

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