A line like: export BROWSER=lynx in /etc/profile may help.
Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) . On Wed, 28 Sep 2022, jindam, vani wrote: > hello debian-users, > > good morning !?!?! > > i have installed debian bullseye on userland > app. i have disabled recomnend packages for my > entire packages. i have installed openbox. when > i click "web browser" it does not launch > "lynx browser". i have changed x-www-browser > to lynx. how do i configure my system to > use lynx browser for html files, open links, > open in external viewer, etc..? > > $sudo update-alternatives --config www-browser > There is only one alternative in link group www-browser (providing > /usr/bin/www-browser): /usr/bin/lynx > Nothing to configure. > > > $ update-alternatives --list x-www-browser > /usr/bin/lynx > /usr/bin/palemoon > > > $ update-alternatives --get-selections | grep browser > gnome-www-browser auto /usr/bin/palemoon > www-browser auto /usr/bin/lynx > x-www-browser auto /usr/bin/lynx > > $ sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser > /usr/bin/lynx 50 > update-alternatives: using /usr/bin/lynx to provide /usr/bin/x-www-browser > (x-www-browser) in auto mode > jindam@localhost:~$ sudo 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/lynx 50 auto mode > 1 /usr/bin/lynx 50 manual mode > 2 /usr/bin/palemoon 40 manual mode > > p.s. > * after reading couple of online resources, i > thought best to ask here, bcoz update-alternatives > seems to be debian way > * i did ask @ > https://www.linuxquestions.org/questions/linux-software-2/how-do-i-configure-lynx-browser-as-default-browser-for-all-html-related-things-4175717193/ > > regards, > jindam, vani > > toots: @jindam_v...@c.im > others: en.wikipedia.org/wiki/User:Jindam_vani > >