I use guake to hide away my terminals when I'm not using them. When I am, they fullscreen an entire monitor. If I run a command requiring an unlock of a private key, Seahorse opens a modal dialog asking for the passphrase. Unfortunately, the dialog is drawn behind guake. Perhaps I can simply blindly unlock the key, but the combination of invisibility and having mashed some keys before realising what's happened means this hasn't worked for me so far, and possibly just doesn't work at all. Certainly hammering
esc and other "get me out of here" keys doesn't help. In case it needs mentioning, the shortcut to raise/hide guake obviously does not work either.
I have several different keys with passphrases. Most of these keys are added to my ssh agent, but some are rarely used and I don't want to unlock every one of them on boot. It's these rarely used keys that cause the above problem.
So, I do have a solution, but it feels horribly hacky. This relies on having
xdotool installed. Ctrl+Alt+F1 to hop to another VT and run the following:
export DISPLAY=0:0 xdotool search 'guake.py' | while read W; do xdotool windowminimize "$W"; done
Now Ctrl+Alt+F7 back to the desktop environment, and guake has disappeared. I could simply switch to another VT and kill guake, but it's frustrating to reopen a dozen SSH sessions to various machines when I do.
I'm looking for better ways to escape from the uninteractable modal dialog. Secret key combinations, ways to configure Seahorse to never ask me anything ever, WM tweaks to have it 'on top, no, really', etc. Any advice about how people manage their agent/key setups would peripherally be appreciated too.