Bumblebee-Project/bumblebeed — Issue #39: Add a dbus server to send message to desktop applications
Author: glyptostroboides
Created: 2012-01-17 17:29:56+00:00
State: open

In order to get an indicator applet that work well, it will be nice to launch a dbus server and to send messages through it.
This could be helpfull for any integration in a desktop environnement.
Some messages that could be send, could be :
- Card State : ON or OFF (on every change and also on request for the initialization of the indicator at launch.)
- Command line launched through optirun :
- app name or command line
- pid of the process,
- if the process have been launched through VGL or run with fallback. (and if the card state has changed too)
- Redirection of some warnings and errors
All this message could be send though desktop notification if the user has choosed some options for the indicator.
If the state of the card change, the state of the applets icon will change also.

DBUS is best suited according to what i've heard and read about ipc from kernel to desktop.
A lot of distro use dbus to manage the communication when some desktop application need to share datas.
Sorry for my english.