I installed Ubuntu on my new laptop and I need to connect it to a Samsung LED TV.
When I was in Windows 10 I was able to connect to my TV by just pressing the combination of Windows+K. Then it would automatically connect to it. I can't connect now.
- Dell Inspiron 15 3552
- Ubuntu 16.04 LTS
For the wireless projection You will need miraclecast to cast your screen over using the wireless display technology. To install miracle cast in Ubuntu via PPA:
If the
apt update
fails, it might be because currently, this ppa has no Releases file. With current versions of apt, this blocks theapt update
because the ppa is not secure enough. To sidestep this, we can disable this check for this repo. This is an insecure thing to do. Bad actors with access to the PPA could publish malicious code there without having access to the release file signing key. Try at your own risk:To the first line of this file, add the
[allow-insecure=yes]
part:Save the file, try the steps above again, from 'sudo apt update'.
To start casting
Shutdown
wpa_supplicant
and NetworkManager:Launch wifi daemon:
Now run miraclecast as a peer (peer is your device that is casting its screen to the TV):
Launch wifi control:
this should give you the miraclecast CLI and a link number. select the link with
select link
Enable wifi-direct visibility on the other device (if possible)
From the CLI locate the TV using:
you get something like
ie the mac address
Then from the CLI initiate connection:
the pin could be the pin of the tv
Also look at the answers to How can i connect ubuntu 17.10 to my LG Smart TV
The miraclecast project page is also here on GitHub.
If you can update to Ubuntu 21.04, there's Gnome-network-displays (available through the Flatpak system) which works reasonably well.