[Casper] Shockwave and Rosetta - still need a command

Dan Peterka dpeterka at sbsd.k12.ca.us
Tue May 13 12:00:28 PDT 2008


The Open using Rosetta setting modifies the file:  ~/Library/ 
Preferences/com.apple.LaunchServices.plist

defaults read com.apple.LaunchServices shows an entry:

     LSPrefsFatApplications = {
         "com.apple.Safari" = (
             <00000000 009a0003 00010000 c323458f 0000482b 00000000  
00000023 0000727b 0000c2b0 8b4e0000 00000920 fffe0000 00000000  
0000ffff ffff0001 00040000 0023000e 0016000a 00530061 00660061  
00720069 002e0061 00700070 000f0014 00090053 00650072 00760065  
00720020 00480044 00120017 4170706c 69636174 696f6e73 2f536166  
6172692e 61707000 00130001 2f00ffff 0000>

that corresponds to what is seen using Property List Editor. When the  
button is clicked off, this entry disappears.

Two problems: 1) How to get this to be happen at the system level and  
2) how to set it using the command line.

I don't know what the data between the <...>'s is. It is the same  
between users and between toggling Rosetta on and off, and the  
LSPrefsFatApplications entry in Tiger is replaced by a much different  
LSArchitecturesForX86_64 entry in Leopard:

     "LSArchitecturesForX86_64" =     {
         "com.apple.Safari" =         (
             <00000000 00a00003 00010000 c3ecd416 0000482b 00000000  
000000a0 00028d9a 0000c2f1 13950000 00000920 fffe0000 00000000  
0000ffff ffff0001 00040000 00a0000e 0016000a 00530061 00660061  
00720069 002e0061 00700070 000f001a 000c004d 00610063 0069006e  
0074006f 00730068 00200048 00440012 00174170 706c6963 6174696f  
6e732f53 61666172 692e6170 70000013 00012f00 ffff0000>,
             ppc,
             <00000000 00960003 00010000 c44f641c 0000482b 00000000  
0000005c 0000be47 0000c440 fd790000 00000920 fffe0000 00000000  
0000ffff ffff0001 00040000 005c000e 0016000a 00530061 00660061  
00720069 002e0061 00700070 000f0010 0007004e 00650074 0042006f  
006f0074 00120017 4170706c 69636174 696f6e73 2f536166 6172692e  
61707000 00130001 2f00ffff 0000>,
             ppc
         );
     };

Dan Peterka

On May 13, 2008, at 6:36 AM, Leacy, Miles (US) wrote:

> I don't know the answer, but the way I'd find it is to get a 'new  
> and modified' snapshot via Composer before Rosetta is enabled, then  
> enable Rosetta, then launch the app, then quit the app, then build  
> the package in Composer and examine the changed files that relate  
> to the app in question, or possibly launch services in this case.
>
> If the desired file is a plist, as I imagine it would be in this  
> case, I'd find the operative key(s) and use a 'defaults write'  
> script rather than packaging the plist to avoid altering undesired  
> settings.
>
>
> ----- Original Message -----
> From: casper-bounces at list.jamfsoftware.com <casper- 
> bounces at list.jamfsoftware.com>
> To: casper at list.jamfsoftware.com <casper at list.jamfsoftware.com>
> Sent: Mon May 12 19:12:51 2008
> Subject: [Casper] Shockwave and Rosetta - still need a command
>
> The application misbehaves with Shockwave 11, and the Shockwave  
> XTRA plugin (a plugin to a plugin?) that allows printing from  
> Shockwave either does not work with Shockwave 11, or does not work  
> without rosetta enabled. Either way, it doesn't work.
>
> For now, it has to be Shockwave 10 in Rosetta mode. So, how can I  
> enable rosetta in the Get Info box without touching each computer?
>
> Dan Peterka
>
>
> 	I am looking for a solution to enable Rosetta for Safari and Firefox
> 	usingl a command line on Intel Macs. We are looking at a product that
> 	requgires Shockwave with another plug-in module that forces us to  
> run the
> 	rbrowser in Rosetta mode.
>
> 	Dan Peterka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20080513/bd441de5/attachment.htm 


More information about the Casper mailing list