Screen sharing in browser (firefox, chrome, etc) under Ubuntu 22.04/ 24.04 Wayland

haRies Efrika
1 min readDec 2, 2024

--

Congratulations on installing or upgrading your Linux to Ubuntu 22/24.04, yayyyy.. but hold on. Your share screen no longer works šŸ˜†

I did not really have any issue with my previous version of Ubuntu 20.04 though. But I needed new Ubuntu so I can experiment with generative AI due to the libraries required are there, including python3.10, out of the box. The upgrade was not smooth, in middle of upgrade the screen turns black. I immediately switch to emergency console (ctrl-alt-F3), kill current upgrade processes and continue whatever was left. Eventually it made to successful upgrade.

It came to my surprise during office meeting, I was not able to share application, or entire screen. Not in firefox, not in chromium. I will save your time for searching solution in google, since it also took me a while to find permanent solution.

  • No, downgrading to Xorg is not the solution. It didnā€™t work for me (blank screen)
  • No, enabling WebRTC pipewire didnā€™t work either. I didnā€™t even find the exact config on the browser.

Hereā€™s what you only need to do. Your default installation currently lacks two components:

sudo apt install xdg-desktop-portal xdg-desktop-portal-gnome

Yup. Restart your PC, and then let it be browser, slack, zoom or other applications, the XDG panel will show up when you choose share screen and will do the job for you.

Happy Ubuntu šŸ» !

--

--

No responses yet