Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

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.

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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