Code Monkey home page Code Monkey logo

Comments (5)

creativecreatorormaybenot avatar creativecreatorormaybenot commented on September 23, 2024 3

@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.

dvirberlo avatar dvirberlo commented on September 23, 2024

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.

0Franky avatar 0Franky commented on September 23, 2024

any update?

from wakelock.

Areopagitics avatar Areopagitics commented on September 23, 2024

Looking forward to this as well

from wakelock.

creativecreatorormaybenot avatar creativecreatorormaybenot commented on September 23, 2024

I will soon discontinue this repository. Please use wakelock_plus: ^1.1.6 instead.

from wakelock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.