Skip navigation

Mountain Lion Screen Saver

28018 Views 127 Replies Latest reply: Apr 10, 2013 11:43 AM by seifej RSS
  • GAK NJ Calculating status...
    Currently Being Moderated
    Jan 29, 2013 9:18 AM (in response to GAK NJ)

    Okay - I think I got it:  I selected "Run Shell Script" and put the code in their.  Lovely.

     

    Now - a separate question, though:   It pauses and asks for confirmation before proceeding with the rest of the routine when it selects the master directory (below which all the subdirectories are located).

     

    Can we set this up so that there is NO input required here?   How can the routine run at off hours without user input if it requires a manual response to continue operation.  Please clarify.

     

    Thanks!

  • abfield Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 29, 2013 9:30 AM (in response to GAK NJ)

    Sure. Drag over the "Run Shell Script" action from the Utilities category. I made this the first step in the workflow. Then simply paste this in the body being sure to replace my path with the location of your screensaver links placeholder folder.

     

    cd /Users/MyUser/Pictures/ScreenSaver

    rm -f *.*

     

    I'm by no means an expert in this but used to write code for a living so I can be dangerous. Others may know a better or "cleaner" way but this seems to be working for me as best I can tell. This seems to delete all of the symbolic links and doesn't move them to Trash which is good because you don't fill it with thousands of files.

     

    Adam

  • abfield Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 29, 2013 9:33 AM (in response to GAK NJ)

    Looks like you figured it out before I posted! I want to do exactly what you described next but haven't gotten to it yet. I did some quick Googling and it looks like you can save the Automator workflow so that it can be executed with a repeating calendar event but I haven't tried it yet. This is of course only good, as you mention, if this workflow can be executed without any manual input. If anyone knows how to do this, please let us know. I'll play more later tonight.

  • GAK NJ Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 29, 2013 10:59 AM (in response to GAK NJ)

    Okay I worked it all out.  You don't actually have to script to do this.  And you also don't have to use the option that forces you to "click" to select the folder.  Here is the sequence I created, in automator (after having done the download per the earlier entry in the thread).

     

    #1 - create the entry in Automator as a "Calendar Alarm"

     

    #2 - automator function: GET SPECIFIED FINDER ITEMS - select the directory where all your screensaver alias files are amalgamated (you have to use the + button to add it)

     

    #3 - automator function: MOVE FINDER ITEMS TO TRASH - this dumps all your stuff

     

    #4 - automator function: GET SPECIFIED FINDER ITEMS - but this time, select the "master" directory where all your subfolders are located

     

    #5 - automator function: GET FOLDER CONTENTS (and be sure to check "repeat for each subfolder found")

     

    #6 - automator function: FILTER FIND ITEMS (as per the original instructions, and set this to "Kind = Image")

     

    #7 - imported function: CREATE SYMBOLIC LINK (this is the automator function you imported) and here you specify the directory in which you want ALL your screensaver images to live (the same one from which you earlier deleted all the prior images)

     

    #8 - you're DONE building your automator routine - upon saving you will be prompted to save it in iCal (and then you can adjust the settings to make it a daily or weekly routine, and set the time.

     

    Works fabulously!

  • GAK NJ Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 29, 2013 11:04 AM (in response to GAK NJ)

    You know what - I didn't realize that the shell script version of the delete didn't leave any nastiness in the trash.  That's a good reason to try that protocol instead of what I outlined above.

  • abfield Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 31, 2013 8:01 AM (in response to GAK NJ)

    Thanks for the suggestions. I now have this working with one slight modification. I updated my delete script because the "rm" command was throwing an error. It seems that if you have "many" files it will try to build a very long command when you tell it to delete *.* and you get a message basically telling you that it can't execute. So, I did some research and updated the script to:

     

    cd /Users/MyUser/Pictures/ScreenSaver

    find . -maxdepth 1 -name '*' -delete

     

    The "maxdepth" option means it will only delete that folder and not sub-folders which probably isn't needed because there shouldn't be any.

     

    ** CAUTION: Make sure to double-check your script code before executing and be sure that you are in fact in the correct folder or you can do some serious damage and lose things. This doesn't move files into Trash so you won't be able to easily get them back. **

  • danielsosmacfrance Level 1 Level 1 (10 points)
    Currently Being Moderated
    Jan 31, 2013 12:05 PM (in response to dutch_seagal)

    This is nonsense. You can´t just go scripting all the Bugs in the terminal. there has to be a solution for this on next software updates.

     

    I hope Apple comes up with a solution for this. Is not like a terrible issue but is a problem that didn´t happen to me on leopard, SL or Lion.

  • abfield Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 31, 2013 12:17 PM (in response to danielsosmacfrance)

    Agreed.  But for the time being this is a good workaround. I'm assuming it was a developmental oversight and not a "feature". Unless they are trying to push people to iPhoto.

  • baltwo Level 9 Level 9 (59,255 points)
    Currently Being Moderated
    Jan 31, 2013 12:26 PM (in response to abfield)

    abfield wrote:

    Agreed.  But for the time being this is a good workaround. I'm assuming it was a developmental oversight and not a "feature". Unless they are trying to push people to iPhoto.

    Your assumption holds no water. All I can suggest is to File a bug report with Apple about the issue.

    27" i7 iMac SL, Lion, OS X Mountain Lion (10.8.2), G4 450 MP w/Leopard, 9.2.2
  • abfield Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 31, 2013 12:34 PM (in response to baltwo)

    Done.

  • Lost in Asia Level 2 Level 2 (330 points)
    Currently Being Moderated
    Jan 31, 2013 6:05 PM (in response to abfield)
    Agreed.  But for the time being this is a good workaround. I'm assuming it was a developmental oversight and not a "feature". Unless they are trying to push people to iPhoto.

     

    Except that the screensaver doesn't work in iPhoto either. All I can access are the photos (beaches and whatever) that are provided with the system.

  • GAK NJ Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 31, 2013 6:22 PM (in response to Lost in Asia)

    What is -wrong- with you people?   Have you not read this thread?

     

    There are now two COMPLETELY workable, useful solutions - using either Automator (I like that one a LOT - it's user friendly and amazingly efficient - it has run every morning at 1am for me flawlessly and builds a new directory amalgamating all my subdirectories - but it generates the objects as Alias items - very little memory - and the delete function as a script doesn't even push the removed contents into the trash.  

     

    The other option, the crontab, also works.  I've tested and run it, but it is non-recursive so not quite as perfect.

     

    We all object to this situation - but at least now there are two COMPLETELY viable workarounds until, and if, Apple gets around to remedying this.

     

    So stop crying the blues please.  It's nauseating.

     

    Thanks.

  • Mak1394 Calculating status...
    Currently Being Moderated
    Feb 24, 2013 1:09 PM (in response to GAK NJ)

    Hi everyone.  My solution to this problem (Slideshow screen saver not showing subfolders) was to download the Xscreensaver package for Mac. http://www.jwz.org/xscreensaver/download.html  I then mounted the dmg file and double-clicked the file GLSlideshow.saver.  It will ask you if you want to install for all users or you only.

     

    My two cents...

     

    Screen Shot 2013-02-24 at 2.07.18 PM.jpg

    Screen Shot 2013-02-24 at 2.02.36 PM.jpg

    Screen Shot 2013-02-24 at 2.04.55 PM.jpgScreen Shot 2013-02-24 at 1.57.21 PM.jpg

  • James Kachan Level 1 Level 1 (25 points)
    Currently Being Moderated
    Mar 17, 2013 2:27 AM (in response to dutch_seagal)

    Everyone will be glad to know that Apple has fixed this bug with 10.8.3 - Update!

    I just tested the screensavor "classic" and yes, it will draw from subfolders as well as root folders.

     

    It's always nice to see bugs fixed!

  • kiu77 Level 1 Level 1 (10 points)
    Currently Being Moderated
    Mar 17, 2013 2:53 AM (in response to baltwo)

    Yes

     

    There is hope in the world...

1 ... 5 6 7 8 9 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (3)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.