Register URL protocol handler for ThinLinc Client

Hi,

it would be nice if I were able to run the ThinLinc client by clicking on a link (e.g. tlclient://user:pass@some.serveradress.domain) and the client automatically fills out the provided fields (user, pass, serveraddress) and if possible tries to autologin with these values.

I know there is the WebAccess application, but it doesn’t provide the full functionallity of the client application (e.g. file transfer, direct clipboard support, etc.).

For Windows a protocol handler to run the client via some custom protocol prefix like tlclient:// is easily added into the registry:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\tlclient]
“URL Protocol”=“”

[HKEY_CLASSES_ROOT\tlclient\shell]

[HKEY_CLASSES_ROOT\tlclient\shell\open]

[HKEY_CLASSES_ROOT\tlclient\shell\open\command]
@=“\"C:\\Program Files\\ThinLinc client\\tlclient.exe\" \"%1\"”

In Linux you could add the handler via a new .desktop file (e.g. tlclient-handler.desktop) in the /usr/share/applications/ folder:

[Desktop Entry]
Type=Application
Exec=/opt/thinlinc/bin/tlclient %u
Name=ThinLinc Client Handler
Icon=thinlinc-client
MimeType=x-scheme-handler/tlclient;
Terminal=false
NoDisplay=true

The argument the handlers are sending to the application is always the full URL, so the client would need to parse this and fill out the fields accordingly.

Would be great if you implement something like this.

Thanks
Martin

Hi @tpx-mk,

We actually have an entry in our Bugzilla on this theme here:

For now, it is possible to use .tlclient files with the desired settings to launch the native client, provided you have the correct file associations set up on the client OS. These files are described in more detail here:

As per bug 8373 though, this may not give a seamless experience as many browsers will simply download the file rather than opening it directly. So the URL-based approach is certainly an interesting idea.

Thanks for your input!

1 Like