Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Avoid a fast user switching color profile bug' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Avoid a fast user switching color profile bug
Authored by: CyberSeb on Aug 21, '07 09:30:47AM
I'm not sure if the "sudo chmod 664 /Library/ColorSync/Profiles/Displays/*"-trick has really worked for me.

Thanks to http://www.radiotope.com/writing/?p=71 I have found a way to call DMProxy on every fast user switch ...

USE IT ON YOUR OWN RISK!!!


1. Create a file "/Library/FixColor.sh" with the following contents:

=========================================================================
#!/bin/bash
sleep 3
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/DMProxy
say "D M Proxy"
=========================================================================

You can remove the last line; it's just for testing purposes to see if the script will be called later on.


2. Change the permissions with:

chmod 770 /Library/FixColor.sh


3. Open /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/Kicker.xml with your favorite text-editor and add the entries from below. Do not add it directly at the end, just above the last two lines - you'll see.

=========================================================================
<dict>
<key>execCommand</key>
<string>/Library/FixColor.sh</string>
<key>execUID</key>
<integer>0</integer>
<key>keys</key>
<array>
<string>State:/Users/ConsoleUser</string>
</array>
<key>name</key>
<string>FixColor</string>
</dict>
=========================================================================


Reboot the machine. It should work ...

Sebastian



[ Reply to This | # ]