PackageMaker & ScreenSaver Setup

Hello,
I'm trying to create an installer for my ScreenSaver using PackageMaker. everything works fine, excepts that I cannot select the screensaver I just installed as the current one.
I have written the following PostFlight script :
#!/bin/sh
/usr/bin/defaults -currentHost write com.apple.screensaver moduleName ToDoScreenSaver
/usr/bin/defaults -currentHost write com.apple.screensaver modulePath "/Library/Screen Savers/ToDoScreenSaver.saver"
I'm sure this script is properly executed because it is launched if I add another command to the script.
But the value in the preferences are not changed. There's no error message, everything seems to be okay, but the script simply does nothing.
Is there anybody someone that could help me ?
David

First follow the instructions in this support article.
If an iPhoto or Aperture library is the source of your desktop pictures, it may need to be rebuilt, or you may need to update the application to the latest version.
Otherwise, continue as below.
Back up all data.
In the Finder, hold down the option key and select
Go ▹ Library
from the menu bar. From the Library folder, delete the following item, if it exists: 
Caches/com.apple.systempreferences
and move the following items to the Desktop, if they exist:
Application Support/Dock/desktoppicture.db
Preferences/com.apple.desktop.plist
Launch System Preferences and test. If you still have the issue, put the items you moved to the Desktop back where they came from and post again. Otherwise, delete the items.

Similar Messages

  • Snow Leopard Freeze on Screensaver with "Alias" jpg-pictures?

    Hi all
    I have now updated my 10.5 to 10.6 installation.
    My Setup for Screensaver on 10.5 was:
    - Folder in Photo-Folder “Screensaver”
    - in this Folder I have a few “Alias” (Links) to Fotos in the other Photo-Folders
    - Setup of Screensaver => Added this Folder and activated
    With 10.5 this works perfectly.
    Now with 10.6 my Mac freez completely. Only with Hard-Reset/Restart helps ...
    Also now when I go to the Screensaver-Setup the Mac freez ...
    => when I start setup of Screensaver with Folder-jpg-Alias => Mac freez
    => when the screensaver start => Mac freez
    Only one time I was very fast and I have change the setup in the Screensaver to a Mac-standard Screensaver “Beach”. With this work the Screensaver.
    After that I have tested with a Folder with normal jpg-pictures (No Alias) => Works.
    It is possible, that the new 10.6 Screensaver doesn’t work with JPG-Alias?
    Thanks

    Have exactly the same problem with the new OS.
    Have a directory of image alias that I want to appear within the screen saver. None of the aliases are recognised, and when you try to delete the directory from the screen saver followed by clicking '+' to add it back again system preferences crashes. Relaunch, then I can add directory, but result is the same. i.e. I assume there is no caching etc of any relevance.
    The new os x was supposed to be a refinement fixing bugs, finding that my 5 years old printer is no longer supported and now this is a great disappointment.

  • How can I use packagemaker to do ~/Library (current user)

    I have no idea how to use packagemaker to setup the target default location to ~/Library for current users.
    I could not find any example. Please help me out. Thank you.

    Hello,
    Are you referring to this specific example or calling Java code in general? I don't have any examples that demonstrate Java code explicitly, but there are several examples of calling C DLL's. If you take another look at the link mentioned above:
    How Do I Integrate Java with National Instruments Software Products?
    http://digital.ni.com/public.nsf/websearch/BEE812007BA2A9B486256BC80068A49A?OpenDocument
    It mentions using JNI and a wrapper DLL in C. Calling C DLL's in LabVIEW is a fairly common practice. This manual should provide all the instruction you need:
    Using External Code in LabVIEW
    http://digital.ni.com/manuals.nsf/webAdvsearch/8D930295FFBF9F7686256D2C00624728?OpenDocument&vid=niw...
    Good luck & happy coding!
    Charlie S.
    Visit ni.com/gettingstarted for step-by-step help in setting up your system

  • XScreensaver won't start

    Hi, just installed Arch. Like it a lot, but can't get a screensaver up and running .. I use Xfce, and have xscreensaver and xautolock installed. XScreensaver is running. When I want to configure the screensaver from Xfce, I get a list of the possible screensavers but for all screensavers it says "No preview available". When I start a preview anyway, the screen goes black and in yellow letters at the top it says "xscreensaver <time> child pid <pid> (screensavername) terminated with signal 11". I guess I'm missing some package here, or maybe I'm doing something else wrong?

    Snowman wrote:
    I don't know about xfce or kde screensaver, but to use xscreensaver, first run
    $ xscreensaver-demo
    to configure it.
    Well, Xfce's screensaver-setup-thingy apparently calls xscreensaver-demo, this is the same window you get when you try to configure the screensaver with Xfce. If I run xscreensaver-demo the same happens. No preview available, clicking on preview makes the screensaver crash.
    Good to know I'm not the only one with this ..

  • KDE and electricsheep

    When I did my installation last fall I was disappointed that I couldn't get electric sheep to show up in the KDE screensaver list.
    I tried it again today and was disappointed to see that this still wasn't fixed.
    After a bit of playing around with /usr/share/kde4/services/ScreenSavers/electricsheep.desktop I was able to get it listed.
    From what I can tell, the line TryExec=xscreensaver is the culprit. If you take that out, electricsheep will be listed.
    The Screensaver, Setup button and Test button work and all is well again!
    I hope you find this helpful.
    Additional info:
    $ pacman -Q electricsheep kdelibs
    electricsheep 2.7b12-5
    kdelibs 4.8.3-2
    My version of /usr/share/kde4/services/ScreenSavers/electricsheep.desktop:
    [Desktop Entry]
    Exec=electricsheep
    Icon=kscreensaver
    Type=Service
    X-KDE-ServiceTypes=ScreenSaver
    #TryExec=xscreensaver
    Actions=InWindow;Root;Setup;
    X-KDE-Category=Fractals
    X-KDE-Type=xv
    Name=ElectricSheep
    [Desktop Action Setup]
    Exec=electricsheep-preferences
    Name=Setup...
    [Desktop Action InWindow]
    Exec=electricsheep -window-id %w
    Name=Display in Specified Window
    NoDisplay=true
    [Desktop Action Root]
    Exec=electricsheep -window-id %w
    Name=Display in Root Window
    NoDisplay=true
    X-Ubuntu-Gettext-Domain=desktop_kdeartwork

    bwrsandman wrote:
    When I did my installation last fall I was disappointed that I couldn't get electric sheep to show up in the KDE screensaver list.
    I tried it again today and was disappointed to see that this still wasn't fixed.
    After a bit of playing around with /usr/share/kde4/services/ScreenSavers/electricsheep.desktop I was able to get it listed.
    From what I can tell, the line TryExec=xscreensaver is the culprit. If you take that out, electricsheep will be listed.
    The Screensaver, Setup button and Test button work and all is well again!
    I hope you find this helpful.
    Additional info:
    $ pacman -Q electricsheep kdelibs
    electricsheep 2.7b12-5
    kdelibs 4.8.3-2
    My version of /usr/share/kde4/services/ScreenSavers/electricsheep.desktop:
    [Desktop Entry]
    Exec=electricsheep
    Icon=kscreensaver
    Type=Service
    X-KDE-ServiceTypes=ScreenSaver
    #TryExec=xscreensaver
    Actions=InWindow;Root;Setup;
    X-KDE-Category=Fractals
    X-KDE-Type=xv
    Name=ElectricSheep
    [Desktop Action Setup]
    Exec=electricsheep-preferences
    Name=Setup...
    [Desktop Action InWindow]
    Exec=electricsheep -window-id %w
    Name=Display in Specified Window
    NoDisplay=true
    [Desktop Action Root]
    Exec=electricsheep -window-id %w
    Name=Display in Root Window
    NoDisplay=true
    X-Ubuntu-Gettext-Domain=desktop_kdeartwork
    I'm using KDE 4.9 and ElectricSheep shows up in my screensavers but when i click on it to test, I can't stop it.

  • Multiple screesavers when cisco vpn is connected

    Hi
    I am using builtin Cisco VPN to connect corporate network at home. When I connected to VPN, screensaver sometimes (not all times but very often) starts immediately regardless of my screensaver setup (I usually setup 15min after idle. but it's same when I turn off the screensaver).
    Worse thing is if I leave my macbook for an hour, there seems to be multiple screensaver running (so fan sound is loud). When I click in screensaver screen (mouse move doesn't work... only click works) it change to another screensaver until all screensaver instances terminates (10 times sometimes). I need to click multiple times when every screensaver shows up.
    During writing this article, I had to click twice because screensaver starts during typing...
    Today I found that when Cisco VPN is connected this symptom occurs very often. Is there any known problem of Cisco VPN and SL screensaver?

    I was running synergy 1.31 and it has problems with screensaver. It stops when I stop synergyc.

  • Prevent Remote Desktop 2008R2 session from locking after 10 mins of inactivity

    Do you have a screensaver setup?
    GPEDIT -> User configuration -> Administrative templates -> control panel -> display
    Change screen saver to disabled, and screen saver timeout to a high value just in case.
    Sometimes there are issues with screensaver settings stuck there is a reg fix for it as well:[HKEY_CURRENT_USER\Control Panel\Desktop] "ScreenSaverIsSecure"="0"

    Can someone direct me where to prevent the session from locking after 10 mins.  I have read that this is a default behavior of 2008R2.
    Thanks
    This topic first appeared in the Spiceworks Community

  • XScreensaver

    Hey guys, I have xorg and kde on a box.  I installed xscreensave and it works fine, but when I reboot and load kde, the xscreensaver does not load unless I go into the screensaver setup and start xscreensaver.  Is there a way I can have kde start this when it loads?  Thanks in advance.

    Place something like that in ~/.kde/Autostart/xscreensaver.desktop:
    [Desktop Entry]
    Exec=xscreensaver &
    Name=XScreenSaver
    Type=Application
    X-KDE-StartupNotify=false

  • When my screensaver starts, it gives me an error there was a problem connecting to server

    It seems like I'm having a problem with iPhoto. Whenever my screensaver comes on, it just sits on "Loading Photos" and then when I move the cursor to get out of the screensaver, I get a warning saying "There was a problem connecting to server XXX"
    I don't know why it's trying to connect to this server. I have googled and searched and tried everything that everyone has said (renaming/deleting plists, removing all login items, clearing iPhoto and trying to start over...) but nothing has helped.
    This error also comes up pretty consistantly when iPhoto is open.
    I'm not really sure what else to check. I can't find any trace of the remote server, so I'm not sure why this is coming up.
    I'm running Mountain Lion and whatever the latest version of iPhoto is.
    Any thoughts?

    I was able to get it. Apparently there was some old photo in my iPhoto library that was being mapped out to the server that it kept trying to connect to.
    Which should have been relatively easy to detect, except the way that iPhoto is setup, there was no real way to find the source for each photo.
    What I was able to do to was, under photos, CMD-A to select all photos and then try and move them to an album. It popped up with a notice saying that it wasn't able to find XXXXX.jpg and I had the option to cancel or find the photo. So I renamed another photo on my desktop to XXXXX.jpg, and when the error came up, I selected Find and then used the copy on my desktop to replace it.
    After I did that, it let me add all of the photos to an album and I was able to launch the screensaver successfully.
    A pretty big pain in the but that would have been easier to resolve if the UI of iPhoto was a little more detailed or customizable. But oh well it worked for me.
    Hopefully this helps.

  • Screensaver in Apple DVD Player - what does this mean?

    Hello,
    I am building a dvd based kiosk using a MacPro and Apple DVD player running to a large plasma monitor. The setup works great except for the fact that when the kiosk is not being used, the menu screen will cause a burn-in on the monitor (this monitor does not offer display tracking, anti-burn technology). It appears that in DVD Player version 4.6.5., Apple has taken this into account and offered a preference under "Full Screen" to "Allow Screensaver on DVD menu in kiosk mode" - this sounds like what I need. However when I select this option, and kiosk mode, the screensaver never starts. I have played around with all of the settings in the DVD player and screensaver, but nothing works. - thanks you in advance for any suggestions!!!!
    MacPro 2ghz   Mac OS X (10.4)  

    I think I just answered my own question!
    I can get around using a screensaver if I set DVD Studio Pro to timeout the main menu to a looping "screensaver type" video that I can create. This would allow the viewer to watch any video on the DVD, which would end by going to the main menu, which would then stay on the screen for two minutes, and then start the "screen saver video", I can then put a clear screen size button over the entire screen, so that the user can press enter to sent them back to the main menu. This will actually work a lot better than the Apple screensavers anyway..

  • Can Packagemaker create installer with content files outside the bundle?

    I'm trying to create an installer with Packagemaker, but the content files need to be outside the final bundle because they're shared with a Windows installer.
    I thought I could create a symbolic link to the external folder, but instead of linking from the installer, it copied the files into the bundle. Any idea how to do this, or if it's even possible? I need to be able to do this on 10.3+, if that's relevant.
    (I can give a more specific scenario if this isn't clear enough)
    Thanks!

    zekel wrote:
    The main issue I'd be worried about is that the external files (which are quite large) won't have the appropriate progress bar. The external files are around 1GB, while the internal files are in the 30MB range.
    How about installing a secondary installer with progress bar that copies these files from the correct location. Your postflight script can just kick off the newly installed file copier.
    How's this sound for a hack...
    Have a launcher script copy the installer to /tmp, then modify the package to point my files. (I'm installing from read-only media.) It would then open the modified installer which would pull my files from the DVD. This would probably work better (read: at all) if the files aren't compressed inside the package. Do you know if that's an option?
    No, sorry. The internals of a package are quite specific. You need PackageMaker itself to build them.
    Things like the receipts are non-essential at this point, only because if I can't get this to work then we will continue to use our terrible installer which leaves none of those things. Those shouldn't be too much trouble if I can get the rest to work.
    There are some 3rd party installers like Installer VISE. The sad part is that they tend to make the MacOS X Installer look good.
    If the guy responsible for that is interested I'll show him Inno Setup, but we have a working Windows installer, so he probably won't want to mess with it.
    I agree, but tell him about it anyway. The next time you have to build a Windows installer, he could use Inno Setup and get it done in a couple of hours and then have time to help with the mess that is software deployment on MacOS X.

  • Color profile reset after screensaver

    Running Leopard 10.5.1. Dual screen setup with my external monitor having configured as a custom color profile to compensate for a little bit of gamma. Strange thing that always when the screen saver comes on, and I move the mouse so that the screen comes back, the colors look blueish. When activating the screen options and moving to the color profile tab, the screen reverts to the correct settings again. I have to do this every time the screen comes out of the screensaver.

    I run Parallels on an external HP monitor and OS X on the MBP screen. It's intermittent for me but sometimes I get a weird blue tint on the MBP screen coming out of screensaver. Opening screen prefs knocks it back to normal.
    I tried this:
    http://installingcats.wordpress.com/2007/11/23/fix-blue-tint-wake-from-screensav er-mac-macbook/
    It seemed to work. It's been a few weeks since the last 'blue shift'.

  • Which is better when temporarily not using Mac - 'screensaver' or 'sleep'?

    I manually invoke a screensaver when I won't be using my MacBook for a while (up to an hour or two) -- instead of putting it to sleep.
    When I come back to use the computer again, with rare exceptions the hard drive doesn't rev up as it does when I return to use the Mac after putting it to sleep (either manually or by closing the case).
    Is one of these better, in terms of wear and tear on the hard drive?
    Also, does the fact that the computer's hard drive apparently does not rev up when use of the computer is resumed from the screensaver (rather than from 'sleep') mean that the hard drive has been spinning (idling) the whole time?
    If so, is putting the computer to sleep preferable, since it essentially turns the hard drive 'off' rather than allowing it to spin the entire time that the computer isn't being used?
    Thanks.

    When to choose sleep rather than screen saver.
    When to choose sleep over shutdown.
    I usually always let my display go to sleep and then my computer
    go to sleep before my screen saver is set to start. I have it set this way for
    both power adapter and battery. I have my screen saver setup with a
    slideshow but seldom use it. I have it setup to require a passcode when
    waking from sleep or screen saver. If I want to download a large update
    that would take a couple of hours I choose never for computer sleep and
    a couple of minutes for display sleep in both power adapter and battery.
    I only shutdown my computer when I am done for the day. If I'm getting up
    to make a fresh pot of coffee or something I close the lid eventhough I have
    display sleep and computer sleep set.
    These are my preferences and the way I like them. You should adjust these settings
    on your MacBook so that it is comfortable for you to use.
    I noticed that your MacBook is about 4 years old (early or late 2006 model). Are
    you asking these "When To" questions to try to prolong the life of your computer's
    hardware? If so, my best answer would be:
    +Backup your important folders and media at least twice+. Hardware can fail at anytime.
    I have read of 2 week old MacBook Pros being sent back to Apple for hardware
    replacement. If you have Kernel Panics, questionmark, a blue or black screen; system
    preferences set to what someone thinks will provide hardware longevity won't be as
    useful as a good backup. I should have started this with an "in my humble opinion".
    Limnos has already said that some will argue both ways on the wear and tear savings
    in an earlier reply.
    Set your preferences to where they are most comfortable for you and enjoy using your
    computer.
    Kind Regards,
    A

  • Hide Task Bar , Hide all windows notification , Set screensaver

    Hello, 
    Can any one please help me in doing any one or all the customization in
    Windows 7x86 Embedded satndard.
    How to hide Task bar permanently  ? 
    How to set specific logo as screensaver ?
    How to hide all windows notification ?
    I have to do all these setting through MDT and want to include that in base image (Core Image). If you know any thing how to do any of the above settings in
    Windows 7x86 Embedded Standard please reply .
    If you how to do that in MDT via unattend.xml or registry or
    GPO or any thing by which we can do these setting and deploy through MDT. 
    PLEASE HELP!!!

    What I did was to provide the Notifier stage with an owner. (This is only a solution if your application has a single stage.)
    1.  In method initGraphics() remove the line: stage.show();
    2.  Create the following method in Notifier:
    public static void setStageOwner( Stage stageRef )
         INSTANCE.stage.initOwner( stageRef );
    3.  In method showPopup( Notification ) add the following line before:  POPUP.show( stage );
    if ( ! stage.isShowing() )  stage.show();
    else  stage.toFront();
    4. When you setup your application's stage call:
    Notifier.setStageOwner( yourAppsStage );

  • Packagemaker 3.0.3. get user's installation preferences

    Hi all,
    i have a small problem that seems to be caused by my lack of knowledge on the issue. Basically, what I am trying to do is to create an installer for my application with the PackageMaker.app. I am stuck on one place though, how can I 'get' a user's input during the installation and feed it to a script which is getting started after the install.
    Example: I give the user 4 language choices during the installation - german, japanese, french and english. The user chooses one of those and according to this choice my post-install script has to do different things.
    Does anybody know how can I achieve such behaivior?
    Thanks in advance.
    Regards
    artOf...

    I am still struggling with the postinstall script... The problem is the PackageMaker does not give ANY language information to my script i tried many different things for example:
    #!/bin/sh
    /usr/bin/env
    echo "arg0: '"$0"'"
    echo "arg1: '"$1"'"
    echo "arg2: '"$2"'"
    echo "arg3: '"$3"'"
    echo "arg4: '"$4"'"
    echo "arg5: '"$5"'"
    echo "arg6: '"$6"'"
    echo "arg7: '"$7"'"
    echo "arg8: '"$8"'"
    echo "pkgpath: $PACKAGE_PATH"
    echo "language: $LANG"
    echo "messageLanguage: $LC_MESSAGE"
    echo "environment: $ENV"
    The output is:
    ...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg0: '/private/tmp/scripts.eDmN/./postinstall'
    ...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg1: '/Developer/Projects/TS-S2/code/trunk/Mac/TS-S2/Setup/BETA/MyApplication - Installer.pkg'
    ...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg2: '/Applications'
    ...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg3: '/'
    ...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg4: 'upgrade'
    ...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg5: ''
    ...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg6: ''
    ...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg7: ''
    ...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg8: ''
    ...imac /private/tmp/scripts.eDmN/./postinstall[1503]: pkgpath:
    ...imac /private/tmp/scripts.eDmN/./postinstall[1503]: language:
    ...imac /private/tmp/scripts.eDmN/./postinstall[1503]: messageLanguage:
    ...imac /private/tmp/scripts.eDmN/./postinstall[1503]: environment:
    Where you can see that more then half of the variables are empty. Also the '/usr/bin/env' outputs nothing related to language or localization... I think, I set the localization properly in the packageMaker interface so the problem should be somewhere in the script. I am not experienced at all with writing scripts so I am guessing that is the problem. Any help will be appreciated. Thanks!
    -artOf...

Maybe you are looking for