Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Firefox can be startet via Commandline

How can I run an application with command line arguments in Mac OS

Is there an argument to make it start in 32 bit ?

I know i could select it via finder, but thats no option for my problem

I have solved a similar problem for chrome by creating an Automator "Launcher" which start Chrome with deactivated flash, but for that I need to know whether there is a command line argument to set 32bit.

Maybe by changing systems settings by "default" ?

share|improve this question
up vote 3 down vote accepted

arch -i386 /Applications/Firefox.app/Contents/MacOS/firefox-bin should do the trick in Terminal.

You could then pack that into an AppleScript of some kind.

share|improve this answer

A solution I still have to test

#!/bin/bash

# Check to see if Firefox exists
if
 ls -la /Applications/Firefox.app/Contents/Resources

then

# Set the architecture preference order to 32-bit first
defaults write /Applications/Firefox.app/Contents/Info "LSArchitecturePriority" '(i386,   "x86_64")'

# Making sure the permissions on the Info.plist are correct
chmod -R 775 /Applications/Firefox.app/

else
echo "Firefox is not installed"

fi
share|improve this answer
    
sadly not really working althoguh my research showed that it is the right approach to use LSArchitecturePriority – Dukeatcoding Nov 16 '12 at 15:32
    
I'd disagree -- modifying an application bundle is a bad idea. For example, it'll invalidate the app's code signature. – Gordon Davisson Nov 16 '12 at 21:13
    
you maybe right on that, its not working properly anyway ill try the other answer – Dukeatcoding Nov 19 '12 at 7:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .