Skip to content

Instantly share code, notes, and snippets.

@jaldhar
Last active March 12, 2017 15:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaldhar/d6cf3bc49f6be8f4fc454aa0db336fb4 to your computer and use it in GitHub Desktop.
Save jaldhar/d6cf3bc49f6be8f4fc454aa0db336fb4 to your computer and use it in GitHub Desktop.
Setting up learn IDE for Chrome on Ubuntu Linux and KDE 5

If you are trying to get an "Open" button on learn.co to launch their atom-based IDE and nothing is happening, you are probably missing a protocol handler. This is how I fixed the problem.

(Note this has only been tested on Ubuntu Linux 16.04 with KDE 5. It may not be valid for other configurations.)

  1. create a file in $(HOME)/.local/share/applications called learn-ide.desktop. It should have atleast the following contents:
[Desktop Entry]
Type=Application
Name=Learn IDE
MimeType=x-scheme-handler/learn-ide
Exec=/usr/share/learn-ide/atom "%u"

There are no doubt other things you can add but this is the minimum.

  1. From the command line run kbuildsycoca5.

And now it should work.

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