Didj Replacement App Menu

=NOTE= This is not a working replacement yet, is considered a work-in-progress, is currently musings on how it could be done, and is in general not going to work for you. Proceed with extreme caution!

= Theoretical implementation =

Background info
GrizzlyAdams on the IRC channel has been working on implementing a new menu system called DJ System Menu. With that in mind, he is currently working on having a way to launch the menu from Brio. This most likely won't work well for a few reasons. First, if it's launched directly from Brio's AppManager, AppManager stays in memory, eating away at what precious RAM we have to work with. Secondly, if it's launched, and AppManager is exited to save RAM, the Didj by default will shutdown because of how /usr/bin/launch_main behaves (which is pretty much the state machine watching AppManager and reacting to it's various exit states.)

Basic idea
Now, in order to work around the issues I think the best idea would be to stop Brio from launching AppManager to begin with. The most user friendly way I can think of is how GrizzlyAdams kind of started, but rather than launching djsm from AppManager, the small Brio app disables Brio and enables djsm to start when the system is started.

Basic implementation
This is the actual application which Brio will launch:

And this is the /Didj/disable/disable.sh shell script:

And here would be the djsm.init.d:

Now, these are just untested prototypes at this point to get the basic idea across about one possible method for disabling Brio from Brio.