You are not logged in.

Announcement

Due to heavy spamming of forums registration is going in stages. If you wish to register as a new user with ArchBang Forums, first register and then send an e-mail to: archbangforums at gmail dot com. It should contain the problem you want to discuss or some other AB related content. You will be promoted from registering member with no posting rights to new member with posting rights after that. If your mail is ignored you haven't fulfilled the requirements.

#1 2011-11-11 14:13:58

hugepopeye
Member
Registered: 2011-01-22
Posts: 15

how to make chromium my default browser?

Just installed chromium browser, but when I clicked *.html file, the firefox was called as my default browser.
Is there anyway that I can set chromium my default? Thanks.

Offline

#2 2011-11-11 14:20:47

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,662
Website

Re: how to make chromium my default browser?

Right click the html file in your file  manager; choose properties and select chromium at Open with...


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#3 2011-11-11 14:25:18

hugepopeye
Member
Registered: 2011-01-22
Posts: 15

Re: how to make chromium my default browser?

Thanks for your hints. But that would make it default for the specific html file instead of all associated files.
This is my two cents, any suggestions? Thanks.

Offline

#4 2011-11-11 14:34:56

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,662
Website

Re: how to make chromium my default browser?

Ok, another way
go in chromium to: chrome://settings/browser
And click on "make chromium my default browser" button.


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#5 2011-11-11 14:41:30

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,892

Re: how to make chromium my default browser?

Maybe remove firefox?

Offline

#6 2011-11-11 15:08:19

oliver
Administrator
Registered: 2010-11-04
Posts: 1,544

Re: how to make chromium my default browser?

if you're using the latest AB, there is an entry in ~/.xinitrc that sets the BROWSER variable to firefox-aurora

Modifying that (and logging out/in) should fix it for apps that honour $BROWSER when displaying html

You can verify with

$ env | grep BROWSER


Hasta manana, monsieur
Were the only words that I knew for sure

Offline

#7 2011-11-11 16:45:25

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,892

Re: how to make chromium my default browser?

That is a good find smile

Offline

#8 2011-11-11 17:14:19

pablokal
Administrator
From: Nijmegen, Holland
Registered: 2010-10-12
Posts: 2,662
Website

Re: how to make chromium my default browser?

~/.xinitrc that sets the BROWSER variable to firefox-aurora

These are the things you miss by not installing AB each month....


Getting your questions answered here at ArchBang Forums
Please! Always give hardware info, if there is a chance that 's relevant: #lspci -vnn
Quote: What I have learnt from Linux is to minimize dependencies and functionalities for greater independence.
On Arch(bang) and Openbox: http://stillstup.blogspot.com/

Offline

#9 2011-11-11 20:34:37

oliver
Administrator
Registered: 2010-11-04
Posts: 1,544

Re: how to make chromium my default browser?

Mr Green wrote:

That is a good find smile

just like a blind squirrel :-)


Hasta manana, monsieur
Were the only words that I knew for sure

Offline

#10 2011-11-12 01:33:46

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,892

Re: how to make chromium my default browser?

pablokal wrote:

~/.xinitrc that sets the BROWSER variable to firefox-aurora

These are the things you miss by not installing AB each month....

I do install AB every month just do not look in .xinitrc ...

#!/bin/bash
export BROWSER=firefox-aurora
export DE=xfce
exec ck-launch-session dbus-launch openbox-session

The DE one bothers me smile

Offline

#11 2011-11-12 02:30:53

ArchVortex
Retired AB Overlord
From: Jakarta, Indonesia
Registered: 2011-04-01
Posts: 1,449

Re: how to make chromium my default browser?

Mr Green wrote:

The DE one bothers me smile

Me too! Change it to this if you want tongue

export DE=lxde

or

export DE=bumtu

lol


GUI's?? We don't need no stinkin' GUI's!!!

Offline

#12 2011-11-12 02:39:28

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,892

Re: how to make chromium my default browser?

Sounds like a plan smile

Offline

#13 2011-11-20 22:13:56

scjet
ArchBanger
From: Windsor, Canada
Registered: 2010-12-01
Posts: 790

Re: how to make chromium my default browser?

I had a problem with "Super + r" bringing up the DOC.html only in firefox-aurora too.
so I changed the 2 occurence's of "firefox-aurora" in ~/.config/openbox/rc.xml  to "chromium" and that solved that problem also.

btw, I tried "export DE=bumtu" as suggested by you guys above,
but all I got was this horrible brown wallpaper that looked like the wrinkled ass of an elephant ?
strange eh ?
roll
wink

Last edited by scjet (2011-11-22 09:14:41)


The "BSD" things in life are "Free", and "Open", and so is ArchBang!
Go Leafs Go !!!

Offline

#14 2012-06-06 09:36:00

pe7er
New member
From: Nijmegen, The Netherlands
Registered: 2012-05-30
Posts: 9
Website

Re: how to make chromium my default browser?

pablokal wrote:

go in chromium to: chrome://settings/browser
And click on "make chromium my default browser" button.

Unfortunately this method isn't working in my Chromium (Version 19.0.1084.52 (0)),
it says "Chromium cannot determine or set the default browser."

oliver wrote:

if you're using the latest AB, there is an entry in ~/.xinitrc that sets the BROWSER variable to firefox-aurora

Modifying that (and logging out/in) should fix it for apps that honour $BROWSER when displaying html

You can verify with

$ env | grep BROWSER

env | grep BROWSER states "BROWSER=chromium"
but clicking on a hyperlink in my Thunderbird email client still opens the link in FireFox, and not in Chromium.
Or is that something I have to configure in Thunderbird?


PS: if you also want to change the browser shortcut key: Super + W = Webbrowser start (see http://wiki.archbang.org/index.php?title=KeyBindings )
you've to change that in .conkyrc:
Preferences > OpenBox Config > key editor > command: chromium

Last edited by pe7er (2012-06-06 09:48:58)


Kind regards,
Peter Martin - Joomla Open Source CMS specialist www.db8.nl
OS: Arch Linux | Archbang | Debian | Crunchbang | Ubuntu

Offline

#15 2012-08-05 01:30:39

den80
New member
Registered: 2012-07-23
Posts: 5

Re: how to make chromium my default browser?

oliver wrote:

if you're using the latest AB, there is an entry in ~/.xinitrc that sets the BROWSER variable to firefox-aurora

Modifying that (and logging out/in) should fix it for apps that honour $BROWSER when displaying html

You can verify with

$ env | grep BROWSER

where is the ~/.xinitrc i cant find it.,

Offline

#16 2012-08-05 01:49:39

mastis
ArchBanger
From: Finland
Registered: 2011-10-02
Posts: 126

Re: how to make chromium my default browser?

It's in the ~/.xinitrc also known as /home/your_username/.xinitrc. If you use pcmanfm or thunar, menu -> show hidden files and you see it.

Offline

Board footer

Powered by FluxBB