Happy New Year – InsomniaX Source Code

Happy New Years!

I hope that everyone had a wonderful 2015 and the new year brings luck to everyone 🙂

InsomniaX Source Code!!!

It has been a long time coming, and after much consideration I have finally decided to release the source code to InsomniaX along with the Insomnia kext.

When I first started building InsomniaX I was still in High School (Australia) and back then I was coding in Apple Script, over the years (9 years) new features were added and InsomniaX grew into an Obj C project, whilst InsomniaX grew so did Insomnia it saw huge forks in its code base and many changes.

As such InsomniaX code base is not the cleanest, and with out much time with full time work now (and family life) it became hard to find time to maintain unless a critical bug was found. The code base also shares code with Sleepless from the result of collaboration so a big thanks goes to the Sleepless developer.

Now that the source code is free to everyone (licence pending) I hope InsomniaX can continue to grow, and some volunteers can help maintain the code and the support desk. If anyone is interested in helping please let me know and after review I will grant access to the Git/Support Desk as required.

All future offical releases will continue to be code signed by my self, and published on this site.

So with out further delay… heres the source code!


InsomniaX – Version 2.1.8 (The Quiet One)

This will hopefully be the last release for sometime, it features some of the most commonly requested features and resolved some critical issues such as the first lid sleep being ignored.

It also features the much requested “Sleep Display” hot key functionality thanks to a very generous donation by Simon, these donations really do help keep the project alive.

You may also notice that this version skips the 2.1.7 build, this is due to the 2.1.7 release being used as a test for many users and being discovered by many users, as such to ensure everyone gets the latest version the 2.1.7 was skipped 🙂

Once again thanks everyone for your support over the years, and I am glad so many people still find the utility useful after so many years!

  • Added sensor detection and alerts should no sensors be detected for safety system
  • Added Sleep Display Hotkey
  • Insomnia is now r11
    • Fixed issue where system did not sleep after unload with lid closed
    • Fixed issue where system would not prevent sleep on lid close for first lid event

InsomniaX Preferences Revealed!

Sometimes not all features can have a menu option, and sometimes old preference items can cause issues…

Below is a list of all the current preferences that can be set for InsomniaX 2.1.6, hopefully I can find a permanent home for this list but for now this will hopefully help some users.

To use the below preferences simply open the “Terminal” located in Applications > Utilities, and execute the below commands

Continue reading