Assuming that the wife is right now using our desktop Kubuntu machine, probably surfing the web in Firefox or using Digikam. After logging into the machine via SSH, what can I do to 'pop up' little things to make her smile?

I've already figured out that notify-send "Hi Ety" will pop up KDE's messaging system and that she'll get the message. Is there anything else I can do, such as maybe start playing a song that she likes with Amarok? I'm not sure if amarok -e /some-song.mp3 is actually getting sent to Amarok on her desktop.

Any other ideas? Anything from the mildly annoying to the very sweet would be appreciated!

  • I would try changing her desktop background. Not sure how to accomplish this from within KDE, though. I never liked KDE enough to use it. – Joseph R. Jun 16 '13 at 10:57
  • A suggestion regarding the question itself: please edit the title to make it more relevant to others (e.g. "How to control Desktop applications via SSH"). – Joseph R. Jun 16 '13 at 11:05

Assuming you have the necessary authorization (via Xauth et al. which apparently you already do) you can control which desktop X applications show up on via the DISPLAY variable or the corresponding option. The default is usually :0.0 which translates to the console on anything resembling a modern Linux distro.

  • Thank you! I'm experimenting now to see which DISPLAY value that I need to use. – dotancohen Jun 16 '13 at 13:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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