Skip to content

[FEATURE] Custom lockscreen command #4117

Description

@cusher

Submission checklist

  • I have searched existing issues and confirmed this has not been requested before.
  • I have checked existing pull requests for similar changes.

Feature type

Configuration / customization

Feature summary

Rather than just allowing the the lock screen to be enabled/disabled, give the ability to use a custom lock screen command which will be used everywhere Noctalia would normally use its built in lock

Motivation / use case

Currently, when the Noctalia lock screen is disabled, there are at least a couple of quirks:

  • "Lock" and "Lock & Suspend" entries do not show up in the Session Panel (both must be replaced by "Custom" entries to get them to show up).
  • Idle "Lock" and "Lock & Suspend" behavior does not work.

It would be ideal for users who want to use custom lock screens to be able to set up their command in one place and keep all of the rest of this functionality working.

Proposed solution

Under Security > Lock Screen, add a toggle for "Use Custom Lock Screen". If this is enabled, all options below "Lock Before Suspend" would disappear and an input box "Lock Screen Command" for the user-provided command would appear.

Anywhere that Noctalia triggers a session lock (e.g. idle, session panel, IPC calls) would then call this command instead of the built-in lock.

Alternatives considered

An alternative would be to make the Noctalia lock screen so much more customizable that users would have no reason to use other lock screens. This would obviously be much more work than the proposed solution.

References / related projects

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions