You are not logged in.

#1 2011-05-19 10:33:13

strummer
Member
Registered: 2007-01-11
Posts: 87

Terminal and opening links (default browser problem?) [solved]

This is getting stupid. I switched from Chromium to Firefox, and it worked fine. I run Irssi on Terminal, and was able to open links to Firefox by middclicking. But now they open to Opera! I'm quite sure I didn't change anything. Exo-preferred-applications still shows Firefox is the default. If I type "xdg-open http://google.com" it also uses Firefox. I also added "BROWSER=firefox" to .profile now, it didn't help.

I removed Opera for a test, and then Chromium was the default. I removed it and  Gnome browser was used wink I'm using XFCE4 btw, I uninstalled Gnome some time ago (long before I had this problem).

Firefox doesn't check if it's default browser when it starts.. And if I use "check now" button, nothing happens.. I have updated all packages.

Last edited by strummer (2011-06-04 09:18:37)


P4 530J, Arch Linux

Offline

#2 2011-05-19 14:42:02

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminal and opening links (default browser problem?) [solved]

you can try to add this to your .bashrc

# Browser
if [ -n "$DISPLAY" ]; then
        BROWSER=firefox
else
        BROWSER=links
fi

Offline

#3 2011-05-20 04:23:18

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: Terminal and opening links (default browser problem?) [solved]

That will help the OP be more slick once his problem is solved, but it obviously won't solve his original problem.

Btw, this seems to be a duplicate of https://bbs.archlinux.org/viewtopic.php?id=119236.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#4 2011-05-20 04:37:20

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Terminal and opening links (default browser problem?) [solved]

Yeah, your right, obviously. Sorry.

Offline

#5 2011-05-23 09:38:54

strummer
Member
Registered: 2007-01-11
Posts: 87

Re: Terminal and opening links (default browser problem?) [solved]

Haven't solved this.. Tried helpers.rc, preferred applications, xdg-mime.. It's so weird, xdg-open works, why can't Terminal use it?-)

https://bugzilla.xfce.org/show_bug.cgi? … AndLogIn=1 I guess this is the same problem..


P4 530J, Arch Linux

Offline

#6 2011-06-03 09:53:01

strummer
Member
Registered: 2007-01-11
Posts: 87

Re: Terminal and opening links (default browser problem?) [solved]

I still don't know why this doesn't work.. I mean really, Terminal can use all the other browsers but not Firefox?


P4 530J, Arch Linux

Offline

#7 2011-06-04 09:18:15

strummer
Member
Registered: 2007-01-11
Posts: 87

Re: Terminal and opening links (default browser problem?) [solved]

Adding x-scheme-handler/http=exo-web-browser.desktop to ~/.local/share/applications/mimeapps.list worked, XFCE forums helped!


P4 530J, Arch Linux

Offline

Board footer

Powered by FluxBB