14

When GNOME Keyring, needs a password to add an SSH key to the agent, it pops up a system modal prompt to get the password from you. I use KeePass, so this means that if I forgot to copy the password before the SSH attempt, I'm out of luck because of the system modal behaviour, and have to fail the connection.

See also this GNOME bug. As of GNOME 3.18, the workaround provided there isn't valid.

Since I would prefer to not muck around in GNOME's source code: is there any way, via configuration, to make the system modal prompts not be system modal?

l0b0
  • 50,672
  • 41
  • 197
  • 360
slyfox
  • 241
  • 1
  • 3
  • if you use keepassxc you can use autocomplete feature – intika Jun 01 '19 at 13:13
  • 2
    What about disabling the "Attach modal dialogs" option under the "Window" section in gnome-tweaks? – istepaniuk Jun 04 '19 at 12:47
  • @istepaniuk that is about model dialogs that attach to applications, like print dialogs in wordpricessor, so that print dialogs won't be hidden behind the application. the OP is talking about the gnome-shell dialogs. – toppk Sep 04 '22 at 23:14
  • I don't know of a way. As a workaround, you could switch to kde wallet. it's all the same standards. The workaround I use is just to unlock the keyring on login, so I never have to see the dialog box. Since I have autologin enabled, I actually lock the screen on login, so when I unlock all my applications are already started, and the keyring is open. – toppk Sep 04 '22 at 23:43

1 Answers1

0

Since it's just GNOME's PAM authentication method, you could install an alternative GUI PAM like XFCE's and use that. Just set up a start job (an auto start .desktop file) to gun the gnome implementation and launch the desired one.