Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-16-2013, 04:24 PM
|
#1
|
|
Member
Registered: Oct 2008
Posts: 57
Rep:
|
Setting Chrome as default web browser
I am using Gnome 2, with Debian 6.0.6.
I have been thumbing around different alternatives for web browsing utilities, i.e.--Iceweasel vs. Firefox vs. Chrome. I had been using Chrome for a long time, but for some reason thought Iceweasel or Firefox would be better. My reason had to do with Java. Also, I think my reason is that when I clicked on an hyperlink in my Thunderbird client, the client wouldn't open up that page in my browser. I still have that problem, but the Java problem is solved.
Now that I have a retrograde problem such that an hyperlink in Thunderbird will not open up a page in Chrome, I'd like to get that fixed. Chrome keeps telling me whenever I open up a new instance that I can select it as the default browser or to "Not ask again".
I have selected Chrome as the default in Preferences -> Preferred Applications. I have also tried selecting Chrome as the default in Chrome -> Settings -> Default Browser -> <button> "Set Chrome as default web browser". When I do that, though, the button acts like it is dead. It can be pressed, but no change takes effect. I have also tried the Chrome support forum and there is nothing on it there for Linux to speak of.
Has anybody out there had this problem for Chrome in Debian 6.0.6?
Please help.
Thanks in advance.
|
|
|
|
01-16-2013, 06:45 PM
|
#2
|
|
Guru
Registered: Sep 2003
Location: Danville, VA Approx. N 36°36.434' W 79°24.342' Accur. 100' or so.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,245
Rep: 
|
Hi theAdmiral, Have you tried this?
http://productforums.google.com/foru...me/zXH00hCliDE
Quote:
gbroonLevel 2
More message actions
3/23/11
Had this problem myself, not sure if you managed to fix iit but I found it was because /usr/share/applications/google-chrome.desktop didn't exist.
I fixed it by creating a link to the file in /opt where chrome is installed.
# ln -s /opt/google/chrome/google-chrome.desktop /usr/share/applications/google-chrome.desktop
|
Good luck. ;-)
|
|
|
|
01-17-2013, 01:26 AM
|
#3
|
|
Member
Registered: Aug 2009
Distribution: Debian testing
Posts: 454
Rep:
|
You can run (as root)
Code:
update-alternatives --config x-www-browser
and, assuming chrome is listed as a choise there, set it as the default web browser for your system.
|
|
|
|
01-17-2013, 10:35 AM
|
#4
|
|
Member
Registered: Oct 2008
Posts: 57
Original Poster
Rep:
|
Quote:
Originally Posted by jim_p
You can run (as root)
Code:
update-alternatives --config x-www-browser
and, assuming chrome is listed as a choise there, set it as the default web browser for your system.
|
Thank you for your contribution, but I just tried this as you suggested and there was no effect.
|
|
|
|
01-17-2013, 11:33 PM
|
#5
|
|
Member
Registered: Aug 2009
Distribution: Debian testing
Posts: 454
Rep:
|
If you run
in a terminal, which browser shows up? Please don't be epiphany :P
Plus, I think gnome has some option gnome-control-center that allows you to change what gnome uses as default web browser, mail client, terminal etc.
|
|
|
|
01-19-2013, 06:51 PM
|
#6
|
|
Member
Registered: Oct 2008
Posts: 57
Original Poster
Rep:
|
If I run
a fresh instance of Chrome pops open.
I have tried the Gnome Control Center approach, selecting Chrome as the default browser. In my Preferred Applications, the radio button for Open Link in New Tab is selected. The Command field lists
Quote:
|
/opt/google/chrome/google-chrome
|
I think. The tail of it is concealed. And it is shaded out. I cannot seem to get to it, if need be.
I also tried to run Gnome Control Center from the command line as superuser. And I got an error message. The error message was:
Quote:
root@debian:/home/john# gnome-control-center
(gnome-control-center:22208): Unique-DBus-WARNING **: Unable to open a connection to the session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
(gnome-control-center:22208): Unique-DBus-WARNING **: Unable to connect to the running instance, aborting.
|
|
|
|
|
01-19-2013, 08:15 PM
|
#7
|
|
Member
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, LMDE
Posts: 815
Rep: 
|
Quote:
|
root@debian:/home/john# gnome-control-center
|
You're launching gnome-control-center as root; try launching it as your regular user. There should be a "Default applications" option somewhere where you can configure your default browser. BTW, I don't remember if, on Gnome2, it is in the control center, or under "System > Administration".
|
|
|
|
01-19-2013, 11:12 PM
|
#8
|
|
Member
Registered: Oct 2008
Posts: 57
Original Poster
Rep:
|
Are you understanding my problem here?
My problem is that I try to click on an hyperlink in Thunderbird that would normally open up a new tab to that hyperlink's URL page, but the hyperlink acts like it is dead. I seem to think that we are going about this incorrectly. Wouldn't you agree?
Thanks.
|
|
|
|
01-20-2013, 12:06 AM
|
#9
|
|
Member
Registered: Aug 2009
Distribution: Debian testing
Posts: 454
Rep:
|
If you click on a url that is not inside a browser nor inside thunderbird, e.g in some instant messenger, does it open in chrome?
If yes, then you have to change the browser (or browser string) thunderbird uses to open up urls, because it may say "firefox %u" for instance. I have no idea where such setting may be located in thunderbird 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:05 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|