[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] server - More tightly integrate the server into a user sessi
Re: [PATCH] server - More tightly integrate the server into a user session
Wed, 15 Jul 2009 10:14:29 +0200 (CEST)
> This commit allows for tighter integration of the speech
> server into a user's session. When the user logs in, the
> SPEECHD_PORT environment variable is set
> to a unique port number, which is the base port set
> in intl/def.h, plus the user's UID.
Luke, please, how does this interact with the SPEECHD_PORT
settings done by spd-conf?
I think the correct place to put this variable initialization
is in ~/.profile according to Freedesktop. It should be read
by the text console as well as by X session. spd-conf already
does that, but it would need a little modification to respect
the better approach based on user id.
> When the server gets loaded, it then checks
> for the presence of
> the SPEECHD_PORT environment variable, and uses that
> port for communication
> if found.
> The environment variable will overwrite any
> setting in the config
> file, but will not override the port command-line flag.
Yes, this is correct.
> This integration is disabled by default, but can be
> enabled at compile time
> with the --enable-session-integration command-line
> flag given to the
> configure script.
What would be the reason to disable it?
Have a nice day & let me know please,