ScreenSaver into Background Question


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers ScreenSaver into Background Question
# 1  
Old 03-03-2011
ScreenSaver into Background Question

(Keeping in mind I know very little about Unix...)
When I am typing this out (without copy-pasting the whole thing) to get my screensaver onto my background:

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

I start something like this:
cd /System/ [Enter]
cd Library/ [Enter]

I go through opening all the files and get stuck trying to open the screensaver into the background. (cd ScreenSaverEngine -background does not work so I assume it's 'open')
open ScreenSaverEngine -background
LSGetApplicationForInfo() failed with error -10814 while trying to determine the application with bundle identifier ackground.

Just hoping somebody can tell me how to run the screensaver into the background without having to copy paste the line. (Although it's faster, I prefer going through the steps myself)
# 2  
Old 03-04-2011
Try typing './ScreenSaverEngine --help'. If you're lucky it might tell you what its options are.
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 03-04-2011
Actually i just tried typing in what you said './ScreenSaverEngine' but then
added -background and it worked './ScreenSaverEngine -background'
why does the period have to be added (b/c just '/ScreenSaverEngine -background' does not work
# 4  
Old 03-04-2011
/ tells it to go all the way to the root of the disk. You'd have to type the whole thing:

/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background ...which actually would work, if you wanted to make it all on one line. You wouldn't even need to CD that way, I think.

You need ./ because the shell doesn't run things in the current directory. You have to tell it 'in the current directory' explicitly. This is a security feature (so someone can't drop files in your directory and have you unknowingly run them.)
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Solaris

ScreenSaver issue with Solaris 10

I have a Dell Vostro running Solaris 10 x86 and I am trying to get it to activate the screensaver when no one is logged it. However, the screensaver only seems to activate when someone logs in and then the computer locks. How would I go about fixing this problem? Any help yall can offer would be... (3 Replies)
Discussion started by: MajorJRO
3 Replies

2. Shell Programming and Scripting

A question about the PID of a background function

Dear all, I'm writing a KornShell script that calls inside it a function in background mode #!/bin/ksh function myfunction { . . .} myfunction |& . . . How can I capture the PID of the function myfunction that runs in background? Thanks in advance :) (2 Replies)
Discussion started by: dariyoosh
2 Replies

3. AIX

Question on background running job

Guys, We use AIX 5.3 at our work place. I only in my team have a strange problem of not able run jobs background. Other colleagues are able to run without any problem. Once I kick off background job using nohup and & command, It immediately stops. The following error I get when I run. ... (2 Replies)
Discussion started by: anandsbr
2 Replies

4. Linux

Question about background processes

Hi! First of all, let me warn you I'm quite new to the world of LINUX and Operating Systems understanding, so that's why I pose these newbie and stupid qustions... Anyway, I'm trying to build my own simple shell in C and I'm getting some problems in implementing the background process ('&')... (10 Replies)
Discussion started by: neimaD
10 Replies

5. UNIX for Advanced & Expert Users

Move mouse to disable screensaver?

All XKCD jokes aside, can a feature be added to a bash script to move the mouse every X seconds to prevent the screensaver from activating? As is it, I launch mplayer through a script that sets some preferences (such as -zoom). Can I add something to that script which wiggles the mouse? Relevant... (1 Reply)
Discussion started by: dotancohen
1 Replies

6. Filesystems, Disks and Memory

how to create screensaver for unix in java??

i would like to create a screensaver for unix platform in java. with an interface through which i can change the kinds of *.jpg images that r being displayed and also the background music. i don't know how to go about it. can anyone help please :confused: (0 Replies)
Discussion started by: madatyou1
0 Replies

7. UNIX for Dummies Questions & Answers

Screensaver and 'fortune'

(SuSE Linux 8.2 Personal) I'm sure the answer to this will be simple, but it's been driving me insane for the last couple days. SuSE 8.2 comes with a bunch of screensavers, but a handful of them just repeatedly display 'sh: line 1: fortune: command not found'. I've been scouring endlessly... (4 Replies)
Discussion started by: Darkstripes
4 Replies
Login or Register to Ask a Question