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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-12-2005, 01:49 AM
|
#1
|
|
Senior Member
Registered: Apr 2003
Posts: 3,218
Rep:
|
Clicking an URL to evoke a browser
Hi folks,
FedoreCore2
KDE desktop
To evoke an URL on a OpenOffice document I have to start Mozilla browser first. Then on clicking the URL the web page will start. Otherwise without starting Mozilla browser clicking an URL has no effect.
Please advice where I have to edit/configure so that clicking an URL will start the default browser and then the webpage without starting browser first. If I need to use Firebox as the default browser where shall I edit/configure.
TIA
B.R.
satimis
|
|
|
|
03-12-2005, 03:06 AM
|
#2
|
|
Member
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827
Rep:
|
firefox nowadays has the startup script 'firefox' a tad modified to incorporate behaviour like you described.. IF no firefox is around, itll start a new one, if one is around it will open a new window, or a new tab based on your preferences.. So, calling 'firefox URL' will get you there no matter what the situation..
Now, configuring that OOo would use 'firefox URL' as the method of opening them, thats another story indeed.. A story I have no idea of, ive allways hated OOo..
edit: well, had a go at it anyways, a quick grepping in OOo:s installdir revealed:
/usr/local/OpenOffice.org1.1.4/program/python-core-2.2.2/lib/webbrowser.py
The directory will most likely vary for you, but now you know what file to edit.. well, perhaps not edit.. it contains lots of useful info on how OOo handles browsers..
another edit:
well, my experiments with the file led to only one thing: a corrupted config file -> OOo error that reveals the location of the setting in the OOo setup, and voila, there is a field to set the browser.. So: Tools -> Options -> External Programs ->HTTP etc.. I keyed in firefox, and voila, it opens my dummy link to the existing firefox, or starts a new one if I close it first..
Last edited by Artanicus; 03-12-2005 at 03:16 AM.
|
|
|
|
03-12-2005, 05:53 AM
|
#3
|
|
Senior Member
Registered: Apr 2003
Posts: 3,218
Original Poster
Rep:
|
Hi Artanicus,
Tks for your advice.
Quote:
.........
another edit:
well, my experiments with the file led to only one thing: a corrupted config file -> OOo error that reveals the location of the setting in the OOo setup, and voila, there is a field to set the browser.. So: Tools -> Options -> External Programs ->HTTP etc.. I keyed in firefox, and voila, it opens my dummy link to the existing firefox, or starts a new one if I close it first..
|
I found out the trick.
If I add full path to HTTP and HTTPS under "Execute link using" e.g.
/usr/bin/firefox
It won't work.
If just add
firefox
there it works. Clinking URL on OOo doc will start Firefox and then the webpage.
B.R.
satimis
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:26 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
|
|