-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Michele, thank you - this was the ultimate programmatic solution. For the public (as you answered in private, or may be I did and it did not get to the list) the solution suggested (and working) was TDEApplication::disableSessionManagement()
Hi Emanoil, I didn't mean to answer privately... probably I pressed the wrong button.
TDEApplication::disableSessionManagement() may fix the issue, but you need to remember that in TDE different people may have different needs, so we need a way to let the users choose whether to launch the app at startup or not. If we just disable it, it is not the best solution.
We use TDEApplication::disableSessionManagement() when we don't want the application to be managed by the ksmserver, but in that case we provide a different way to control whether the application should start automatically at start up or not. This is done in two places: 1) the application has an option for autostart 2) there is an autostart script that look at that option and decide whether to autostart or not. You can look at TDEPowersave for an example and the relative script in /opt/trinity/share/autostart.
Just disabling session management without providing an option to the user is an incomplete solution IMO.
Cheers Michele
--------------------------------------------------------------------- To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting