Airplay mirroring from Ubuntu 16.04 to Apple TV
You will need several things:
- IP address for Apple TV
- Airplay.jar from https://github.com/jamesdlow/open-airplay/releases
- 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 172.18.129.223 -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
Related videos on Youtube
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Admin
Updated on September 18, 2022Comments
-
Admin almost 2 years
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?
-
Admin over 7 yearsDoes this instructables.com/id/Airplay-to-AppleTV-From-Linux-PC/step3/… help? I have no hardware to check.
-
Admin almost 5 yearsSeems to work if you set a password on the apple tv. I was not able to run it without password configured.
-
-
NeoShow about 7 yearsMy 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.
-
Max Coplan over 5 yearsDoes this still work? It seems to have some problems