Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: docs/linux_dev_build_as_default_browser.md

Issue 1309473002: WIP: Migrate Wiki content over to src/docs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « docs/linux_debugging_ssl.md ('k') | docs/linux_development.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Copy a stable version's .desktop file and modify it to point to your dev build:
2 * `cp /usr/share/applications/google-chrome.desktop ~/.local/share/application s/chromium-mybuild-c-release.desktop`
3 * `vim ~/.local/share/applications/chromium-mybuild-c-release.desktop`
4 * Change first Exec line in desktop entry: (change path to your dev setup)
5 * `Exec=/usr/local/google/home/scheib/c/src/out/Release/chrome %U`
6
7 Set the default:
8 * `xdg-settings set default-web-browser chromium-mybuild-c-release.desktop`
9
10 Launch, telling Chrome which config you're using:
11 * `CHROME_DESKTOP=chromium-mybuild-c-release.desktop out/Release/chrome`
12 * Verify Chrome thinks it is default in `about:settings` page.
13 * Press the button to make default if not.
14
15 Restore the normal default:
16 * `xdg-settings set default-web-browser google-chrome.desktop`
17
18
19 A single line to change the default, run, and restore:
20 * `xdg-settings set default-web-browser chromium-mybuild-c-release.desktop && CHROME_DESKTOP=chromium-mybuild-c-release.desktop out/Release/chrome; xdg-settin gs set default-web-browser google-chrome.desktop && echo Restored default browse r.`
OLDNEW
« no previous file with comments | « docs/linux_debugging_ssl.md ('k') | docs/linux_development.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698