This is the solution to avoid double prompt when screen sharing on Linux with Wayland. This works for Google Meet, Zoom, Teams and other that run in the browser.
# What happens: The Problem
When I screen share on Arch Linux with Omarchy I always get the system prompt twice:%20with%20Chrome_1759820719209.webp)
and then after I choose this i get this windohttps://www.ssp.sh/brain/img_Screen%20Sharing%20on%20Wayland%20(hyprland)%20with%20Chrome_1759820750615.webp1759820750615.webp">
When I click “share”, the dialog at number 2https://www.ssp.sh/brain/img_Screen%20Sharing%20on%20Wayland%20(hyprland)%20with%20Chrome_1759820795892.webp)%20with%20Chrome_1759820795892.webp">
I learned that it does not matter, what I choose in 2. it does not matter. Only what I choose in the second time.
Also, windows (applications) such as Obsidian work as well. BUT remember to choose in the second pick!! (3.)
# Work arounds
I found, that when I choose Allow a restore token - it will remember my first choice and I only need to choose once. But again, then I need to always rememhttps://www.ssp.sh/brain/img_Screen%20Sharing%20on%20Wayland%20(hyprland)%20with%20Chrome_1759820915347.webpayland%20(hyprland)%20with%20Chrome_1759820915347.webp">
# Permanent Solution
Make it permanent:
Create file or add in ~/.config/hypr/xdph.conf :
| |
and reboot. This will automatically tick https://www.ssp.sh/brain/img_Screen%20Sharing%20on%20Wayland%20(hyprland)%20with%20Chrome_1759824337314.webp20Sharing%20on%20Wayland%20(hyprland)%20with%20Chrome_1759824337314.webp">
Check in the end https://wiki.hyprland.org/Hypr-Ecosystem/xdg-desktop-portal-hyprland/. This solutions was found on Reddit.
Origin: My Tuxedo InfinityBook 14 AMD
References: Arch Linux
Created 2025-10-07
