Looking simple popup menu for pass

on windows i use GitHub - geluk/pass-winmenu: An easy-to-use password manager for Windows, compatible with pass.

to acces my passwords with a small nice gui to easy enter passwords into ssh. I cant seem to find an alternative for Linux? does any one know of a simple alternative for acces the pass store with a simple popup gui, where i can search and then press enter to copy the password to to clipboard?

There is a dmenu script, but i have not been able to get it working properly on fedora with wayland (or find a proper guide)…

1 Like

I wrote myself a simple script, inspired by qutebrowser’s user-script which is probably similar to the dmenu script:

This uses rofi/wofi depending on whether X or Wayland are in use.

1 Like

If you’re using GNOME, you can check out Secrets:

1 Like

thanks, i want something that uses pass though, and something more simple…

2 Likes

thanks. can i ask how you trigger the script with a keyboard shortcut ?

this seems to be just what i need, how ever when i manualy launch the script, i get shown my passwords, but if i select one and press enter, i dont get the password in my clipboard?

I haven’t set up a keyboard shortcut yet. I always have my terminal up, so placing it in a folder that is in PATH does it for me. What DE are you on? I think each DE has its own way of setting up keyboard shortcuts. On Gnome, this works: settings → keyboard → keyboard shortcuts → custom → add, and then something like this:

im using gnome, i was just wondering if you were doing something else, than setting up a custom shortcut.

this seems to be just what i need, how ever when i manualy launch the script, i get shown my passwords, but if i select one and press enter, i dont get the password in my clipboard?

also is there any way to style it? (dark vs light)

1 Like

Ah, yeh, that’s because the “default” behaviour is to show the full entries, and one has to use the -c flag to copy it to the clipboard. If you update the shortcut to include -c at the end of the command, that’ll copy the password to the clipboard:

(Also please feel free to modify the script as you please—it’s just something I hacked up for myself).

Edit: script link is in this post: Looking simple popup menu for pass - #2 by ankursinha

thanks, i had a gpgp lock that interfered with the password aswell… it works just as i like, a big thanks! just what i was looking for!

1 Like

last thing, how do you make it display center? from what i can tell there is a limit in gnome that prevents wofi from displaying the menu center… is there any workaround or do i have to use sway or something silimar on top of gnome ?

1 Like

Navigate to System Settings, Preferences, Startup Applications. Use the slider to enable SSH Key Agent. Up to five ed25519 key pairs stored in ~/.ssh will be searched and the private key associated with your public key at the remote end will be used automatically.

if you are attempting to connect to an OLD target such as AWS CodeCommit you may have to use RSA key pairs.

I’m not sure tbh—I haven’t paid attention to where it comes up. I’ll have to check on my wayland system. I’ll do that and report back when I can.

@ernie-07 that’s a completely different subject that you’re talking about here. (Are you sure you were attempting to reply to this topic?)

1 Like

Any chance you got to look at how (if you do) get the wofi menu to be center in gnome?

Not really. I see wofi has the xoffset and yoffset options, so I’d try those I guess?