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

Dbus Screen shot Test for linux #239

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

crizzitello
Copy link
Contributor

@crizzitello crizzitello commented Oct 3, 2023

Begin: #240

Modify Capture Window to use dbus when the command is DBUS or DBUS_INTERACTIVE

  • Attempt to use the xdg.freedesktop.portal.Desktop to get screen shots.
    1. To use DBus Capture you must set the Capture Window Command to DBUS only work on linux.
    2. To use Dbus with interactive flag set the Capture Window Command to DBUS_INTERACTIVE

This only applies to linux and will be need if you run in a sand box and eventually for proper wayland support.

Another option that maybe more useful to use is to use spectacle in dbus mode , this would require the user install and setup spectacle for dbus mode

Could try to use org.kde.KWin.ScreenShot2 also but that might only work on kde sesisons (but does allow for the capture modes we use and want)

@crizzitello crizzitello force-pushed the dbusScreenShotLinux branch 2 times, most recently from ca53c53 to acfa8b5 Compare October 3, 2023 19:44
@crizzitello crizzitello marked this pull request as draft October 3, 2023 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant