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

Lock Screen option #32

Closed
prokoudine opened this issue Aug 9, 2022 · 5 comments · Fixed by #78
Closed

Lock Screen option #32

prokoudine opened this issue Aug 9, 2022 · 5 comments · Fixed by #78
Assignees
Labels
enhancement New feature or request

Comments

@prokoudine
Copy link
Contributor

Personally, I find it convenient to have the screen locked for the duration of the break time (GNOME Pomodoro has this option) to get me out of the desk. The lock could be bypassed, but it would be an extra action.

Do you think it's something you would want to implement?

@Diego-Ivan
Copy link
Owner

Hello, thanks for your suggestion! I think it is a good idea, but Flowtime is limited as it is distributed as a Flatpak, and AFAIK there is no way to activate the screensaver. If a screensaver portal comes to existence, I will definitely implement this feature.

@prokoudine
Copy link
Contributor Author

Wait, method name='SetActive' from https://github.com/flatpak/ppa-xdg-desktop-portal-gtk/blob/ppa/focal/data/org.freedesktop.ScreenSaver.xml is not what you need?

@Diego-Ivan
Copy link
Owner

Thanks! I will take a look into it

@Diego-Ivan Diego-Ivan self-assigned this Dec 16, 2022
@Diego-Ivan Diego-Ivan added the enhancement New feature or request label Dec 16, 2022
@sophie-h
Copy link

sophie-h commented Oct 7, 2023

is not what you need?

This is not the documentation of a flatpak portal but a DBus API used by the portal implementation.

It would probably work if you break through the sandbox with something like --talk-name=org.freedesktop.ScreenSaver

@Diego-Ivan Diego-Ivan linked a pull request Oct 15, 2023 that will close this issue
@Diego-Ivan
Copy link
Owner

@prokoudine This feature will finally land in 6.0 🥳. Thanks @sophie-h for the hint I needed for quite some time 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants