Is it possible to show the Teamviewer ID in Conky


Hi all, does anyone know if it’s possible to show the Teamviewer ID of a Teamviewer Host custom partition within the conky system monitor? what would i need to add to the config?

Learn more, read the entire thread inside the IGEL Community o Slack

Hi Marcell,

do you have a Linux command to get it shown? Then we could help.

Maybe this? serverfault.com/questions/547206/how-to-find-my-teamviewer-id-on-ssh serverfault.com/questions/547206/how-to-find-my-teamviewer-id-on-ssh


correct “teamviewer -info” shows the TeamViewer ID


Only that?


no it shows more, have a look:


I don’t have the CP by hand, would have to deploy it first.

I would check with a pipe and grep if your find your Way:

teamviewer -info | grep ID

or similar.

If yes:

I would try it in the Custom text in your conky section:

“`Teamviewer ID: ${exec Your Command}

“`

and it prints the ID


this code works on the terminal and only returns the actual TeamViewer ID:

“`teamviewer -info | sed -n ‘s/TeamViewer ID:[[:space:]]*//p’“`

but when i use

“`Teamviewer ID: ${exec teamviewer -info | sed -n ‘s/TeamViewer ID:[[:space:]]*//p’}“`

it only prints:

“`Teamviewer ID:“`

but doesnt show the actual ID 🙁


maybe Teamviewer ID: ${exec $(teamviewer -info | sed -n ‘s/TeamViewer ID:[[:space:]]*//p’)}


nope, it also doesnt show the value i’m afraid…


Can’t test easily atm.

Will try on monday.


thanks, i’ll also keep trying… if i just run

“`${exec teamviewer -info}“`

then it doesnt show the teamviewer id like it does when i run the command in the terminal, its like the conky instance doesnt have full access to the teamviewer cp

Continue reading and comment on the thread ‘Is it possible to show the Teamviewer ID in Conky’.  Not a member? Join Here!

Learn more, search the IGEL Knowledge Base



Ask a question or comment on the above message thread?

Join or log in to the IGEL Community to ask us anything and meet other IGEL customers, partners, and EUC enthusiasts.

Submit a question, or Join Today!


Popular Message Threads


Categories & Tags: