Blog

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.

1
2
3
cd /tmp
wget http://download.teamviewer.com/download/teamviewer_linux.deb
dpkg -i teamviewer_linux.deb

Now to create the association.

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

Paste in the following

1
2
3
4
5
6
7
8
9
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Take Control
Comment=TeamViewer Remote Control Application
Exec=teamviewer --desktop --control %f
Icon=/opt/teamviewer8/tv_bin/desktop/teamviewer.png
Type=Application
Categories=Network;

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

Posted in: Blog, Scripts, Technical

Leave a Comment (4) ↓

4 Comments

  1. Rob H July 12, 2013

    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!

    reply
  2. Jake July 12, 2013

    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! 🙂

    reply
  3. Dan Lawson September 4, 2013

    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.

    reply
  4. Rob H December 27, 2013

    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.

    reply

Leave a Comment