Merge lp:~cameronnemo/switchboard-plug-security-privacy/light-locker into lp:~elementary-apps/switchboard-plug-security-privacy/trunk
Status: | Merged |
---|---|
Merged at revision: | 137 |
Proposed branch: | lp:~cameronnemo/switchboard-plug-security-privacy/light-locker |
Merge into: | lp:~elementary-apps/switchboard-plug-security-privacy/trunk |
Diff against target: |
202 lines (+69/-81) 2 files modified
debian/control (+1/-0) src/LockPanel.vala (+68/-81) |
To merge this branch: | bzr merge lp:~cameronnemo/switchboard-plug-security-privacy/light-locker |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
elementary Apps team | Pending | ||
Review via email: mp+242584@code.launchpad.net |
Description of the change
This is the branch to transition the security and privacy settings plug to light locker.
Three things here:
1) We need to import this light-locker branch for the lock-on-suspend setting to work: https:/
2) The solution to the inactivity timeout is not exactly pretty. Unfortunately the main alternatives involve significant work in upstream software / big patches that software. That said, it works pretty reliably and I do not think it is significantly error prone.
3) The phrasing for "Lock screen after: Never" is a little awk. Also, I am not sure if the text is made longer that the nice alignment with the median at the center will be preserved. I am not too experienced with all those Gtk widgets, sorry.
I am hoping for some suggestions on that last one.
Anyway, basic synopsis of what it does is it uses Light Locker's gsettings schema vs. the gnome-screensaver one for lock on suspend. It also has a custom gsettings schema and a small script for inactivity timeouts through xautolock. Since we can not change the timeout on the fly, the plug kills the running xautolock process and starts a new one.
Unfortunately I will be on a scuba trip until wednesday night, so if there is some small issue feel free to work on it. You are even welcome to assign the bug to yourself and grab the bounty; I would much rather prefer coming closer to an rc than the $50.
Thanks for reviewing, Cameron Norman.
carl wrote:
>So if I follow you, you recommend to use light-locker. Which is also a solution for the "turn off the screen after x" feature that doesn't work at the moment, if this has to be believed: https:/ /bugs.launchpad .net/switchboar d-plug- power/+ bug/1373602/ comments/ 4
Well we have already settled on light-locker, but that component does not actually turn off the screen after a timeout. The xautolock process is locking the screen after a timeout specified in the dconf key org.pantheon. xautolock timeout. As a side effect, the screen is being shut off at that same timeout.