11

I recently updated my Ubuntu version to 22.04, and I would like to cast my desktop to Chromecast.

I tried the following things:

  1. With Google Chrome I'm able to cast a browser tab. Sound and image works nice.
  2. When you try to share desktop, I can see the image properly, but sound does not work.
  3. I tried to use from GNOME desktop "Cast to TV" extension, but it seems it doesn't work with this Ubuntu version.
  4. I tried with mkchromecast. After trying several commands, I only could cast image from my desktop. I couldn't cast the sound.

Has anyone faced the same issue? Does anyone with Ubuntu 22.04 have any alternative working method for casting desktop?

User1986
  • 371
mvpasamon
  • 111

3 Answers3

6

You can use GNOME Network Displays, from link -- https://flathub.org/apps/org.gnome.NetworkDisplays

Rahul Junwal
  • 61
  • 1
  • 2
1

Have you tried using the built-in Ubuntu screen-sharing feature? It's a little hidden, but it's there. Go to the settings, look for "Sharing" and give it a shot. If that doesn't work, you can always try using VLC to stream your desktop. It's a bit more complicated, but it will get the job done. Just follow the instructions on their website, and you'll be good to go.

karel
  • 122,292
  • 133
  • 301
  • 332
User1986
  • 371
1

Try disabling Wayland by following the instructions in How to enable/disable wayland on Ubuntu 22.04 Desktop, which I'll highlight below:

  1. Edit the /etc/gdm3/custom.conf with your favorite text editor (I'll use nano):

    nano /etc/gdm3/custom.conf
    
  2. Look for the line that says #WaylandEnable=false and uncomment it so that it looks as:

    WaylandEnable=false
    
  3. Save the file and exit. In nano press Ctrl+O followed by Ctrl+X.

  4. Restart GDM3 by running this command:

    sudo systemctl restart gdm3
    

    or reboot your system for the changes to take effect.

  5. Login to Ubuntu 22.04 using Xorg by clicking on the gear button and selecting the Ubuntu on Xorg option before you login.