Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add setting for lid open/close actions #306

Merged
merged 1 commit into from Aug 5, 2015
Merged

Add setting for lid open/close actions #306

merged 1 commit into from Aug 5, 2015

Conversation

spiiroin
Copy link
Contributor

@spiiroin spiiroin commented Aug 4, 2015

No description provided.

The actions taken when lid sensor indicates that cover is closed or opened
are hard coded without any possibility for users to tweak the behavior.

Add settings for tweaking of actions to taken when cover is closed:
  * disabled - do nothing
  * blank    - just turn off the display
  * tklock   - turn off display and activate lockscreen

Default is 'tklock' and can be changed via:
  mcetool --set-lid-close-actions=<disabled|blank|tklock>


Add settings for tweaking of actions to taken when cover is opened:
  * disabled - do nothing
  * unblank  - just turn on the display
  * tkunlock - turn on display and deactivate lockscreen (if possible)

Default is 'unblank' and can be changed via:
  mcetool --set-lid-open-actions=<disabled|unblank|tkunlock>

The values of the settings persists over mce / device restarts.
spiiroin added a commit that referenced this pull request Aug 5, 2015
Add setting for lid open/close actions
@spiiroin spiiroin merged commit 88566f7 into nemomobile:master Aug 5, 2015
@spiiroin spiiroin deleted the mer1202_lid_actions branch August 5, 2015 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant