Back on the good old days, browsers allowed you to check "Always open this file type" in the download dialog. This made downloading and opening .tlclient-suffixed files in your web browser effortless. Browser vendors have lately moved away from automatically opening downloaded files. This means that relying on downloading .tlclient files will quickly turn your Downloads directory into a mess.
The obvious alternative to this would be to add a ThinLinc client protocol handler, allowing relying on tlclient:// URLs instead. * On Linux, you specify an additional MimeType in the *.desktop file (x-scheme-handler/tlclient) * On Windows, you add a registry key * On macOS, you add a CFBundleURLSchemes property to Info.plist Note that URLs are, in practice, limited in length. Hence -- we probably cannot pack a whole client configuration into a single URL.
(In reply to William Sjöblom from comment #0) > This means that relying on downloading .tlclient files will quickly > turn your Downloads directory into a mess. This already has a fix. You can set the setting REMOVE_CONFIGURATION: https://www.cendio.com/resources/docs/tag/client_config_params.html?highlight=remove_configuration#client-config-REMOVE_CONFIGURATION It is primarily there to reduce the time a file with sensitive information is present on disk. Note bug 6973, though.
Citrix seems to have added a custom protocol handler and helper that downloads the ica file: https://support.citrix.com/s/article/CTX804493-users-prompted-to-download-run-open-ica-file-instead-of-launching-connection?language=en_US