Friday, March 21, 2008

HowTo: Set A Default Browser in Debian

Let's just say that you are a newbie like me. I know its easy to set a default browser in Debian but hey, I get to write about my experience on learning something new right?

Hehe, usually the normal way to do this would be to open your browser's settings and check if it is the default browser.

They like to do that.

The unusual way would be to do that in the terminal.

$ sudo update-alternatives --config x-www-browser


Then something like this would appear:

[sudo] password for daniel:

There are 6 alternatives which provide `x-www-browser'.

Selection Alternative
-----------------------------------------------
1 /usr/bin/iceape
2 /usr/bin/opera
3 /usr/bin/epiphany
*+ 4 /usr/bin/dillo
5 /usr/bin/konqueror
6 /usr/bin/iceweasel

Press enter to keep the default[*], or type selection number:


Enter the number of the browser that you would like as the default one and presto. Easier than the GUI. If you have the commands handy.

Got this from: http://kb.mozillazine.org/Default_browser

6 comments:

  1. If you are using Gnome-desktop then just select:

    Desktop->Preferences->Preferred Applications

    You can then select default web browser, email-client and terminal-program.

    ReplyDelete
  2. Thanks for the tip mika, KDE user here! ^_^ But I do use plenty of gnome apps like Epiphany, Synaptic, etc. Maybe someday they would make an integrated wm, that would be cool!

    ReplyDelete
  3. On KDE:
    KDE Control Center (kcontrol) -> KDE Components -> Component Chooser -> Web Browser

    Nice Blog, dannybuntu

    ReplyDelete
  4. Install galternatives for a gui to perform this task.

    ReplyDelete
  5. Thanks for commenting, dany and Mr. Anonymous. :)

    ReplyDelete
  6. Thank's this solved how to set the browser when using windowmaker. Your awesome!

    ReplyDelete

EventId's in Nostr - from CGPT4

The mathematical operation used to derive the event.id in your getSignedEvent function is the SHA-256 hash function, applied to a string rep...