-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Lock database on SessionLock does not work with i3lock on arch linux #3339
Comments
I just looked through the i3 documentation and i3lock source code and couldn't find anything regarding an event notification that is sent out when the screen is locked. I do not think this is even possible. Please bring this up with the i3 developers. |
sway and swaylock have the same problem, but even when using 'loginctl lock-session' (which uses DBUS as far as I know) KeepassXC doesn't lock it's database. |
LightDM lock functionality |
In the meantime, you can use the KeePassXC D-Bus interface to lock the database as explained here: #2764 (comment). Looking at Maybe the real problem is that we're not running a display manager, just |
I see this dbus signal when locking my session using xss-lock:
|
Turns out, there are ways to get the current session object:
(introduced in systemd/systemd@bef422a, systemd v30) note that you could also use the self session |
For sway(lock), the following setting in my sway config is working fine for me:
|
This works nearly perfectly, it seems the methodName changed from
Edit -
|
Expected Behavior
I'd expect the database to lock when my screen gets locked.
Current Behavior
The database is not locked on screen lock and after unlocking the screen - the database is still unlocked.
Possible Solution
Lock the database on lock screen (#545)
Steps to Reproduce
i3lock
to lock your screenContext
I'm running on arch linux, using
i3
(i3gaps
) as my window manager, andi3lock
as my screen locker.I expect my database to get locked once I lock my screen, but the database does NOT get locked.
Debug Info
Or is it expected behavior that on screen lock the database locks, but on screen unlock it unlocks itself?
Edit: I've created an issue for i3lock.
The text was updated successfully, but these errors were encountered: