trying to fix
This commit is contained in:
parent
fa407dfeb6
commit
e013d7569e
22945 changed files with 447936 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
<!-- SC_OFF --><div class="md"><p>I am working on a pinephone and using light-gtk-greeter. I am trying to make the power button act like it would on an Android or iPhone. If the session is unlocked, press the power button to lock session and turn off display. If the display is off and the button is pressed, turn display on. When the display is off the touchscreen should also be disabled so as not to have the screen pressed while in your pocket. I can use <code>xset -display :0.0 dpms force off</code> when the phone is unlocked. However when I am on the light-gtk-greeter screen the xset command won't work. I think it may have something to do with the greeter being owned by lightdm, I'm not sure.</p> <p>How can I interact with the display while on the greeter screen?</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/knownothing58"> /u/knownothing58 </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/r60pjy/how_does_one_turn_display_on_and_off_with_dpms_in/">[link]</a></span>   <span><a href="https://www.reddit.com/r/archlinux/comments/r60pjy/how_does_one_turn_display_on_and_off_with_dpms_in/">[comments]</a></span>
|
Loading…
Add table
Add a link
Reference in a new issue