In our company we are using Apple TV's and we want to provide the possibility to mirror from every device, Mac and Windows are not a problem but I cannot find the way to do it for Ubuntu 16.04, does anybody knows how?


1 Answer 1


You will need several things:

  1. IP address for Apple TV
  2. Airplay.jar from https://github.com/jamesdlow/open-airplay/releases
  3. Properly installed java (to execute jar file from your terminal)

Here is one way you can tell if you're Apple TV is detectable by your computer on the network:

ping appletv.local

Ok, next step is to execute airplay.jar from a terminal (do this from a directory which contains jar):

java -jar airplay.jar -h -d

If your appleTV device has some credentials you can use

java -jar airplay.jar -h hostname[:port] [-a password] -d

The most important thing to note is that it is not true airplay screen sharing, it is emulated through taking screenshots of your desktop each second and sending it to AppleTV as a photo. However, it is the best way I know to deal with screen sharing to AppleTV from a non-apple device. (Proprietary sucks!)

You can also find a list of other libraries to work with AppleTV here: https://github.com/jamesdlow/open-airplay

That's it! Now you should see your screen on the AppleTV.

Credit to Vadim Kirilchuk's blogspot

  • 4
    My friend's Apple's TV says that iOS +7.1 is required. Looks like the the last version in github is not compatible with current AppleTV.
    – alfC
    May 15, 2017 at 18:43
  • 2
    Does this still work? It seems to have some problems
    – Max Coplan
    Nov 15, 2018 at 1:53

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.