Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wayland非KDE/Gnome环境下的截图 #2949

Closed
L-Trump opened this issue May 18, 2024 · 1 comment
Closed

Wayland非KDE/Gnome环境下的截图 #2949

L-Trump opened this issue May 18, 2024 · 1 comment

Comments

@L-Trump
Copy link

L-Trump commented May 18, 2024

功能描述

目前使用的是Sway,日志如下:

[2024-05-18 18:03:02.970] [I] Snip request: 0 (dest: 0)
[2024-05-18 18:03:02.970] [I] Snipper: preparing...
[2024-05-18 18:03:02.970] [I] Desktop: QRect(0, 0, 3730 x 1234)
[2024-05-18 18:03:02.970] [I] Screenshot source: org.gnome.Shell.Screenshot
[2024-05-18 18:03:02.970] [W] DBus call to screenshot failed: The name is not activatable

看起来在XDG_CURRENT_DESKTOP不是gnome/kde的情况下会默认尝试用gnome的截图。想问一下有没有考虑支持XDG Desktop Portal的接口(org.freedesktop.impl.portal.Screenshot),这样在非主流环境下用户可以自行配置支持portal的后台(如xdg-desktop-portal-wlr)实现截图

@liulex liulex added the bug label May 18, 2024
@liulex
Copy link
Member

liulex commented May 19, 2024

谢谢反馈!下个版本会修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants