Second Brain: Crafted, Curated, Connected, Compounded on 10月07日
Linux Wayland下避免屏幕共享双重提示的解决方案
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

本文介绍了在Linux Wayland环境下,避免屏幕共享时出现双重提示的方法,包括临时解决方案和永久解决方案,适用于Google Meet、Zoom等浏览器运行的应用。

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:

    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 :

12345
screencopy {allow_token_by_default = true}  

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

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

Linux Wayland 屏幕共享 双重提示 解决方案
相关文章