Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to maximize  firefox at startup, maximize windows in fluxbox< Next Oldest | Next Newest >
harivolker
Unregistered






Posted: Oct. 31 2005,01:11 QUOTE

Howdy,
you surely want something like
Code Sample
[exec] (firefox) {firefox -width 1024 -height 768} </path/to/your/favorite/firefox_icon>

in your ~/.fluxbox/menu (or wherever you save your fluxbox-menu-file).

A good read in any case:
http://www.mozilla.org/docs/command-line-args.html

Regards, Harivolker
Back to top
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 31 2005,02:40 QUOTE

Did you try that suggestion before posting it?  You might discover that it doesn't work.
Firefox is based on Mozilla, but it is not Mozilla...not all moz commandline options work for firefox.
Also icons don't work in DSL's fluxbox menu, so it's probably not a good idea to confuse people by including them.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: Oct. 31 2005,12:54 QUOTE

I agree with mikshaw that the suggested line doesn't work, but I'm unsure why it doesn't work.  If you run firefox -help you see the command line switches for height and width are at least documented in the versions of firefox included in dsl.
Back to top
Profile PM 
roadie Offline





Group: Members
Posts: 59
Joined: Dec. 2003
Posted: Oct. 31 2005,21:18 QUOTE

You might try this, see if it works for you, does for me.
I don't know if Java has to be installed. Also I'm not sure if DSL has xwininfo, tho it's not needed.

Step 1 - start Mozilla or Firefox and adjust the window how you like it.

Step 2 - Open up a terminal window and issue the command "xwininfo" and then click on the Mozilla or Firefox window. This will dump the window settings and geometry to the terminal window.

Step 3 - type this in the url bar to set the window size:

javascript: resizeTo(1024,724);

1024x724 is what xwininfo returned for my preferred size. Substitute with your xwininfo geometry settings.

Step 4 - Close the Mozilla or Firefox window and restart Firefox to make sure the settings have worked.

Troubleshooting:

If you have turned off javascript on the browser, you have to turn it on, make the changes and then turn it back off if you like. It seems that the javascript command causes Firefox or Mozilla to save the settings in the xml file. This has to be done for each user individually.



roadie
Back to top
Profile PM 
8 replies since Sep. 27 2005,16:57 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: How to maximize  firefox at startup

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code