Comments (4)
We can use a fix similar to this: elementary/greeter#472
from time-limit.
@vjr I tried to implement your hibernation support logic into my Time Limit app, but for some reason the callback is not fired. Do you have any idea why this does not seem to work? Would be awesome if you can point me into the right direction :)
https://github.com/marbetschar/time-limit/compare/bugfix/hibernation-support
from time-limit.
Hi! I'm not too familiar with this but can you try sleep (suspend to RAM) instead of hibernate (suspend to disk) and see if that works? The freedesktop docs say the PrepareForSleep
signal is supposed to trigger for both modes but it's worth a try?
from time-limit.
@vjr thanks for your quick response! I made an error and wrongly named the DBus interface org.freedesktop.login1.LoginManager
instead of org.freedesktop.login1.Manager
. After correcting this, your code proposal magically started to work! Thank you so much for pointing me towards to the freedesktop specs!
from time-limit.
Related Issues (20)
- Change the alert sound for Time Limit? HOT 5
- Ditch LibUnity in favor of Granite.Services.Application
- Add support for dark mode (Odin) HOT 4
- Transparency on gnome HOT 4
- Appstream validate fails
- Respect system buttons corner
- Doubled fast time ticking HOT 2
- Odin: Hibernation Support Broken HOT 1
- Flatpak HOT 1
- Package as Flatpak for elementary OS 6 HOT 1
- Add your stripe key to appdata
- [Feature request] Scroll to set time
- [Feature request] Open more than 1 instance
- Usability problem, close "button" is too small HOT 1
- Feature request: Add pomodoro, 25 minutes button
- Remove AccountsService permission HOT 1
- Remove GNOME Settings Daemon HOT 1
- Use libportal to monitor session state changes
- [Feature request] [Illustrated] Precision and options with multiple rotations HOT 2
- [Feature request] Pin to top HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from time-limit.