Linux::debian: Difference between revisions

From www.deloptes.org
Jump to navigation Jump to search
(Created page with "= Configurations = == Alternatives == === Configure default browser to custom firefox installation === update-alternatives --list www-browser /usr/bin/lynx.cur /usr/bin/w3m ...")
 
mNo edit summary
Line 4: Line 4:


=== Configure default browser to custom firefox installation ===
=== Configure default browser to custom firefox installation ===
* list:
  update-alternatives --list www-browser
  update-alternatives --list www-browser
  /usr/bin/lynx.cur
  /usr/bin/lynx.cur
  /usr/bin/w3m
  /usr/bin/w3m
* install:


  sudo update-alternatives --install /etc/alternatives/x-www-browser www-browser /opt/custom/firefox/firefox 1
  sudo update-alternatives --install /etc/alternatives/x-www-browser www-browser /opt/custom/firefox/firefox 1
Line 15: Line 20:
  /usr/bin/lynx.cur
  /usr/bin/lynx.cur
  /usr/bin/w3m
  /usr/bin/w3m
* set:
sudo update-alternatives --set www-browser /opt/custom/firefox/firefox

Revision as of 19:31, 20 October 2011

Configurations

Alternatives

Configure default browser to custom firefox installation

  • list:
update-alternatives --list www-browser
/usr/bin/lynx.cur
/usr/bin/w3m
  • install:
sudo update-alternatives --install /etc/alternatives/x-www-browser www-browser /opt/custom/firefox/firefox 1
[sudo] password for <user>:
update-alternatives: renaming www-browser link from /usr/bin/www-browser to /etc/alternatives/x-www-browser.
<user>@<host>:/home-lisa/emanoil$ update-alternatives --list www-browser
/opt/custom/firefox/firefox
/usr/bin/lynx.cur
/usr/bin/w3m
  • set:
sudo update-alternatives --set www-browser /opt/custom/firefox/firefox