Linux - General This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-13-2004, 06:00 AM
|
#1
|
LQ Newbie
Registered: Mar 2004
Posts: 2
Rep:
|
delault web browser entry in linux file system
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.
|
|
|
03-13-2004, 08:21 AM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Welcome to LQ.
Can you clarify what the browser has to do with the file system? I'm a bit confused by this.
Moved to Linux->General
|
|
|
03-15-2004, 01:30 AM
|
#3
|
LQ Newbie
Registered: Mar 2004
Posts: 2
Original Poster
Rep:
|
default web browser entry in the file system.
Quote:
Originally posted by david_ross
Welcome to LQ.
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.
|
|
|
03-15-2004, 01:54 AM
|
#4
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,305
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
Last edited by whansard; 03-15-2004 at 01:59 AM.
|
|
|
03-15-2004, 02:37 PM
|
#5
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 07:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|