LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-27-2022, 10:19 AM   #1
jindam vani
Member
 
Registered: Sep 2022
Distribution: debian
Posts: 40

Rep: Reputation: 0
Question how do i configure lynx browser as default browser for all html related things


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" on menu 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..?

Code:
$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.
Code:
$ update-alternatives --list x-www-browser
/usr/bin/lynx
/usr/bin/palemoon
Code:
$ update-alternatives --get-selections | grep browser
rowser
gnome-www-browser              auto     /usr/bin/palemoon
www-browser                    auto     /usr/bin/lynx
x-www-browser                  auto     /usr/bin/lynx
Code:
$ 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

Last edited by jindam vani; 09-27-2022 at 11:55 AM. Reason: for everything, seriously... html is correct
 
Old 09-27-2022, 07:20 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,363
Blog Entries: 28

Rep: Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148
This article may help: https://vitux.com/how-to-set-the-def...-command-line/

I have no way of testing it.
 
1 members found this post helpful.
Old 09-29-2022, 10:11 AM   #3
jindam vani
Member
 
Registered: Sep 2022
Distribution: debian
Posts: 40

Original Poster
Rep: Reputation: 0
i have enquired on debian mailing list
also.

after reading replies, i came to
conclusion that it is not possible
for all html files.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find with -mtime is finding EVERYTHING since, not everything older than NobleOne Linux - Newbie 6 08-16-2017 07:50 AM
Links/Lynx Browser - Fonts Question rvijay Linux - Software 1 08-09-2005 03:01 AM
Lynx browser, alternate mail client for sending comments to website authors SharpyWarpy Linux - Software 2 08-04-2005 10:21 AM
Lynx Browser Question. rvijay Linux - Software 5 11-20-2004 12:33 AM
build and configure lynx mitchb Linux - Newbie 1 07-26-2004 02:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration