Samsung TV "Mirror Screen"

89,266

Solution 1

By 2020, it's possible to do Screen Mirroring on a Samsung Smart TV as Wireless Display, without any HDMI cable (I use it every day, Samsung TV UN40J5500, with Ubuntu 20.04). The simplest way to do it, in my opinion, is to install gnome-network-displays via flatpak.

  1. Download .flatpakref from Flathub: https://flathub.org/apps/details/org.gnome.NetworkDisplays
  2. Install: flatpak install org.gnome.NetworkDisplays.flatpakref
  3. Run: flatpak run org.gnome.NetworkDisplays
  4. Select TV to display gnome network displays for samsung smart tv
  5. Should start streaming screen to TV.

Important: check that your audio is working on TV. In my case, I need to use PulseAudio Volume Manager.

  1. Install: sudo apt install pavucontrol
  2. Run: pavucontrol
  3. Select: Output Devices -> Show: Virtual Output Devices -> Set Fallback.

pavucontrol Virtual Output Device

Finally, if your TV is not located or if screen is suddently frozen, this is what I do:

  1. close gnome-network-displays (if open)
  2. stop: systemctl stop NetworkManager.service
  3. stop: systemctl stop wpa_supplicant.service
  4. start: systemctl start NetworkManager.service
  5. start: systemctl start wpa_supplicant.service

Then, I re-open the network displays and it goes back to work.

My experience with Wireless Displays is usually very good, I manage to watch movies with audio in perfect sync. Just for extra information, I use 5GHz Wifi (maybe it helps...) on router Archer C60, and my CPU is Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz (not very new but works fine).

For extra information, it's nice to visit the project repository: https://gitlab.gnome.org/GNOME/gnome-network-displays

Another project that "partially worked" for me was MiracleCast (at least for TV discovery and motivation to know if it COULD work possibly on linux...). I don't think it's complete yet (see Open Issue), but it's another possible alternative for the future: https://github.com/albfan/miraclecast/issues/4

Good luck!

https://gitlab.gnome.org/GNOME/gnome-network-displays

Solution 2

Google Chromecast is likely the best and cheapest option for mirroring your Ubuntu desktop to your TV. Here is a short youtube video.

For setting up in Ubuntu 16.04 there are other users to help out if you have a problem: Google cast on Ubuntu 16.04

Note there is a now a version 2, an ultra option and even an Ethernet option.

The cost (without options) is reasonable around $35 USD.

Although this is the recommended option for the OP, check your TV model first before buying a Google Chromecast. It could very well be your TV already has it built in. Also check your blu-ray player as some of them have Google Chromecast already built in too.

Image:

IMG:

Google cast extension has been discontinued, now is integrated into Chrome/Chromium:

screenshot

Solution 3

This is my work-around, not a real solution.

The laptop gets connected to the TV via a short cable.

I use a wireless keyboard (inclusive touch-pad) to control the laptop.

Share:
89,266

Related videos on Youtube

guettli
Author by

guettli

http://thomas-guettler.de/ Working out loud: https://github.com/guettli/wol

Updated on September 18, 2022

Comments

  • guettli
    guettli over 1 year

    I would like to show the screen of my Ubuntu laptop on a Samsung TV.

    The TV has a menu entry called "mirror screen".

    But up to now I found no way to get it working.

    I need a wireless way to us the TV as monitor.

    Any hints?

    Exact hardware version: Samsung SmartTV UE55J6250

    If it is not possible via software am willing to buy some hardware.

  • Robert Riedl
    Robert Riedl about 6 years
    @guettli AFAIK this will "only" allow you to cast the contents of Google Chrome. If you want to stream videos, you might want to give UPNP/DNLA a try. No additional hardware needed !
  • Sun Bear
    Sun Bear over 5 years
    "Google Cast" extension no longer exist in the Chrome Web Store: This extension has been discontinued. Learn more What is the new/alternative solution?
  • Sun Bear
    Sun Bear over 5 years
    Thanks for updating your answer. The Cast button works but I got the "No Cast destinations found. Need help?" message. According to Step 3 in ChromeCast Help, it states It is compatible with both 2.4 GHz WiFi 802.11 b/g/n WiFi networks and 5 GHz networks. If the SmartTV and Ubuntu 16.04 Workstation is connected to the network via LAN (not wifi), can ChromeCast still work? The Workstation is able to ping the Samsung SmartTV. I am able to ChromeCast to the SmartTV using a mobile phone.
  • WinEunuuchs2Unix
    WinEunuuchs2Unix over 5 years
    @SunBear We need to thank Pablo for the edit. The concept of Chromecast is wireless connections. For wired connection HDMI is the preference and I use a 25 foot cable to laptop. There probably are Ethernet LAN broadcasting apps but I don't recall reading about any.
  • Sun Bear
    Sun Bear over 5 years
    @PabloBianchi Thank you for updating this answer. WinEunuuchs2Unix, I have tried using another Workstation that is connected to the network via wireless 5GHz to ChromeCast to the same SmartTV. However, I still get "No Cast destinations found. Need help?" message. What should I do next?
  • Sun Bear
    Sun Bear over 5 years
    According to Chromecast, Linux is not an officially supported OS. In addition, its online staff had adviced me that Linux user should be mindful that there is no guarantee that Chromecast will work with Linux OS and there isn't a compatibility roadmap for Linux.
  • Whoami
    Whoami over 4 years
    Clever approach!! :)
  • guettli
    guettli over 4 years
    @Whoami it took me days to find this work-around. A laughed about my blindness, that it took so long find a simple solution to this.
  • Whoami
    Whoami over 4 years
    Worthy work-around :)
  • Jochen Gebsattel
    Jochen Gebsattel about 4 years
    The only real solution at the moment...!
  • Crusader
    Crusader almost 4 years
    For me chromecast works ONLY in youtube, and it is meaningless, because I can open youtube on TV directly.
  • Hans Deragon
    Hans Deragon over 3 years
    I confirm @Crusader's observation. With Ubuntu 20.04 and Chrome 85, I can only mirror a tab if is on YouTube from the Chrome browser to my Samsung SmartTv. Any other tab or desktop will not work. VLC and Firefox will not work. There is definitively something proprietary going on.
  • igormcoelho
    igormcoelho over 3 years
    An alternative to the wireless keyboard is just using Android smartphone and install "kdeconnect" to Ubuntu (same same on Android app). Just sudo apt install kdeconnect, then execute kdeconnect-cli, Android app should find computer if on same network/wifi and you can move cursor/touchpad on screen.
  • tim.rohrer
    tim.rohrer over 3 years
    Unfortunately, this answer doesn't set the user use multi-view with Samsung TVs.
  • tim.rohrer
    tim.rohrer over 3 years
    Trying to make this work with a Samsung Q80T, but so far I get errors starting "screencasting portal". I'm going to the project site, but curious if you can explain what that means?
  • guettli
    guettli over 3 years
    @tim.rohrer sorry, I don't understand the sentence you wrote.
  • tim.rohrer
    tim.rohrer over 3 years
    My apologies. set=let. In my mind, the main reason for wanting to share to a TV is so multi-view or PIP can be used. For example, Samsung TVs will let you display TV channels (and other inputs) if one of the inputs is WiFi-based sharing (i.e., computer monitor sharing). However, they won't let you display two inputs (generally) if they're both wired.
  • Abdu
    Abdu over 3 years
    it worked for me but it's slow and not practical (there is a delay of few second which make it impossible to use the tv as a work monitor, it could be used for streaming movie from pc). It probably needs to first connect your pc bluetooth with the tv one to get autorisations.
  • igormcoelho
    igormcoelho about 3 years
    @tim.rohrer I don't know much about the project itself, but the list of TVs which are "tested" seems to be quite small indeed. It worked for my TV, but it's hard to say which model will work or not... maybe you can find more info here: gitlab.gnome.org/GNOME/gnome-network-displays
  • igormcoelho
    igormcoelho about 3 years
    @Abdu I completely agree with you, it's slow. Like you said, my use-case was for watching movies, so it worked, but for real-time interaction it would be hard. It has some delay of 1-2 seconds, that's why I emphasized that audio should also be in sync with TV, otherwise movies wouldn't work as well. I don't know what causes this delay, or if this could be prevented somehow, does it also happen with Chromecast?
  • Admin
    Admin almost 2 years
    Nowadays it can also share the full screen, just select it in sources before selecting the destination device. At least with Ubuntu 22.04 and chrome 103.0.5060.114