Skip to content

Instantly share code, notes, and snippets.

@pwlin
Created February 28, 2015 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pwlin/ee784e2c7548a9c9cc21 to your computer and use it in GitHub Desktop.
Save pwlin/ee784e2c7548a9c9cc21 to your computer and use it in GitHub Desktop.
Registering a Protocol with Gnome
gconftool-2 -t string -s /desktop/gnome/url-handlers/foo/command 'foo "%s"'
gconftool-2 -s /desktop/gnome/url-handlers/foo/needs_terminal false -t bool
gconftool-2 -s /desktop/gnome/url-handlers/foo/enabled true -t bool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment