See these docs. Basically, instead of directly talking to X11/Wayland to pop a dialog, forward requests through the mechanism specified above. The prompt could then be answered that way. I have been using systemd-gnome-ask-password-agent for UI purposes, but recent LWN discussion has triggered the idea to have a shell-based agent as well that could work for the ssh-in use case.
This would resolve one desire I have where udiskie should wait for me to acknowledge a password request before forcing it upon me (stealing focus, both of the window manager and psychologically).
See these docs. Basically, instead of directly talking to X11/Wayland to pop a dialog, forward requests through the mechanism specified above. The prompt could then be answered that way. I have been using
systemd-gnome-ask-password-agentfor UI purposes, but recent LWN discussion has triggered the idea to have a shell-based agent as well that could work for the ssh-in use case.This would resolve one desire I have where
udiskieshould wait for me to acknowledge a password request before forcing it upon me (stealing focus, both of the window manager and psychologically).