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/applications/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`
8 * `xdg-settings set default-web-browser chromium-mybuild-c-release.desktop`
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.
15 Restore the normal default:
16 * `xdg-settings set default-web-browser google-chrome.desktop`
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-settings set default-web-browser google-chrome.desktop && echo Restored default browser.`