Skip to content
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

-dmenu stopped working with rofi #1647

Closed
mordax7 opened this issue Nov 8, 2020 · 5 comments
Closed

-dmenu stopped working with rofi #1647

mordax7 opened this issue Nov 8, 2020 · 5 comments
Assignees
Labels
can-not-reproduce Bug can't be reproduced
Milestone

Comments

@mordax7
Copy link

mordax7 commented Nov 8, 2020

Summary

Before I updated my Gopass to the latest version, i used it with Rofi to get my secrets out of the store with the following command: gopass ls --flat | rofi -dmenu | xargs --no-run-if-empty gopass show -c. But recently it stopped working and I dont know if it is a issue with Rofi or Gopass.

Steps To Reproduce

  • Install Rofi and Gopass with latest version
  • Write gopass ls --flat | rofi -dmenu | xargs --no-run-if-empty gopass show -c into your console

Expected behavior

Rofi menu with a list of your secrets

Environment

  • OS: Arch
  • OS version: Linux 5.9.4-arch1-1 Add template feature #1 SMP PREEMPT Wed, 04 Nov 2020 21:41:09 +0000 x86_64 GNU/Linux
  • gopass Version: gopass 1.10.1 (2020-09-13 00:16:24) go1.15.2 linux amd64
  • Installation method: Arch Community Repo
@AnomalRoil AnomalRoil added this to the 1.10.2 milestone Nov 18, 2020
@AnomalRoil AnomalRoil self-assigned this Nov 27, 2020
@AnomalRoil
Copy link
Member

Tested on Rofi 1.5.0 : it works.

I'm going to try to install the latest rofi from git since it seems they've recently released 1.6 and 1.6.1.

@mordax7
Copy link
Author

mordax7 commented Nov 27, 2020

@AnomalRoil can you please share your command. I dont get it to run.

@AnomalRoil
Copy link
Member

AnomalRoil commented Nov 27, 2020

I'm trying with the same command as you.

Rofi compiled from latest release on Github:

$ rofi -v
Version: 1.6.1

Gopass from Github since I think that Arch is compiling from Github instead of using the release:

$ gopass -v
gopass 1.10.1+93539afc (93539afc 2020-11-27 13:09:44) go1.15.5 linux amd64

When running your command, I get a dmenu prompt:

gopass ls --flat | rofi -dmenu | xargs --no-run-if-empty gopass show -c

I also tried with v1.10.1 instead of git tip and it's also working.

What desktop environment are you running? Could it be your Windows Manager that's not displaying Rofi menu?
Is your Gopass password store populated and working in the CLI?

  • If you run gopass ls --flat, does it display the list of your secrets?
  • If you run rofi -dmenu, does it display an empty Rofi prompt?

@mordax7
Copy link
Author

mordax7 commented Nov 29, 2020

Rofi:

rofi -v
Version: 1.6.1

Gopass

gopass -v
gopass 1.10.1 (2020-09-13 00:16:24) go1.15.2 linux amd64

If you run gopass ls --flat, does it display the list of your secrets?
Yes

If you run rofi -dmenu, does it display an empty Rofi prompt?
If I run it with -dmenu or without, the result is the same, I see rofi in combi mode(both opened and closed applications).

When trying to use the Wayland alternative to rofi https://hg.sr.ht/~scoopta/wofi it seems to work again. So maybe it is a rofi porblem?

@AnomalRoil
Copy link
Member

Yes, this looks like a Rofi issue.

@AnomalRoil AnomalRoil added the can-not-reproduce Bug can't be reproduced label Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can-not-reproduce Bug can't be reproduced
Projects
None yet
Development

No branches or pull requests

2 participants