.. raw:: pdf PageBreak tl-env ====== Synopsis -------- **tl-env** [*options*] <*command*> [*args*] **tl-env** **-s** [*options*] Description ----------- This command can be used to save and restore the ThinLinc session environment variables. It operates on the file :file:`xstartup.env` in the session directory. During session startup, :program:`tl-env` is called with the :option:`-s` option after everything in :file:`xstartup.d` have been executed. Later, tl-env can be used to execute a command in this environment, even outside the ThinLinc session. During restore, the :environ:`DISPLAY` environment variable can be excluded by specifying :option:`-d`. By default, this command operates on the "last" session number for the invoking user. An alternative session number can be specified with the :option:`-n` option. Options ------- .. option:: -d Do not restore :environ:`DISPLAY`. .. option:: -n nr Use specified session number instead of "last". .. option:: -s Store current environment as the session environment.