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

Rofi key shortuct immediately closes #35

Open
JRandomHacker opened this issue Apr 22, 2019 · 6 comments
Open

Rofi key shortuct immediately closes #35

JRandomHacker opened this issue Apr 22, 2019 · 6 comments

Comments

@JRandomHacker
Copy link

I can open the Rofi side-menu by clicking the top-left icon (though I can't type anything to search...), but if I open it via cmd+e, it instantly opens and closes. All configs are unmodified.

Any help would be greatly appreciated

@PapyElGringo
Copy link
Collaborator

Is that the command _G.screen.primary.left_panel:toggle(true) who open/close or the shortcut?

@omark96
Copy link

omark96 commented May 2, 2019

Hello, I have the same issue. When installing it on a fresh Arch VM the Rofi side menu would just close as soon as I pressed in the search bar or if I pressed mod+E it would open and then instantly close. I decided to give it a try with a Manjaro installation with Awesome. Same problem, however, this time I got the following error:
Failed to execute: 'rofind'
Error: 'Failed to execute child process "rofind" (No such file or directory)

A "workaround" to be able to at least use rofi is to change rofind to rofi in the ~/config/rofi/config.rasi file, however this breaks the design.

EDIT:
I just tried to install rofi-scripts and it seem to have solved that issue, I no longer get an error about rofind. But the design is still broken for me in the Manjaro installation (Probably an unrelated issue and I'm gonna give it a try in a fresh Arch installation tomorrow).

@PapyElGringo
Copy link
Collaborator

PapyElGringo commented May 3, 2019

Can you try to start Rofi directly from a terminal?
rofi -show drun -theme ~/.config/awesome/configuration/rofi.rasi

@omark96
Copy link

omark96 commented May 3, 2019

I reinstalled Arch and managed to get it working. I'm not entirely sure what I did differently, but I think I might have forgotten to install xorg-apps on my first attempt. However, the performance was horrible, but at least everything was working this time. (I'm pretty sure the performance part is because of a driver issue). I might give it another go in the future.

@PapyElGringo
Copy link
Collaborator

PapyElGringo commented May 3, 2019 via email

@Sil3ntLight
Copy link

I had the same issue, then found that running rofi -show drun gives a warning about "failed to set Locale". Make sure you uncomment your locale (i.e. en_US.UTF-8) in /etc/locale.gen.
Then run locale-gen

If it still gives the same error, make sure to set your locale variables (LANG and LANGUAGE) in /etc/locale.conf or by running:
localectl set-locale LANG=en_US.UTF-8
Thank you PapyElGringo for this awesome theme!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants