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


Click here to return to the 'easier way...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
easier way...
Authored by: PsiPhi on Aug 30, '02 06:28:27PM
I guess it's not really a big deal since you already did the legwork and people can just copy and paste, but an (IMO) easier way to do this is to put something like the following in your .cshrc (or whatever shell you use):

alias DTSaver 'cd /System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS; ./ScreenSaverEngine -background'

Then just save the file, exit that terminal, open a new one and type "DTSaver" or whatever you called it. Of course, you can add the '&' and the '-module' if you like. I find it more convenient to just leave the ampersand off so I can control-c kill it and my screen "effects" are already set to random. Just hide that terminal and open a new one if you need to do other terminal stuff. Also, bear in mind (for those of you that don't know unix or the alias command), those are not apostrophes before the "cd" and after the "-background" those are called grave accents and are located below escape -- i.e. the tilde (~) key sans the shift modifier.

Works for me.

[ Reply to This | # ]
easier way...
Authored by: blgrace on Aug 31, '02 12:28:18AM

Ummm.. this doesn't work in my default tcsh shell for the following reasons.
1. They ARE apostrophes
2. putting the "cd" command before the rest of the commands will give you a "too many args" error.
I'm not a UNIX person at all but I figured out how to do it using the "pico" text editor.
-------------------Try This---------------------------
I used "wow" as my alias/shortcut in this example
pico .tcshrc <return>
alias wow '/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background' <return>
Just make sure your text string is all on the same line and no breaks.
To save the file press <control>x then y for yes and then finaly <return>
open a new terminal window and type in your alias and there you have it.
<control>c will stop it.



[ Reply to This | # ]
easier way...
Authored by: foon on Aug 31, '02 12:18:39PM

You're right in that that is an easier way to use the basic functionality. That's what I used at first. But I wanted more flexibility, which would have been really hard to do in an alias, or would possibly have required multiple aliases, which would have gotten klunky.

Foon



[ Reply to This | # ]