You are not logged in.

#1 2009-12-14 09:07:12

btwxt
Member
Registered: 2009-12-14
Posts: 34

Midori as Default Browser

Hey everyone, first post here. 

I recently started using midori to get my hands on webkit, and it seems stable enough ::knocks on wood:: to possibly use as a default browser.  webkit is FAST and I really like the GTK look and just the overall streamlined feel of it.  I know it's only version 0.2.1, but i think it has some serious potential.

So my question is as follows:  I was wondering where the symlink is to set midori as the default so when I open pages in irssi or finch, arch opens midori rather than shiretoko.  I hunted through the google wastelands and the forums here for a while for at least related issues and came up short.  I apologize in advance if something like this has been covered already, though. 

In a nutshell, I don't know how the system handles requests for a browser open.  On Debian I think it was x-www-browser in /etc/alternatives, however, arch doesn't have a setup like this.  In any case, I'm sure the way arch handles it much better than Debian and thus will make perfect sense once I figure it out.  I'm using openbox as my only wm/desktop environment.  I suspect the setting is a system wide one in /etc, but I'm stuck. 

Thanks in advance!

Offline

#2 2009-12-14 12:30:23

ZaQ
Member
Registered: 2009-12-12
Posts: 106

Re: Midori as Default Browser

Offline

#3 2009-12-14 15:23:19

btwxt
Member
Registered: 2009-12-14
Posts: 34

Re: Midori as Default Browser

ZaQ thanks for the link, however, I don't think that's what I'm looking for.  My (user) ~/.bashrc doesn't define a default browser so a simple export won't cause a system-wide change. 

How does bash/terminator know to open firefox?

Offline

#4 2009-12-14 16:00:46

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: Midori as Default Browser

Depends on your terminal. I use urxvt and this is being set up like this in ~/.Xdefaults

urxvt*perl-ext-common: default,matcher,clipboard
urxvt*urlLauncher: midori
urxvt*matcher.button: 2

Other terminals usually have an option as well to set the default browser, I guess. But setting the BROWSER variable ain't no mistake!

Offline

#5 2009-12-16 04:39:11

btwxt
Member
Registered: 2009-12-14
Posts: 34

Re: Midori as Default Browser

for the record

adding export BROWSER=/usr/bin/midori to ~/.bash_profile resolved this.  thanks ZaQ

Offline

#6 2009-12-16 22:26:14

ZaQ
Member
Registered: 2009-12-12
Posts: 106

Re: Midori as Default Browser

:d

Last edited by ZaQ (2009-12-16 22:26:38)

Offline

Board footer

Powered by FluxBB