Skip to content

Conversation

@leofidus
Copy link

This adds additional default commands, taken from the xflock4 version shipped by Ubuntu (which contains more command than xfce's version). Additionally, I've added physlock as a last-resort fallback.

In my testing the order seems to be relevant, since XUbuntu 22.04 ships with a xdg-screensaver version that doesn't support the lock option (you get an error message and exit code 4 instead), but it does support xfce4-screensaver-command.

Aside: xflock4 also first tries to find a lock command configured in xfconf, by calling xfconf-query -c xfce4-session -p /general/LockCommand. That doesn't neatly fit into what this library is doing so far, so I didn't add it here, but I think it's an interesting option to explore.

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.

1 participant