Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • xfce4-session xfce4-session
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 79
    • Issues 79
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xfce
  • xfce4-sessionxfce4-session
  • Issues
  • #29
Closed
Open
Created Jan 31, 2015 by Bugzilla Migration@bugzilla-migration

xflock4 does not turn off screen due to lack of sleep

Submitted by Chris Bainbridge

Assigned to Simon Steinbeiß @ochosi

Link to original bug (#11491)

Description

As noted at http://www.shallowsky.com/linux/x-screen-blanking.html calls to "xset dpms" need to be prefixed with "sleep 1":

will blank the screen (or activate the screensaver program, if you're using
one) after a delay of one second. You need the delay because X gets a little
confused about the order of events; it will blank the screen but immediate
un-blank it, thinking the activity of your typing the command happened
recently enough to come out of screensaver mode.

sleep 1; xset dpms force off

will turn the screen OFF after a delay of one second. You can also use
standby, suspend, or on instead of off.

Downstream bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776674

Version: 4.10.1

Assignee
Assign to
Time tracking