This isn't Ubuntu-specific, but since Empathy is the default IM client on Ubuntu, I thought this would be a good place to ask.

I have a script that pulls current weather info from Google's weather API, and I'd like to pipe the output to an Empathy window. I imagine I'd have to do some telepathy scripting. Any hints or tips?

Thanks in advance.

EDIT: I'd like to avoid scripting telepathy if at all possible.

link|improve this question
feedback

1 Answer

up vote 3 down vote accepted

Do you want to paste this automatically or manually? If you just want to do it manually, you can do this:

program_that_outputs_weather_info | xclip

and then just paste using Ctrl-V.

link|improve this answer
Or xsel -b. – poolie Jun 14 '11 at 16:03
Not exactly what I was looking to do, but it'll work I suppose. I always seem to forget about xclip! – Wesley Rice Jun 15 '11 at 3:31
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.