Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling Chrome Browser in ChromeOS from crouton install #3357

Closed
aarwdc opened this issue Aug 20, 2017 · 5 comments
Closed

Calling Chrome Browser in ChromeOS from crouton install #3357

aarwdc opened this issue Aug 20, 2017 · 5 comments

Comments

@aarwdc
Copy link

aarwdc commented Aug 20, 2017

Please paste the output of the following command here: sudo edit-chroot -all

Name: trusty
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/trusty...
crouton: version 1-20170619181610~master:980f090f
release: trusty
architecture: amd64
xmethod: xiwi
targets: xfce,xiwi,chrome
host: version 9592.71.0 (Official Build) beta-channel cave 
kernel: Linux localhost 3.18.0-14875-g438cb8ab27c6 #1 SMP PREEMPT Wed Jul 26 23:33:35 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Not unmounting /mnt/stateful_partition/crouton/chroots/trusty as another instance is using it.

Please describe your issue:

I am noob to the whole Linux world, trying to wean myself off of Windows at that ripe age of 62, so excuse the ignorance.

The following instructions were given to another user, to call the chrome browser in ChromOS with URL links:

You could try using update-alternatives to make sure x-www-browser, gnome-www-browser, and www-browser point to the croutonurlhandler. You may also want to look at your gnome settings for default applications.

What is specific code I would use, and where would I place it?

@brownieboy
Copy link

brownieboy commented Jul 8, 2018

Belated answer, since your post actually pointed me in the right direction!

Simply typecroutonurlhandler into any Linux terminal and it calls the Chromebook's Chrome browser.

To make it the default browser for your crouton Linux, assuming that you've installed the XFCE version thereof:

  1. Go to Applications->Settings->Preferred Applications from the main XFCE menu
  2. On the Web Browser drop-down list, click the down arrow to the right, then pick "Other"
  3. From the resulting Choose a custom Web Browser dialog, paste in croutonurlhandler "%s", then click on the Ok and then Close buttons.

The main Chromebook's Chrome browser should now be the default for your crouton Linux!

This change enabled me to delete my crouton-installed version of Chromium, saving 200 Meg of precious drive space. I also deleted the Netsurf browser, although I don't think that took up much space anyway.

@aarwdc
Copy link
Author

aarwdc commented Jul 8, 2018

Thank you so much !works perfectly -worth the wait !

@cobalt2727
Copy link

Any idea how I'd set it as the default browser in GNOME?

@DennisLfromGA
Copy link
Collaborator

@cobalt2727,

This is a closed issue but I googled it for you:

Hope this helps,
-DennisLfromGA

@cobalt2727
Copy link

@cobalt2727,

This is a closed issue but I googled it for you:

Hope this helps,
-DennisLfromGA

I don't see an option for the chrome OS browser though...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants