Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hello everybody,
it would be of great help if you could provide me the entry of the default web browser in the linux file system. how can we access those entries of the default web browser and how can we launch that default web browser. thanks in advance.
Siddharth.
Can you clarify what the browser has to do with the file system? I'm a bit confused by this.
Moved to Linux->General
The browser has nothing to do with the file system. It is just that I want to access the entry in the file system which shows that a paricular web browser ( for e.g. netscape, mozilla, galeon, konqueror, etc.. ) is the default one set for that particular system. It is so because I want to launch the particular default web browser on the system through code. So if I know where is the entry of the default web browser stored in the linux file system, I can access that entry in the file system and then launch the default web browser through code.
Thank You.
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,151
Rep:
that isn't the way linux works. there are several user interfaces on the system, kde,
gnome and others, and the settings are specific to them. both kde and gnome have
sets of file associations in something called a control-panel, to make windows users
feel better. there aren't really system wide settings for a linux system like you are
hoping for. just kde-wide or gnome-wide, or others.
the settings you are thinking of are in a users home directory, in something similar
to .gnome or .kde
Perhaps the best option would be to run a script that checks for regular browsers being in the PATH:
mozilla
galeon
MozillaThunderbird
MozillaFirefox (I assume the case as I have't used it since the last name change)
opera
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.