I have a Thinlinc server running in a virtual instance. I would now like to open a file on the host (Thinlinc client) in a specific program on the Thinlinc server.
If I configure the client so that the single app field contains, for example, “tl-single-app Program %u,” then the “server” entry is replaced by the content of %u (the correct path and file name of the file I want to open). Can I avoid this?
As an alternative, I tried to open the file usimg the filemanger (Thunar on Xubuntu 24.04) with the option “Open with / Other Application / Use a user defined command” using this command:
/opt/thinlinc/bin/tlclient -C /home/user/.thinlinc/configfile.conf -u user -p password -l server -s ‘xdg-open %u’ IP_of_server
This works except for the fact that only a part of the application is visible in a section at the top right instead of full screen.
I’m not sure I quite understand what you’re trying to achieve with the%u substitution. Are you trying to use the ThinLinc client to open a local file, remotely?
The behaviour you’re seeing in the screenshot is because there is no window manager being started with the application. Using tl-single-app will ensure that a minimal window manager is started along with the application itself, and things should work a lot better. More info here:
Another option would be to create a ThinLinc profile which only launches the desired application. This approach is described in the following article:
One final point, we always recommend running the latest version of the ThinLinc client and server (at time of writing, 4.19.0). So if you have the possibility to upgrade, it would be a good idea to do this first.