the instructions are as such:
Procedure VII.6. Adding a new browser
1. Click on the Preferences... icon in the main tool
bar to access the Edit preferences panel.
2. Click on the External programs tab to display the
Browsers panel.
3. Click on the Add button. A new line will be shown,
with an Untitled label.
4. Double-click on the label to allow editing,
and enter the string you want to appear in the External
menu.
5. Double-click in the Command zone and enter
the command followed by the & sign to detach it
from the main bluefish process, for example:
amaya %s &
the path for mozilla is as such under preferences:
mozilla -remote 'openURL(%s, new-window)' || mozilla %s&
How should I modify this so it opens Iceweasel?
thank you
Kevin
Did you try Procedure VII.5. Customizing an existent browser, if that
don't work then I think you should add iceweasel and then delete
anything you don't want, just like the instructions say. If you need it,
the executable for iceweasel is found at /user/bin/iceweasel.
--
Jimmy Johnson
Debian GNU/Linux Stable - Registered Linux User #380263 - "Software is
like sex, it's better when it's free": Linus Torvalds
I was able to launch a new window in the browser when I click on the link
and this works for html pages, however I would like to view php pages and
the bluefish editor is launching the file path of each file. Example:
file:///var/www/apache2-default/Integrated_HTML_CSS/index.html
This means that when I try to view the php file it asks me to save the
file instead of displaying the file.
This is the line that launches the browser from the preferences:
gnome-moz-remote --newwin %s&
It launches Iceweasel, but I could use some help getting it to show php
pages from the www folder.
any ideas?
thank you
Kevin
I did some further searching and found this thread:
http://ubuntuforums.org/showthread.php?t=633284
The problem is that it is not running through apache/php -
it is opening the file locally. What needs to be done
is something like a sed script which will
convert /var/www (or whatever
your web root is) with http://localhost.
Here is what banging on the keyboard for 15 minutes gives me :
Code:
firefox -new-window $(echo "%s" | sed "s/\/var\/www/http:\/\/localhost/")
That should go instead of the previous command I
gave you for firefox.
Note that if your server root is different from /var/www you will need to
change command - /var/www = \/var\/www, /home/testing/apple/cute =
\/home\/testing\/apple\/cute. etc. [Those are \ and / close together, not
big Vs]
However I can't seem to make it work for iceweasel and bluefish for php.
Does anyone know how to write this type of code? Never been down this road.
thank you
Kevin