Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.