Right now the handling of $TLCOMMAND is in tl-select-profile and tl-run-profile. It would probably be clearer if we separated it out from there so that "profile" is a more consistent concept in ThinLinc. Problems to solve: - What if we want to show the intro text, even though we don't want it to show any profile choices? (this could be relevant even in other cases) - Do we want to make xstartup.default more complex, or do we want an intermediate script between xstartup.default and tl-run-profile?
tl-run-profile should probably also be changed to take an argument instead of looking at $TLPROFILE when we do this. That would consistently keep the environment variable handling in the shell scripts.
(In reply to comment #0) > - What if we want to show the intro text, even though we don't want it to show > any profile choices? (this could be relevant even in other cases) Splitting the intro text into a separate binary instead of keeping it inside tl-select-profile would enable us to remove the intro configuration entirely from profiles.hconf, which would be a good thing With a separate binary for the intro we could also get rid of the show_intro configuration variable and just use the xstartup.d directory. This would also allow users more flexible configuration of when the intro is shown by putting custom script in xstartup.d rather than symlinks.