Comments (5)
@0Franky There is an open PR that attempts at adding Linux support (#186). I will try to look at it soon.
In the meantime, you can try checking out that branch manually and using the linux support from that branch.
from wakelock.
Not an expert in linux dev, but maybe dart dbus plugin can be used for it:
https://pub.dev/packages/dbus
wiith it then, disable (or enable) org.freedesktop.ScreenSaver.Inhibit
.
(https://stackoverflow.com/questions/31498114/how-to-programmatically-prevent-linux-computer-from-sleeping-or-turning-on-scree).
The org.freedesktop...
should work on any DE that implements it (should work on GNOME as well as on KDE, for example), but it need to be checked.
I currently don't have access to a linux machine, so maybe one can try to implement it and check if it work on some major linxu distros.
anyway, great work!
from wakelock.
any update?
from wakelock.
Looking forward to this as well
from wakelock.
I will soon discontinue this repository. Please use wakelock_plus: ^1.1.6 instead.
from wakelock.
Related Issues (20)
- Feature request: Dim screen (but keep it on) HOT 1
- Wakelock doesn't work at the latest version of flutter HOT 19
- App terminated by iOS while wakelocked HOT 5
- Still alive? HOT 2
- Wakelock is incompatible with device_info_plus: ^9.0.2 HOT 3
- Package incompatibility! win32 ^3.0.0 HOT 2
- 'Flutter/Flutter.h' file not found in IOS HOT 2
- increase android target API to 33 HOT 1
- duplicate: may be deleted
- An ios NSRangeException error may be caused by wakelock HOT 1
- The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. HOT 1
- Address privacy manifest requirement HOT 1
- Incompatible with package_info_plus 6.0.0 HOT 2
- Partial wakelock android support HOT 1
- Need add Privacy manifest files HOT 1
- PlatformException HOT 1
- PlatformException HOT 1
- Discontinuation
- Discontinuation addition HOT 2
- Wakelock.enable seem not working
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 wakelock.