LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-14-2012, 08:53 AM   #1
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Google-Chrome as default browser


Hello,

has anyone managed to set google-chrome as default browser in Slackware?

I'm running Slackware64-current and have google-chorme installed since some weeks. I'm very satisfied with this browser and want to configure it as default. I'm using FVWM-2.6.4 as Windowmanager.

I've configured for example Thunderbird to open links with chrome, but I'm using qwit as Twitter-client (which is QT-based) but could not yet configure Links in qwit to be opened with chrome.

Thanks in advance

Markus
 
Old 02-15-2012, 06:03 AM   #2
MadMaverick9
Member
 
Registered: Aug 2010
Location: Here
Distribution: Slackware 14.0
Posts: 119

Rep: Reputation: Disabled
Please check this thread http://www.linuxquestions.org/questi...rowser-882589/
 
1 members found this post helpful.
Old 02-15-2012, 08:21 AM   #3
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,030

Rep: Reputation: 160Reputation: 160
You can put this in your .bashrc

Code:
export BROWSER=/path to google-chrome
I just tried it with qwit, and it does the trick.

I wrestled with a similar issue in this thread:

http://www.linuxquestions.org/questi...rowser-700564/

however, the kludge I came up with was necessary with xfce-Terminal; the "export" cmd appeared to work with everything else.

cheers,
 
1 members found this post helpful.
Old 02-15-2012, 08:58 AM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Original Poster
Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Hello,

thanks for the answers. Both didn't help. I've inserted the browerpath as suggested by mrclisdue, but it doesn't work, even with qwit.

Now I've used a very brutal method, I removed /usr/bin/konqueror and made konqueror a simlink to google-chrome . It works, but maybe it has some disadvantages.

Markus
 
Old 02-15-2012, 09:12 AM   #5
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,543

Rep: Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385Reputation: 1385
Quote:
Originally Posted by mrclisdue View Post
You can put this in your .bashrc

Code:
export BROWSER=/path to google-chrome
Don't put it in .bashrc. Put it in /etc/profile.d/local.sh and make that file executable. (And then reboot).

If you just boot into runlevel 4, go straight to your graphical environment and launch Chrome, then your .bashrc will not have been loaded. The files in profile.d, however, will have been.

Last edited by dugan; 02-15-2012 at 09:21 AM.
 
2 members found this post helpful.
Old 02-15-2012, 09:23 AM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Original Poster
Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
Originally Posted by dugan View Post
Don't put it in .bashrc. Put it in /etc/profile.d/local.sh and make that file executable.

If you just boot into runlevel 4, go straight to your graphical environment and launch Chrome, then your .bashrc will not have been loaded. The files in profile.d, however, will have been.
Well, I boot into runlevel 3 and I had sourced my .bashrc explicitly after the changes, but it did not work (I also restarted qwit but I don't think that matters). Now that I've created the simlink to google-chrome it works (as expected) but I can not check the other settings.

I've also, some days ago, started kde and configured for chrome in the system-settings. And whithin kde I had really chrome as the default, also with qwit. But in fvwm the kde-settings work only for kde-programs.

Markus
 
Old 02-15-2012, 10:30 AM   #7
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,030

Rep: Reputation: 160Reputation: 160
Thanks for the info, dugan. I, too, boot into runlevel 3, but it always helps to know this stuff, just in case....

Glad to see you got it working, markush, but I'm a bit curious as to why the .bashrc thing didn't work for you.

Not that it *should* make any difference, but when I initially tried it out with qwit, I ran the export cmd from the cli, after I had logged in (hence, after .bashrc had been sourced.) I'm wondering if it would work if you created a script that set the BROWSER path before executing qwit.

Regardless, since it just *works* now, why fuss with it...?

cheers,
 
Old 02-15-2012, 10:54 AM   #8
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Original Poster
Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
Originally Posted by mrclisdue
...
Regardless, since it just *works* now, why fuss with it...?
Well, I'll mark this thread as SOLVED now.

But any further posts about this issue are very welcome.

Thanks for all your replies

Markus
 
Old 02-15-2012, 01:43 PM   #9
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 138Reputation: 138
Out of curiousity - Chrome or Chromium?
 
Old 02-15-2012, 02:46 PM   #10
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,970

Original Poster
Rep: Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848Reputation: 848
Quote:
Originally Posted by NyteOwl View Post
Out of curiousity - Chrome or Chromium?
I'm running google-chrome which is Chrome.

Markus
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Chrome cannot determine or set the default browser. ibbill Linux Mint 2 12-02-2011 07:17 PM
add google chrome browser latituded600kelly Linux - Newbie 3 03-28-2011 06:55 PM
[SOLVED] This there a Slackware version of Google Chromium Browser? (not Google Chrome) Robert.Thompson Slackware 6 01-13-2011 05:27 AM
LXer: As Goes Chrome OS, So Goes Google's Chrome Browser LXer Syndicated Linux News 4 10-09-2010 03:18 PM
Google's Chrome Web Browser popowich General 69 10-15-2008 02:09 PM


All times are GMT -5. The time now is 07:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration