Git Product home page Git Product logo

Comments (8)

codingwaysarg avatar codingwaysarg commented on May 23, 2024

If you could give me a hint, I'll gladly submit a pull request

from howdy.

boltgolt avatar boltgolt commented on May 23, 2024

Sorry for not replying, i was looking for a semi-reliable way to dismiss the lockscreen. The branch i just merged should add this if you flip the right config option to true.

from howdy.

codingwaysarg avatar codingwaysarg commented on May 23, 2024

Hi! Thanks for fast reply. I've tested the code with variable set to true. It's not working for me, more precisely I'm using Ubuntu 17.10 with gdm.

Thanks.

from howdy.

boltgolt avatar boltgolt commented on May 23, 2024

What happens if you run sudo loginctl lock-sessions --no-ask-password && sleep 10 && sudo timeout 1 loginctl unlock-sessions --no-ask-password? For me this locks the screen, runs howdy and dismisses the lockscreen after 10 seconds.

from howdy.

codingwaysarg avatar codingwaysarg commented on May 23, 2024

If I run it in a new terminal it simply run howdy (because of sudo in the command), identify my face and then a fast blink in the screen happens, nothing else. If I run the command again, then it don't run howdy (because already identified), lock the screen and after 10 seconds unlock the screen.

from howdy.

boltgolt avatar boltgolt commented on May 23, 2024

That's weird, that it does actually work when using the command in a shell. Are you 100% sure that it is enabled in the right config file?

from howdy.

codingwaysarg avatar codingwaysarg commented on May 23, 2024

Sorry, your command is working ok, the fast blink is because already enabled dismiss option on config, so right after sudo loginctl lock-sessions --no-ask-password and howdy identifies me, sudo timeout 1 loginctl unlock-sessions --no-ask-password executes.

It's weird that it's not working when I reboot the pc, maybe longer timeout?

from howdy.

boltgolt avatar boltgolt commented on May 23, 2024

I'm not 100% sure why it fails sometimes, and i can't reproduce the fail conditions after i have one. It's a bit temperamental. I've marked it as experimental in the config and it should be seen as such for now.

If you do see some pattern in the failures, please let me know.

from howdy.

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.