Bug 8373 - Launching client from web portal is not convenient
Summary: Launching client from web portal is not convenient
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Client (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-02 15:41 CEST by William Sjöblom
Modified: 2024-08-13 13:06 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description William Sjöblom cendio 2024-07-02 15:41:13 CEST
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.
Comment 1 William Sjöblom cendio 2024-07-02 16:11:03 CEST
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.
Comment 4 Pierre Ossman cendio 2024-08-06 09:45:48 CEST
(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.
Comment 5 Pierre Ossman cendio 2024-08-06 10:05:39 CEST
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

Note You need to log in before you can comment on or make changes to this bug.