TeamViewer Linux Integration (.tvc)

Here is a little tip on how to get .tvc files associated with TeamViewer under Linux (Debian/Ubuntu).

So install TeamViewer 8 If you haven’t already.

cd /tmp
dpkg -i teamviewer_linux.deb

Now to create the association.

nano ~/.local/share/applications/takecontrol.desktop

Paste in the following

[Desktop Entry]
Name=Take Control
Comment=TeamViewer Remote Control Application
Exec=teamviewer --desktop --control %f

Press Ctrl + O to save changes then Ctrl + X to quit
Find your .tvc file and open with Take Control
Then all files from then on should open directly with team


  • Thanks for posting this. It works from the File Manager, however, Google Chrome will not open them.

    If I open the saved file directly from File Manager, it opens and launches the session. If I open from the saved files list, or set to automatically open in Chrome, it opens Team Viewer but does not connection to the session included in the tvc file.

    Any ideas? Thanks again!

  • Teamviewer actually registers itself as an application so you mostlikely have the wrong one selected to associate with.
    I have updated the post to use the name Take Control to avoid confusion.

    Please delete ~/.local/share/applications/teamviewer.desktop and follow the instructions again.

    Thanks! 🙂

  • I’ve been trying to figure this out for awhile – never had the right flags. Thanks for your post! Much better than having a Windows XP VM on standby just to use Take Control.

  • It looks like this fix breaks with the new verision 9 of team viewer.

    It says
    “Error parsing command line: unrecognised option ‘–desktop’

    Do you have any idea what the new option would be for version 9 to make this work?

    Thanks again for all of your help.

Leave a Reply

Your email address will not be published.