|
|
10.6: Run 32-bit screen savers in the background in 10.6
I modified this hint to make 32-bit screen savers run as the normal system screen saver in 10.6. Now I can use Fenetres Volantes again!!
Basically, I wrote a script to check how long the computer had been idle, then run the screensaver terminal command, without the '-background' option, if the computer had been idle over a certain amount of time. Then I created a launchd plist to run the script every 90 seconds.
Here's how I did it: 1. Launch system preferences in 32-bit mode and assign a 32-bit screen saver 2. Make sure the delay to start the screen saver is set to "Never" 3. Make a file called scr32.sh and paste the following code in it. (Change the IDLE_WAIT_TIME variable from 900 to desired screen saver delay time) /usr/bin/scr32.sh
4. Save the file to the folder /usr/bin/ 5. Make a file called com.GibsonTech.run32ScreenSaver.plist and paste the following code in it. (If you plan on having the screensaver start after less than 60 seconds of inactivity, you might want to change the StartInterval key here to something more appropriate for your needs) ~/Library/LaunchAgents/com.GibsonTech.run32ScreenSaver.plist
6. Save the file to the folder ~/Library/LaunchAgents/ 7. Run the following lines of code in Terminal and enter an administrator password when required
That's about it. It currently only works for the active user. There are other places you can put the launchd plist to make it apply to all users, but if other users have a different screen saver configured this would probably screw it up.
10.6: Run 32-bit screen savers in the background in 10.6
this is too complicated. you can just change the unix executable in the screensaver.app.
rename the current one
cd /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine
Then replace the old /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine executable with an executable
#!/bin/sh
Then you don't need any separate launch daemons or a separate mechanism to control the screensaver timer.
10.6: Run 32-bit screen savers in the background in 10.6
That's great and way more simple! I knew there had to be a better way to do this, but no one seemed to have provided one yet. Thanks!
10.6: Run 32-bit screen savers in the background in 10.6
Can someone help me out with this hint? Where do I enter the code above? In Terminal? I tried it and it does not work for me.
10.6: Run 32-bit screen savers in the background in 10.6
I noticed as well that V.K.'s solution doesn't work. Here's a fixed version:
$ sudo bash
Note that bold text is what you'll type and ^d is code for “control-D”. Best of luck! |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.18 seconds |
|