Same as in #4, but using a more pythonic way. 2 remarks: 1) One could easily sync the 'Lock screen when going for suspend/hibernate' setting of xfpm with the enable/disable light-locker setting (or even the lock screen setting in the session settings). However this would be a one way sync, since disabling it in xfpm would not disable light-locker. 2) Xfpm seems to have a very weird bug in that way, that changes made via xfconf are applied, but not reflected by the xfpm ui, unless one had used the ui to changes those settings before. E.g. if one never used the sliders to change dpms timings and one changes the timings via xfconf, xfpm applies the changes but does not adapt its ui to the changes.
** Attachment added: "xfpmsync.py" https://bugs.launchpad.net/ubuntu/+source/light-locker-settings/+bug/1290737/+attachment/4030420/+files/xfpmsync.py ** Attachment removed: "light-locker-settings.py" https://bugs.launchpad.net/ubuntu/+source/light-locker-settings/+bug/1290737/+attachment/4021886/+files/light-locker-settings.py ** Attachment removed: "xfpmsync.py" https://bugs.launchpad.net/ubuntu/+source/light-locker-settings/+bug/1290737/+attachment/4022213/+files/xfpmsync.py ** Attachment removed: "xfpmsync.py (obsolete, use from #4)" https://bugs.launchpad.net/ubuntu/+source/light-locker-settings/+bug/1290737/+attachment/4021885/+files/xfpmsync.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1290737 Title: Switch off (dpms) time maybe overwritten by xfce power manager To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/light-locker-settings/+bug/1290737/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
