#44 Integrate gif-images in lock screen + Ability no alarm sound


First off, I think iAlertU is already great!

I just thought of a few improvements points.
Maybe an idea is to use a gif-image as a lock screen. This way the screen can be saved (burn-in's) and still the lock message can be used instead of a black screen.
And if the alarm is triggered, not just flash the screen but also the option to use another jpg- or gif-image. The user can make it as flashy as they want themselves.

Also it would be great if the alarm sounds could also be turned off. Like add a feature in the menu: "Default Alarm Sound ... Custom Alarm Sound ... No Alarm Sound".

It would also be great if arm and disarming could also be controlled by applescript. Then I could arm my system when I walk away with my bluetooth phone and disarm it when it's within reach again.

Maybe I'm the only one with these requests, but it would be greatly appreciated. If any help is needed, let me know!




  • Peter Easdown

    Peter Easdown - 2011-06-17

    Hi, you're not the only one.

    You can already customise the lock screen image, and the sounds. You can also turn the sounds off completely. these features have been there for a while now.

    Applescript support is there, but not for controlling as that would open up a security hole.

    There is already a request out there for bluetooth integration and it's on the todo list.

    If you have code that can be integrated so that bluetooth events can be used internally, please feel free to submit a patch.


  • Peter Easdown

    Peter Easdown - 2011-06-17
    • assigned_to: nobody --> ezsource
    • status: open --> pending
  • Victor Hartong

    Victor Hartong - 2011-06-18

    In response to your message:
    In the menu there is only the option to turn the sound off for arming and disarming. Not for the alarm. Also one for turning off the sound is not there. I fixed this myself by making an empty mp3-file and use that as the alarm-sound.

    As for the image: I tried to load an gif-file as the lock-screen but I can not select the gif-file.

    Changing the lock screen if the alarm is triggered, also might have a good, scary effect on the idiot that is trying to steal, or whatever, the laptop.
    Maybe even the picture that is made by the iSight-webcam, that might scare them off!

    Not integrating the applescript is very understandable.
    Although if I just use the script:
    "tell application "iAlertU"
    end tell"
    then the alarm is also switched off. -Tested by running the applescript on iCal.-

    I will try to look for the scripts for bluetooth integration.

    Kind regards!

  • Peter Easdown

    Peter Easdown - 2011-06-18
    • status: pending --> open
  • Peter Easdown

    Peter Easdown - 2011-06-18

    Hi there,

    A great response yourself!

    I see where you're coming from now. You should be able to specify a jpg or png for the lock image. I haven't tried a GIF. Converting them is easy though.

    Interesting about the auto-quit. I'll look into that.

    Yes, your alarm image is also a good idea.

    Thanks for the suggestions. They are all good things to add.


  • Victor Hartong

    Victor Hartong - 2011-06-18

    Still trying for an animated lock screen:
    Converting to png is not the problem. I would like the picture to have an animation. and the only png-file that is animated, is an apng-file. I can't make these files. That is actually the reason why I would like to use .gif .
    I have created an gif file for this purpose. If one likes to see this, contact me and I will provide it.
    The reason remains the same, warn people about the lock without the lcd-screen burning in.

    By the way, excuse for making all these posts. I still think the program is great!

  • Victor Hartong

    Victor Hartong - 2011-06-18

    Applescript to enable and disable screensaver

  • Victor Hartong

    Victor Hartong - 2011-06-18

    Also added an applescript-file that can start and stop the screensaver.

    Maybe this way it can be implemented in the program? I saw some requests.
    I can think of one problem already, when typing the password, the first typo disables the screensaver. Maybe there is some sort of trick for this?

  • Peter Easdown

    Peter Easdown - 2011-06-19

    OK, I've experimented with animated gifs. It's not hard, but it will take a little work to get right. You may have noticed that the lock image will be scaled to fit the screen. This will also apply to your animation. The best way to deal with this is to make your animation/lock image the same size as your screen.

    The only complication is that I will need to change the way I overlay your lock image with the ialertu logo down in the corner as the current mechanism effectively disables the animation.


  • Victor Hartong

    Victor Hartong - 2011-06-29

    Okay, so i have installed Bluetooth Proximity and got it working with iAlertU in just 10 minutes or so.
    Also found out that I can control iAlertU by using Applescript even further.
    It's not a very slim solution, but hey.. It works.

    First I program a difficult hotkey for iAlertU, like this: cmd+alt+ctrl+shift+a.
    My password for unlocking will be "password"

    Now I can control iAlertU by using simple applescript.
    For locking I will use:
    tell application "System Events" to keystroke "a" using {command down, option down, shift down, control down}

    And for the unlocking process:
    tell application "System Events" to keystroke "password"

    Finally you have to tell Bluetooth Proximity to run these scripts. Out of range => lock iAlertU. In Range => unlock iAlertU.

    This might be the easiest way..?

  • Peter Easdown

    Peter Easdown - 2011-06-29

    Awesome that you've got a solution; most users just sit and wait. I'll look at those links you've given me when I can. At the moment, the priority is to get iAlertU running on Leopard again.



  • Peter Easdown

    Peter Easdown - 2011-08-16

    I have added support for animated GIF files to be used as the lock screen image. Note that the iAlertU logo will still be displayed in the lower left corner as per the current implementation, however the animated GIF will be displayed, centred in the screen. iAlertU won't scale that image anymore, so if you don't want a full screen animation, it will look much clearer now.

    The bluetooth proximity stuff has yet to be done.



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks