regolith-desktop icon indicating copy to clipboard operation
regolith-desktop copied to clipboard

Rofi dmenu keybinding intermittently not working

Open mxraw opened this issue 5 years ago • 10 comments

Describe the bug The keybinding for rofi -show dmenu is intermittently not working. It is supposed to be Mod4 + Space but in 95% of the cases when pressing Mod4 + Space nothing happens. Sometimes it starts working after a while just to cease functioning later on. I suspect another program wrestling the control for that shortcut from rofi. It should be noted however, that I can observe this behavior on a freshly started regolith session with zero applications started by me. I can also launch rofi -show dmenu from a terminal flawlessly, so it is not a configuration issue.

To Reproduce Press Mod4 + Space and notice that nothing happens.

Expected behavior Press Mod4 + Space and something awesome happens (notably, rofi dmenu pops up)

Screenshots A screenshot of something not appearing is hard to do.

Installation Details

  • Regolith Install Type: PPA
  • Regolith Version: latest release PPA
  • PPA url: default
  • Host OS (for PPA): Ubuntu 20.04

Additional context No additional context

mxraw avatar May 17 '20 12:05 mxraw

Hi @cmF3 . Interesting, I have not heard of this issue before. When people report issues with keybindings not working, it's all or nothing. The intermittent nature of your issue is puzzling. Perhaps check /var/log/syslog during the time of this intermittent behavior, to see if a program is generating an error.

Also, have a look at this Arch wiki which describes how to find which program responds to key events via xev: https://wiki.archlinux.org/index.php/Keyboard_input

kgilmer avatar May 18 '20 04:05 kgilmer

I can confirm this is a problem on a fresh Ubuntu 20.04 instance after directly installing regolith on a fresh box. Regolith install was based on this:

$ sudo add-apt-repository ppa:regolith-linux/release
$ sudo apt install regolith-desktop i3xrocks-net-traffic i3xrocks-cpu-usage i3xrocks-time

I didnt have the time to investigate further but this only happened on Ubuntu 20.04 so far for me.

0xricksanchez avatar Jun 10 '20 14:06 0xricksanchez

Interestingly enough: swapping Mod1 and Mod4 and rofi work just fine for me again

0xricksanchez avatar Jun 16 '20 05:06 0xricksanchez

Under gnome-tweaksKeyboard & MouseAdditional Layout OptionsAlt/Win key behavior you can choose Left Alt is swapped with Left Win. This way you only have to swap Mod1 and Mod4 in your ~/.config/regolith/i3/config (line 42/43) to get close to the expected behavior with a working rofi..

Still, not sure what the main problem is though. This fix should at best be a temporary solution until the root cause is found.

0xricksanchez avatar Jun 16 '20 05:06 0xricksanchez

I've got the same issue and I have "fixed" it as @0xricksanchez does.

ErlantzCalvo avatar Jun 21 '20 17:06 ErlantzCalvo

Same issue, except if I press the keybind twice it will trigger the second time. On 20.10 though instead of 20.04

psifertex avatar Nov 13 '20 05:11 psifertex

I believe that Regolith 1.5.x may have resolved this issue w/ session gsettings overrides. Please reopen if issue still occurs in version 1.5.3.

kgilmer avatar Feb 16 '21 05:02 kgilmer

I can confirm this issue still happens with a 1.5.3 install on 20.10.

The fix allows me to switch back and forth between desktops, but I still can't launch most of the Mod+Shift+[key] commands.

marauder316 avatar Mar 10 '21 20:03 marauder316

Reopening due to user feedback

kgilmer avatar Mar 30 '21 04:03 kgilmer

FWIW, The 1.5.x release /did/ fix it for me on my 20.10 setup. ¯_(ツ)_/¯

psifertex avatar Mar 30 '21 19:03 psifertex