diff options
author | andybons <andybons@chromium.org> | 2015-08-30 19:27:44 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-31 02:28:22 +0000 |
commit | ad92aa35752c2a1f3a0faad364f9b2d1cef83b91 (patch) | |
tree | 443feee4987dc2390dbceedd3a292a276700b5c7 /docs/linux_dev_build_as_default_browser.md | |
parent | 22afb31800284923e9f84af6373f68ad6b241f4b (diff) | |
download | chromium_src-ad92aa35752c2a1f3a0faad364f9b2d1cef83b91.zip chromium_src-ad92aa35752c2a1f3a0faad364f9b2d1cef83b91.tar.gz chromium_src-ad92aa35752c2a1f3a0faad364f9b2d1cef83b91.tar.bz2 |
[Docs] Another round of stylistic fixes.
TBR=nodir
BUG=524256
Review URL: https://codereview.chromium.org/1324603002
Cr-Commit-Position: refs/heads/master@{#346335}
Diffstat (limited to 'docs/linux_dev_build_as_default_browser.md')
-rw-r--r-- | docs/linux_dev_build_as_default_browser.md | 38 |
1 files changed, 26 insertions, 12 deletions
diff --git a/docs/linux_dev_build_as_default_browser.md b/docs/linux_dev_build_as_default_browser.md index 41226d9..acf2988 100644 --- a/docs/linux_dev_build_as_default_browser.md +++ b/docs/linux_dev_build_as_default_browser.md @@ -1,20 +1,34 @@ -Copy a stable version's .desktop file and modify it to point to your dev build: - * `cp /usr/share/applications/google-chrome.desktop ~/.local/share/applications/chromium-mybuild-c-release.desktop` - * `vim ~/.local/share/applications/chromium-mybuild-c-release.desktop` - * Change first Exec line in desktop entry: (change path to your dev setup) - * `Exec=/usr/local/google/home/scheib/c/src/out/Release/chrome %U` +# Linux Dev Build As Default Browser + +Copy a stable version's `.desktop` file and modify it to point to your dev +build: + +``` +cp /usr/share/applications/google-chrome.desktop \ + ~/.local/share/applications/chromium-mybuild-c-release.desktop +vim ~/.local/share/applications/chromium-mybuild-c-release.desktop + +# Change first Exec line in desktop entry: (change path to your dev setup) +Exec=/usr/local/google/home/scheib/c/src/out/Release/chrome %U +``` Set the default: - * `xdg-settings set default-web-browser chromium-mybuild-c-release.desktop` + + xdg-settings set default-web-browser chromium-mybuild-c-release.desktop Launch, telling Chrome which config you're using: - * `CHROME_DESKTOP=chromium-mybuild-c-release.desktop out/Release/chrome` - * Verify Chrome thinks it is default in `about:settings` page. - * Press the button to make default if not. + +* `CHROME_DESKTOP=chromium-mybuild-c-release.desktop out/Release/chrome` +* Verify Chrome thinks it is default in `about:settings` page. + * Press the button to make default if not. Restore the normal default: - * `xdg-settings set default-web-browser google-chrome.desktop` + xdg-settings set default-web-browser google-chrome.desktop + +Change the default, run, and restore: -A single line to change the default, run, and restore: - * `xdg-settings set default-web-browser chromium-mybuild-c-release.desktop && CHROME_DESKTOP=chromium-mybuild-c-release.desktop out/Release/chrome; xdg-settings set default-web-browser google-chrome.desktop && echo Restored default browser.`
\ No newline at end of file + xdg-settings set default-web-browser chromium-mybuild-c-release.desktop && \ + CHROME_DESKTOP=chromium-mybuild-c-release.desktop out/Release/chrome + xdg-settings set default-web-browser google-chrome.desktop && \ + echo Restored default browser. |