Skip to content

Display tun on, on right Mouse Button and Parameter --turn-screen-off #618

Closed

Description

@Bratmaxe1981

Hi.

thanks for adding the turn-screen-off parameter.
it works, but if the screen get to sleep, I have to klick on the right mouse button du activate it again.
But if I do this, the screen on the phone also wake up.
Is it possible to send the the go to sleep command every time the screen turn on (or every 15 Secondes / every minute) and the USB cabel is connected and the parameter ist active?
If you deaktivate the Power button it may happen, that you get locked out of your own phone.

Thanks

Activity

  1. rom1v commented on Jun 24, 2019

    @rom1v
    Collaborator

    it works, but if the screen get to sleep, I have to klick on the right mouse button du activate it again.
    But if I do this, the screen on the phone also wake up.

    Yes, this is the Android behavior: #175 (comment).

    Is it possible to send the the go to sleep command every time the screen turn on (or every 15 Secondes / every minute) and the USB cabel is connected and the parameter ist active?

    Too hacky. --turn-screen-off is just an option to turn it off on start. If you execute actions to turn it on (like the power button), you can stlil turn it off again using Ctrl+o.

  2. Bratmaxe1981 commented on Jun 24, 2019

    @Bratmaxe1981
    Author

    okay thanks, I'll use the CTRL+o funktion..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions