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

mate-settings-daemon should be compatible with light-locker #329

Open
N0rbert opened this issue Jul 30, 2020 · 0 comments
Open

mate-settings-daemon should be compatible with light-locker #329

N0rbert opened this issue Jul 30, 2020 · 0 comments

Comments

@N0rbert
Copy link

N0rbert commented Jul 30, 2020

Background:
some users (as from https://askubuntu.com/q/1263287/66509 ) do not want to use mate-screensaver, but want to use light-locker instead.

Expected behaviour

  • light-locker is executed, screen is locked

Actual behaviour

  • error window is shown with the following text:

"
Couldn't execute command: xscreensaver-command -lock
Verify that this is a valid command.
"

This happens because of the fact that mate-settings-daemon does not know anything about light-locker.

Steps to reproduce the behaviour

  1. Remove MATE ScreenSaver with
sudo apt-get purge mate-screensaver
sudo apt-get autoremove --purge
  1. Install LightDM based screenlocker install the corresponding package with:
sudo apt-get install light-locker
  1. Press <Ctrl>+<Alt>+<L> to test light-locker functionality

Workaround

Use some kind of hack:

cat <<EOF | sudo tee /usr/local/bin/xscreensaver-command
#!/bin/bash
light-locker-command -l
EOF
sudo chmod a+x /usr/local/bin/xscreensaver-command

to introduce the missed xscreensaver-command command.

MATE general version

1.24.0

Package version

1.24.0-1

Linux Distribution

Ubuntu MATE 20.04 LTS

Link to downstream report of your Distribution

https://pad.lv/1889632

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

No branches or pull requests

1 participant