3

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
  • 261
  • 11
mvpasamon
  • 31
  • 1
  • 2

2 Answers2

0

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
  • 110,292
  • 102
  • 269
  • 299
User1986
  • 261
  • 11
  • Thanks for your answer. – mvpasamon Jan 27 '23 at 17:36
  • Thanks for your answer. I tried screen-sharing feature (you were right, it is a little bit hidden). It seems it is made for sharing your desktop through a remote desktop client (remmina) and for sharing your media files through dlna client-server. This is not what I need. I would like use my chromecast as a screen mirroring (It worked fine in older ubuntu versions using cast screen choice of chrome). VLC is not a choice in my case. I tried the renderer choice for casting only the video I'm watching and it does not work either. I don't know why. I'm still looking for a solution. Thx. – mvpasamon Jan 27 '23 at 17:43
0

Try disabling Wayland. https://linuxconfig.org/how-to-enable-disable-wayland-on-ubuntu-22-04-desktop Starting with $ sudo nano /etc/gdm3/custom.conf in a terminal window. The first link has it all so no need to repeat parts of it. It worked for me.

  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - [From Review](/review/late-answers/1291262) – David Apr 06 '23 at 16:01