I haven't looked in detail into how it all works, but why can't autostart build a tree of every path/args it runs as it goes, discarding duplicates and thus not running things twice?

On Jul 15, 2012 6:34 AM, "Brad Rogers" <brad@...> wrote:
On Sat, 14 Jul 2012 23:42:17 +0200
"Mag. Dr. Nikolaus Klepp" <office@...> wrote:

Hello Mag.,

>When installing on a harddisk and activating session management
>("restore previous session") then this entry
>~/.trinity/Autostart/kmix.desktop causes kmix to start twice after the
>first session, which pops up the mixer dialog, which is a bit anoying.

That's expected behaviour, surely?  If kmix was running in a previous
session, "restore previous session" will restart it.  There's no need for
it to be in Autostart.  The fix is simple, either exclude kmix from
"restore session" settings, or remove it from Autostart.

JOOI, I always start with an empty session and kmix starts here every
time.  It's not in Autostart, but called by the Service Manager.

 Regards  _
         / )           "The blindingly obvious is
        / _)rad        never immediately apparent"
If Adolf Hitler flew in today, they'd send a limousine anyway
(White Man) In Hammersmith Palais - The Clash