Action Item #316closed
Create app manager
The app manager will be used to launch applications. Since we're not using wm title bars and want to use the left panel for navigation we need something that manages what application is currently displayed.The way this will work is
- The left panel buttons send a message of "start:app path" to the app manager. This message is sent via a network connection, possibly via something like nc.
- The app manager parses the message and checks if the app is already running. If it is, nothing is done.
- If the app is not running it is started. This causes it to show at the front of the Matchbox WM stack.
- Any previous application is stopped by sending it a "stop:app path". This reduces load on the RPi.
All apps must have a simple server that can receive messages. They only accept messages from localhost. They only honor "stop" requests.
The app manager could be a windowless client to make it easier to start and stop child processes on the DISPLAY. The app manager should have a configurable list of allowable apps.