Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jynxxd

macrumors newbie
Original poster
Dec 20, 2010
3
0
USA
OK, here's the deal:
i have been Dabbling with Quartz Composer and figured out how to run a quartz screensaver as the background for the desktop- Thru a Terminal Sript. It will continue to run as long as i keep the terminal window open. I got the idea @ http://hints.macworld.com/article.php?story=20020824082233907

HERE'S THE SCRIPT:

/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background




Now the problem:
I want to take it a step further by making the script open @ stratup/ Login. Then I won't have to open the the terminal and manually run the script EVERY TIME i have to login to my account on the computer


--Side Note:
I have been thru several sites telling me to make a shell script, make an apple script, make a plist file, turn it into a .app file, etc.---
---Idon't have a clue what i'm doing with Applescript, Ligon, BBedit, or Terminal shell for that matter..

i have tried to understand how to make the text file a script file and i just don't get it---for lack of formal training

I like to figure things out and learn things myself, but THIS has me STUMPED!!

PLEASE HELP :eek:
 
Last edited:
Quick and dirty way would be to put that command in a shell script:

Code:
#!/bin/bash

/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background

[edit] You can do that part in TextEdit; just select Format > Make Plain Text and save it WITHOUT an extension; none is needed.

In the terminal, make it executable:

Code:
chmod +x <name of your script here>

And add it to your startup items in System Preferences > Accounts > Login Items. That should work as far as I know. Not rocket science either. ;)
 
Werks like a CHARM!

create a plain text file called org.saver.desktopsaver.plist that contains the following text:

Code:
<?xml version="1.0" encoding="utf-8"?>
<!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/propertylist-1.0.dtd">
<plist version="1.0">
<dict>
        <key>label</key>
        <string>org.saver.desktopsaver</string>
        <key>keepalive</key>
        <false/>
        <key>runatload</key>
        <true/>
        <key>programarguments</key>
        <array>
                <string>/system/library/frameworks/screensaver.framework/resources/screensaverengine.app/contents/macos/screensaverengine</string>
                <string>-background</string>
        </array>
</dict>
</plist>

put that file in ~/library/launchagents (where ~ denotes your home folder).

Log out, and when you log back in you should have what you want. If you wish to revert to a standard desktop background during your session, simply open terminal and enter

Code:
launchctl unload ~/library/launchagents/org.saver.desktopsaver.plist

and you can turn screensaver-as-desktop back on by entering

Code:
launchctl load ~/library/launchagents/org.saver.desktopsaver.plist



\\thnx lpz//
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.