Click to See Complete Forum and Search --> : How to start Mozilla without Question
iverson0881
06-30-2003, 04:20 PM
I recently upgraded my Mozilla to 1.4. But now When I start it, "/usr/local/mozilla/mozilla %u" it asks me for this retarded profile to open anything more than 1 browser. The extension or whatever on after mozilla, %u is left there because it was on my first install but it was only "mozilla %u." So what do I do to get this Mozilla Profile Manager off my back. I find it highly annoying.
Thanks
~iverson0881
this is the third time i have answered this in 2 weeks. from the mozilla --help command (i bolded the part you need):
Usage: /usr/lib/mozilla/mozilla-bin [ options ... ]
where options include:
X11 options
--display=DISPLAY X display to use
--sync Make X calls synchronous
--no-xshm Don't use X shared memory extension
--xim-preedit=STYLE
--xim-status=STYLE
--g-fatal-warnings Make all warnings fatal
Mozilla options
-height <value> Set height of startup window to <value>.
-h or -help Print this message.
-installer Start with 4.x migration window.
-width <value> Set width of startup window to <value>.
-v or -version Print /usr/lib/mozilla/mozilla-bin version.
-CreateProfile <profile> Create <profile>.
-P <profile> Start with <profile>.
-ProfileWizard Start with profile wizard.
-ProfileManager Start with profile manager.
-SelectProfile Start with profile selection dialog.
-UILocale <locale> Start with <locale> resources as UI Locale.
-contentLocale <locale> Start with <locale> resources as content Locale.
-remote <command> Execute <command> in an already running
Mozilla process. For more info, see:
http://www.mozilla.org/unix/remote.html
-splash Enable splash screen.
bs_texas
06-30-2003, 04:50 PM
I read in some other thread that this is just a quirk of mozilla and to start another occurrence of it without the extra profile question you just go to
File/New/Navigator Window
from an already running mozilla.
Of course, if you're trying to this in a script call or something that has to be done at the command line, then looks like you'll have to tweak that -remote thing.
regards...
iverson0881
06-30-2003, 07:09 PM
I feel like this is wrong so whats wrong here cuz all it does is open a new windows takes a long time to do anything and then it closes.
/usr/local/mozilla/mozilla -remote xfeDoCommand (openBrowser) Execute xfeDoCommand (openBrowser)
Thanks
Iverson0881
where did you get that syntax from?
for a new tab: mozilla -remote "openURL(http://foo.com,new-tab)"
this is covered on the web site that was part of the bolded mozilla help file that i originally posted. did you even read it? :)
iverson0881
06-30-2003, 07:50 PM
Did YOU even read it can't you see that syntax there. So yeah I got confused. Cuz theres two commands that do about the same thing. Just didn't know which one to go with and I went with the one that you just now didn't say.
Anyway thanks for your help
Iverson0881
I've always thought this was a pretty dumb idea to include by default. And working around it by always just going to an already-open browser window to get to the menu isn't good enough when I should just be able to click the ol' icon. Who the hell needs this feature, especially by default? I'm a user. In the case of my computer, I'm the user. I don't need it.
funny I was having the same problem today and was going to post a question... I found this instead after some googling:
http://www.computing.net/linux/wwwboard/forum/16784.html
Someone wrote this a while back.
Reply:
You can create a shell script named mozilla-run for example:
#!/bin/sh
if mozilla -remote "ping()";
then
if test "$1" != ""
then
mozilla -remote "openURL($1,new-window)";
else
mozilla -remote "xfeDoCommand (openBrowser)";
fi
else
mozilla -width 1260 -height 900 $1;
fi;
I'm newbie, no idea how this works or good/bad. ;) Just worked fine for me though.
iverson0881
07-01-2003, 09:33 PM
Originally posted by Hayl
where did you get that syntax from?
for a new tab: mozilla -remote "openURL(http://foo.com,new-tab)"
this is covered on the web site that was part of the bolded mozilla help file that i originally posted. did you even read it? :) \
Alright I did that but the damn thing still won't work. It works only if I have a browser already open. I'm trying to get that shortcut in the tray next to the start menu red hat icon. Why doesn't this damn thing work? How hard could a simple shortcut get? Is there some way to disable the Profiling thing? Anyway As for the post by 2.4, How do you make a shell script...also a newbie here. I still don't see how something like this could be so difficult...I've already managed to make a CS server without hiccups in under 15mins. So why is a simple shortcut so hard?
Sorry for the lil rant just a lil pissed.
Thanks
iverson0881
I think you're right to rant and be pissed. This is faulty :)
A good feature for some, maybe, but wtf, a default with no easy-access option to change it? That's just a human-interface failure.
Shell scripting is as simple as learning a little BASH (it's fairly simple) and writing a script in text format. chmod the text file to be executable, or just run it like this:
sh text_file
Kinda not friendly at all, but *shrug*
this has turned into a rant.
moving to /dev/random
if you guys want to complain about the way Mozill works, then i suggest you post it as an enhancement on the Mozilla bugzilla web page. complaining about it here won't accomplish anything.
hmm,speaking of ranting...
Hey Hayl, did someone wee-wee in your breakfast cereal this morning?
:p
Originally posted by DMR
hmm,speaking of ranting...
Hey Hayl, did someone wee-wee in your breakfast cereal this morning?
:p
lol.
nope. yours ?? :D
Originally posted by Hayl
nope. yours ?? :D As a matter of fact, yes- mahdi and mdwatts both weedled in my Cheerios (http://justlinux.com/forum/showthread.php?s=&threadid=105739) this morning...
:mad:
:D
bwkaz
07-02-2003, 10:10 PM
Originally posted by iverson0881
Anyway As for the post by 2.4, How do you make a shell script... Open a text editor.
Type in the source for the script (this is everything in italics in 2.4's post, starting with #!/bin/sh)
Save it somewhere (your home directory would be a good starting place).
Open up a terminal, and chmod u+x <scriptname>
Create a new shortcut, and make it execute /home/<username>/<scriptname>
:)
Originally posted by bwkaz
... Create a new shortcut, and make it execute /home/<username>/<scriptname>
:)
I also made softlink to mozilla in /usr/bin folder. (e.g. $ln -s /usr/local/mozilla/mozilla)
after all, I took quick and dirty solution -- copied mozilla file (/usr/bin/mozilla) from Redhat and dumped it into my SuSE. don't call me lousy, it works at least. :D