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

add additional default commands listed in xubuntu's xflock4 #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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