Skip to content

Re-run display-setup-script on resume from sleep - #489

Open
Franklin-Qi wants to merge 1 commit into
ubuntu:mainfrom
Franklin-Qi:fix/428-display-setup-on-resume
Open

Franklin-Qi wants to merge 1 commit into
ubuntu:mainfrom
Franklin-Qi:fix/428-display-setup-on-resume

Conversation

@Franklin-Qi

Copy link
Copy Markdown

Suspend/resume resets display settings such as DPMS; listen for logind PrepareForSleep and re-run the seat script so greeter setup applies again.

Closes: #428

Suspend/resume resets display settings such as DPMS; listen for logind
PrepareForSleep and re-run the seat script so greeter setup applies again.
@jpeisach

Copy link
Copy Markdown
Collaborator

Well, there is:

  • setup
  • resume
  • shutdown

What if the setup contains code that should not be executed again?

I think it might be better to provide another script (display-resume-script) instead, and possibly prevent a regression.

But it very well may be unnecessary, so some feedback would be good on this from others

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

display-setup-script does not execute on resume from sleep

2 participants