You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turn laptop on, system starts. Rofi works normally.
Suspend system (lid closure/systemctl suspend), and resume
After resuming, rofi won't launch selected GUI apps in drun mode
Expected behavior
The GUI app selected from drun should start.
Actual behavior
The app doesn't start.
Additional information
There is quite a peculiar scenario which pops up after resuming from suspend. Things I noticed so far:
after resuming from suspend, if I press the keybind to "rofi -show drun" on my keyboard, rofi pops up normally but will only launch terminal-based applications. GUI apps just won't appear (i.e. I can launch kitty or ranger, but not Firefox).
there is no significant difference in the stdout of Rofi before/after suspend: the only difference is a fraction of stdout related to the GUI app I'm launching (which is absent after resuming from suspend)
If I launch "rofi -show drun" from a terminal rather than my keybinding, rofi works normally (TUI and GUI apps regardless)
there is no environment variable which change before/after suspend, which may be the culprit (= the output of "env" is the same in both cases)
I'm honestly out of ideas on how to investigate the issue more deeply. I'll gladly provide any additional information that might be relevant.
EDIT: I tried multiple configuration files and themes (including defaults), and found the same behavior.
EDIT2: I think this behavior is limited to X applications
The text was updated successfully, but these errors were encountered:
fedepau
changed the title
[BUG] Rofi stops working for GUI apps after resuming from suspend
[BUG] Rofi (drun) stops working for GUI apps after resuming from suspend
Sep 1, 2023
Rofi version (rofi -v)
Version: 1.7.5+wayland2-1-gff2338c3 (makepkg)
Configuration
https://gist.github.com/fedepau/d3a3e84d2a82aee459797b13200d7087
Theme
https://gist.github.com/fedepau/13bd79cef156b9aca173dfd63aa92c32
Timing report
No response
Launch command
rofi -show drun
Step to reproduce
On Arch Linux:
Expected behavior
The GUI app selected from drun should start.
Actual behavior
The app doesn't start.
Additional information
There is quite a peculiar scenario which pops up after resuming from suspend. Things I noticed so far:
I'm honestly out of ideas on how to investigate the issue more deeply. I'll gladly provide any additional information that might be relevant.
EDIT: I tried multiple configuration files and themes (including defaults), and found the same behavior.
EDIT2: I think this behavior is limited to X applications
The text was updated successfully, but these errors were encountered: