Ok, so I think I've figured this one out.

The problem is that the /usr/bin/xdg-screensaver script does detect the 
desktop-environment (in our case: "xfce"), but when checking for it in 
"perform_action" there's actually no case that matches xfce, so it never does 
anything if it detects xfce.
This was previously not noted because we used xscreensaver, which has a special 
case built in.

There is one easy workaround: replace the '' in line 435 with 'xfce' and
it should work.

The desired patch is probably adding a special case for light-locker
just as there's one for xscreensaver and gnome-screensaver, cause it
could also be used in other DEs.


However, there is one big caveat: the script in its current form always sets 
the screensaver timeout to the system default value of "600" (i.e. 10minutes). 
So the feature of remembering the timeout and re-setting it correctly on 
"resume" would have to be added in a second step.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309744

Title:
  Light Locker blanks the screen when playing video

To manage notifications about this bug go to:
https://bugs.launchpad.net/parole/+bug/1309744/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to