You are not logged in.

#1 2010-10-15 23:01:30

droppst
Member
Registered: 2010-10-15
Posts: 5

Default browser

Iceweasel started to open all my links by default, but before it did Opera. I can not understand why this is happening, but I want to return to Opera as default browser.

update-alternatives --config x-www-browser

There are 2 choices for the alternative x-www-browser (providing /usr/bin/x-www-browser).

  Selection    Path                Priority   Status
------------------------------------------------------------
* 0            /usr/bin/opera       100       auto mode
  1            /usr/bin/iceweasel   70        manual mode
  2            /usr/bin/opera       100       manual mode

Press enter to keep the current choice[*], or type selection number: 0

/etc/alternatives# ls -l

lrwxrwxrwx 1 root root  14 Oct 15 18:27 x-www-browser -> /usr/bin/opera

But still Iceweasel opens all links and pages (. I use Fluxbox.
Help me please.

Offline

#2 2010-10-15 23:55:38

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: Default browser

/me has a horrible debian flashback

Offline

#3 2010-10-16 11:58:49

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 454

Re: Default browser

have you tried in the browser preferences?

or alternatively in system->preferences->preferred application

or its equivalent in kde?

ezik

Offline

#4 2010-10-16 12:51:05

droppst
Member
Registered: 2010-10-15
Posts: 5

Re: Default browser

shulamy wrote:

have you tried in the browser preferences?

Iceweasel argues that it's default browser (if you look in the preferences).

shulamy wrote:

or alternatively in system->preferences->preferred application
or its equivalent in kde?

This is not available in Fluxbox.

Offline

#5 2010-10-16 13:35:00

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 454

Re: Default browser

you had to write 1 instead of 0 in the first post.

Offline

#6 2010-10-16 13:38:35

droppst
Member
Registered: 2010-10-15
Posts: 5

Re: Default browser

Should not. I need Opera, but not Iceweasel.

Offline

#7 2010-10-16 13:44:14

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 454

Re: Default browser

what if you write 2?

may be auto mode let iceweasel to take over.

Last edited by shulamy (2010-10-16 13:45:55)

Offline

#8 2010-10-16 14:23:43

droppst
Member
Registered: 2010-10-15
Posts: 5

Re: Default browser

shulamy wrote:

what if you write 2?

update-alternatives --config x-www-browser

There are 2 choices for the alternative x-www-browser (providing /usr/bin/x-www-browser).

  Selection    Path                Priority   Status
------------------------------------------------------------
* 0            /usr/bin/opera       100       auto mode
  1            /usr/bin/iceweasel   70        manual mode
  2            /usr/bin/opera       100       manual mode

Press enter to keep the current choice[*], or type selection number: 2
update-alternatives: error: unable to write /var/lib/dpkg/alternatives/x-www-browser.dpkg-tmp: Permission denied
shulamy wrote:

may be auto mode let iceweasel to take over.

Maybe, but I do not know how to remove

Offline

#9 2010-10-16 15:18:13

igndenok
Member
From: Sidoarjo, Indonesia
Registered: 2010-06-07
Posts: 160

Re: Default browser

It made me remember when I still use Fedora back then, choose between OpenJDK and JRE using alternative.
Try this link, it gives explanation how to choose OpenJDK and JRE using alternative and how to revert it back. Hope this is useful for you, and maybe you need search it at Fedora forum about alternative.


Ask, and it shall be given you.
Seek, and ye shall find.
Knock, and it shall be opened unto you.

Offline

#10 2010-10-16 15:39:18

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: Default browser

maybe just having one browser installed would fix the issue


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#11 2010-10-16 15:44:31

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: Default browser

1. You need to run update-alternatives with sudo.
2. Add the following to your autostart file.

export BROWSER="/usr/bin/opera"

Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#12 2010-10-16 17:56:24

droppst
Member
Registered: 2010-10-15
Posts: 5

Re: Default browser

igndenok wrote:

It made me remember when I still use Fedora back then, choose between OpenJDK and JRE using alternative.
Try this link, it gives explanation how to choose OpenJDK and JRE using alternative and how to revert it back. Hope this is useful for you, and maybe you need search it at Fedora forum about alternative.

thanks, I'll try to understand

theringmaster wrote:

maybe just having one browser installed would fix the issue

I tried, no results.

Stebalien wrote:

1. You need to run update-alternatives with sudo.

I tried, no results.

Stebalien wrote:

2. Add the following to your autostart file.

export BROWSER="/usr/bin/opera"

But the earlier work without this

Offline

#13 2010-10-16 19:11:06

theapodan
Member
From: Virginia, USA
Registered: 2008-10-21
Posts: 116

Re: Default browser

Where are you getting the command "update-alternatives"?  I have no such thing on my system.

Offline

#14 2010-10-16 20:59:44

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: Default browser

theapodan wrote:

Where are you getting the command "update-alternatives"?  I have no such thing on my system.

skunktrader wrote:

/me has a horrible debian flashback

It's a Debian thing. wink

Offline

#15 2011-09-12 05:38:43

djeikyb
Member
Registered: 2011-06-02
Posts: 5

Re: Default browser

Seems doubtful the OP is even using Arch Linux, but this thread is top of the search pile anyway. Thus, a correct answer follows. Adjust for your preferred browser, be it Opera or a wine-powered Internet Explorer. I quote from the wiki:

https://wiki.archlinux.org/index.php/Ch … lt_browser

[E]dit the xdg-open script.

$ sudo $YOUR_EDITOR /usr/bin/xdg-open

At almost the bottom on the file, is a long horizontal list of browsers:

if [ x"$DE" = x"" ]; then
   # if BROWSER variable is not set, check some well known browsers instead
   if [ x"$BROWSER" = x"" ]; then
       BROWSER=links2:links:lynx:w3m
       if [ -n "$DISPLAY" ]; then
           BROWSER=firefox:mozilla:epiphany:konqueror:chromium-browser:google-chrome:$BROWSER
       fi
   fi
   DE=generic
fi

Add chromium: (mind the colon which separates the entries) before firefox:mozilla: ... and save. To test if this were conducted successfully, type this into your terminal:

$ xdg-open http://google.com

If everything went perfect, either a new tab inside Chromium, or a new window would open and display the Google homepage, depending on your settings.

Offline

#16 2011-09-12 05:48:55

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Default browser

The OP was alive and kicking on 2010-10-16, 01:01:30, when he was asking for help. However, no one has heard of him ever since. ; )


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#17 2011-09-12 06:14:28

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Default browser

Now that this thread has a solution, we can close it so there are no more necrobumps.

Closing..


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB