Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Google Chrome Default browser

  1. #1
    Join Date
    Jul 2016
    Location
    Michigan
    Posts
    32

    Default Google Chrome Default browser

    Trying to make this browser default has been a failure.

    latest and greatest Kde, Tumbleweed and Google Chrome.

    Starting it from Konsole get kwallet error's

    I can click the default browser button forever for nothing, went into Configure desktop> Personalization> Applications> Default Applications> Web Browser> Select, /usr/bin/google-chrome-stable %U

    I do not have Firefox.

    Code:
    google-chrome             
    [12507:12529:0815/004209:ERROR:native_backend_kwallet_x.cc(1029)] Error obtaining KWalle
    t handle
    
    

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,370
    Blog Entries
    2

    Default Re: Google Chrome Default browser

    When you launch Chrome for the first time, it should prompt you to make it your default web browser.

    Also, wondering how/where you installed chrome from?
    You may want to remove your existing Chrome.

    If you run the following from a root console, you should be able to install the latest Chrome, part way through the install you will be prompted to verify a key, it's a well known error by the Chrome developers. Choose to "Ignore" (i) the error.

    Code:
    zypper in https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
    After installation,
    On most Desktops you should immediately be able to open the menu item to launch Chrome.
    Internet > Chrome

    If you are running KDE, you should also be prompted to store your Chrome passwords in KDE wallet, but it will be a normal GUI window you can enter your selections, not an error you can't avoid.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Aug 2016
    Location
    Germany
    Posts
    7

    Default Re: Google Chrome Default browser

    I cannot offer a solution, but I can confirm the problem. Recently installed Chrome on a fresh Tumbleweed, using Google's repo. I'm running Gnome, and it is not possible to set Chrome as default browser. All changes in mimeapps.list, xdg-settings, etc. are dismissed out of hand. Chrome keeps asking every time I open it. Might be a bug in xdg-utils. However, this should affect a great number of users.

  4. #4
    Join Date
    Jul 2016
    Location
    Michigan
    Posts
    32

    Default Re: Google Chrome Default browser

    Quote Originally Posted by tsu2 View Post
    Also, wondering how/where you installed chrome from?
    https://www.google.com/linuxrepositories/

    Used CLI for rpm



    I will be the first to post a fix when i figure it out, fighting with this for a long time
    Last edited by linuxbeastmaster; 15-Aug-2016 at 14:47. Reason: F

  5. #5
    Join Date
    Jul 2016
    Location
    Michigan
    Posts
    32

    Default Re: Google Chrome Default browser

    Thought i had but no go, however i think we are closer than before.

    https://productforums.google.com/for...me/qmoczzPPzLQ

  6. #6
    Join Date
    Jul 2016
    Location
    Michigan
    Posts
    32

    Default Re: Google Chrome Default browser

    Quote Originally Posted by the_at View Post
    I cannot offer a solution, but I can confirm the problem. Recently installed Chrome on a fresh Tumbleweed, using Google's repo. I'm running Gnome, and it is not possible to set Chrome as default browser. All changes in mimeapps.list, xdg-settings, etc. are dismissed out of hand. Chrome keeps asking every time I open it. Might be a bug in xdg-utils. However, this should affect a great number of users.
    Well it turns out xdg can be used via bash

    Code:
    linuxbeastmaster@jerico:~> xdg-settings set default-web-browser google-chrome.desktop
    linuxbeastmaster@jerico:~> xdg-settings { --help
    xdg-settings ? get various settings from the desktop environment
    
    Synopsis
     
    xdg-settings { get | check | set } {property} [subproperty] [value]
    
    xdg-settings { --help | --list | --manual | --version }
    
    Use 'man xdg-settings' or 'xdg-settings --manual' for additional info.
    linuxbeastmaster@jerico:~> xdg-settings get default-web-browser
    google-chrome.desktop
    linuxbeastmaster@jerico:~> 
    
    
    This suggests chrome is default

  7. #7
    Join Date
    Aug 2016
    Location
    Germany
    Posts
    7

    Default Re: Google Chrome Default browser

    That's odd. For me xdg-settings has no effect.

    $ xdg-settings set default-web-browser google-chrome.desktop
    $ xdg-settings get default-web-browser firefox.desktop

    Just to rule this possibility out: what happens if you try
    xdg-settings set default-web-browser firefox.desktop
    ?

  8. #8
    Join Date
    Aug 2016
    Location
    Germany
    Posts
    7

    Default Re: Google Chrome Default browser

    I found this workaround: starting google-chrome-stable --no-default-browser-check seems to skip the check.
    Therefore:
    Code:
    cp /usr/share/applications/google-chrome.desktop ~/.local/share/applications/
    Then edit this file in .local/share/applications/ and append behind every Exec=/usr/bin/google-chrome-stable the option --no-default-browser-check

    This should work after the next login.

  9. #9
    Join Date
    Jul 2016
    Location
    Michigan
    Posts
    32

    Default Re: Google Chrome Default browser

    Quote Originally Posted by the_at View Post
    I found this workaround: starting google-chrome-stable --no-default-browser-check seems to skip the check.
    Therefore:
    Code:
    cp /usr/share/applications/google-chrome.desktop ~/.local/share/applications/
    Then edit this file in .local/share/applications/ and append behind every Exec=/usr/bin/google-chrome-stable the option --no-default-browser-check

    This should work after the next login.

    This is becoming a wealth of awesome information, keep it coming
    Signature
    As with any operating system, individual results may vary! So what is your opinion again?

  10. #10
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,370
    Blog Entries
    2

    Default Re: Google Chrome Default browser

    Decided to take a closer look at this...

    I don't know how you guys are even able to install Chrome,
    I'm throwing an error that doesn't seem to be resolved easily (I haven't seen this problem in other versions of openSUSE, this may be unique to TW)

    The following describes adding the repo, refreshing and then attempting to install Google Chrome browser on a brand new Tumbleweed (Snapshot20160815)

    Code:
    # zypper ar http://dl.google.com/linux/chrome/rpm/stable/x86_64/ Google_Chrome_Browser
    Adding repository 'Google_Chrome_Browser' ................................[done]
    Repository 'Google_Chrome_Browser' successfully added
    Enabled     : Yes                                                 
    Autorefresh : No                                                  
    GPG Check   : Yes                                                 
    Priority    : 99                                                  
    URI         : http://dl.google.com/linux/chrome/rpm/stable/x86_64/
    
    
    # zypper ref
    Retrieving repository 'Google_Chrome_Browser' metadata ...................[done]
    Building repository 'Google_Chrome_Browser' cache ........................[done]
    Repository 'openSUSE-Tumbleweed-Non-Oss' is up to date.                         
    Repository 'openSUSE-Tumbleweed-Update' is up to date.                          
    All repositories have been refreshed.
    
    # zypper se chrome
    Loading repository data...
    Reading installed packages...
    
    
    S | Name                   | Summary                  | Type   
    --+------------------------+--------------------------+--------
      | google-chrome-beta     | Google Chrome (beta)     | package
      | google-chrome-stable   | Google Chrome            | package
      | google-chrome-unstable | Google Chrome (unstable) | package
    # zypper in google-chrome-stable
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    
    Problem: nothing provides libgconf-2.so.4()(64bit) needed by google-chrome-stable-52.0.2743.116-1.x86_64
     Solution 1: do not install google-chrome-stable-52.0.2743.116-1.x86_64
     Solution 2: break google-chrome-stable-52.0.2743.116-1.x86_64 by ignoring some of its dependencies
    
    
    Choose from above solutions by number or cancel [1/2/c] (c): c
    This missing dependency doesn't appear to be trivial... It's not in existing openSUSE repos (that I've been able to find), It can be found using rpmfind and pbone, but it seems that additional dependencies are triggered which can make for a difficult process of finding and installing files one by one.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •