global session ID



Hi,

Trying to figure out how to implement a global session ID for saving
properties shared by all apps in a session.

The SM protocol is not especially extensible. The options I've come up
with so far:

 a) add a virtual "GlobalSessionID" property, which apps could 
    retrieve with a GetProperties request. disadvantage: 
    efficiency. Apps would need to get all their properties 
    (which they don't normally need) in order to get this one.

 b) use an X root window property set by the session manager. 
    disadvantage: X-specific 

 c) create a custom ICE protocol. disadvantage: complicated

 d) have the session manager set a GConf key
    /desktop/standard/global_session_name or something. 
    disadvantage: requires GConf

Other ideas? Anyone care at all? ;-)

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]