Skip to content

Instantly share code, notes, and snippets.

@kramarama
Created December 3, 2014 22:32
Show Gist options
  • Save kramarama/d2e7e7c6e6f7f85b3458 to your computer and use it in GitHub Desktop.
Save kramarama/d2e7e7c6e6f7f85b3458 to your computer and use it in GitHub Desktop.
alternatives
sudo update-alternatives --get-selections
sudo update-alternatives --set x-www-browser
sudo update-alternatives --set gnome-www-browser
sudo update-alternatives --config x-www-browser
sudo update-alternatives --config gnome-www-browser
/usr/bin/chromium-browser
/usr/bin/google-chrome-stable
gconftool-2 --get /desktop/gnome/url-handlers/http/command
gconftool-2 --get /desktop/gnome/url-handlers/https/command
/opt/google/chrome/google-chrome %s
gconftool-2 --set /desktop/gnome/url-handlers/http/command --type string '/usr/bin/chromium-browser "%s"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment