LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mozilla Firefox open new window script (https://www.linuxquestions.org/questions/linux-software-2/mozilla-firefox-open-new-window-script-189314/)

davidbalt 07-26-2004 09:27 PM

This script works great - for the newbies out there, you just have to copy and paste the listing above into a file (for total newbies, you could try K Menu->run command... "kedit /usr/local/firefox/firefox-agent.sh")

Paste the listing, check for obvious problems (when I pasted it, I ended up with some garbage characters at the end, presumably from the formatting on the page), save it.

Then drop to a terminal and chmod a+x /usr/local/firefox/firefox-agent.sh

Then K Menu -> Preferences -> Preferred Applications -> Web Browser
and enter
/usr/local/firefox/firefox-agent.sh %s
and close.

It should work! (at least, it does for me)

FreakboY 08-12-2004 01:15 AM

is there any way to keep the window position/size when you run the script!??
because i like to have it maximized when i run the script!

btw, nice script thanks!

david_ross 08-12-2004 12:37 PM

You could set your homepage to a local html file which resizes and positions the window before forwarding you to your real homepage.


All times are GMT -5. The time now is 08:06 PM.