-
Notifications
You must be signed in to change notification settings - Fork 768
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
i3-dmenu-launcher breaks on some desktop applications #5824
Comments
Can you go over to |
discord.desktop[Desktop Entry] Name=Discord StartupWMClass=discord Comment=All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone. GenericName=Internet Messenger Exec=/usr/share/discord/Discord Icon=discord Type=Application Categories=Network;InstantMessaging; Path=/usr/bin |
I can repro it. It appears to me that after removing line I'm not a Perl programmer, so I can't help troubleshoot the script, but I can suggest if you'd like to unblock yourself, using: https://github.com/enkore/j4-dmenu-desktop which is a drop-in replacement. Although for sure it's also worth fixing the script itself which is shipped with i3. |
I've been looking into this issue and noticed that Discord is in fact launched once the following block is executed. I've been able to reproduce this with Bitwarden aswell which is another Electron-based app. my ($dmenu_out, $dmenu_in);
my $pid = eval {
open2($dmenu_out, $dmenu_in, $dmenu_cmd);
} or do {
print STDERR "$@";
say STDERR "Running dmenu failed. Is dmenu installed at all? Try running dmenu -v";
exit 1;
}; It doesn't seem like this supposedly premature execution of the selected application is the intention of the script. I suspect that the combination with My theory about why the EPIPE error occurs is that Discord attempts to write something to STDOUT, but is unable to do so due to the inner workings of the What is the pid returned by this |
I'm submitting a…
Current Behavior
When i launch Discord through dmenu through i3-dmenu-desktop it breaks the launch of discord.
Command:
i3-dmenu-desktop --dmenu 'rofi -modi window#drun#run#ssh -show drun -sidebar-mode'
i3-dmenu-desktop log
Expected Behavior
When i run
rofi -modi window#drun#run#ssh -show drun -sidebar-mode
it works as expected.Discord launches without issue.
Reproduction Instructions
i3-dmenu-desktop --dmenu 'rofi -modi drun -show drun'
Environment
Output of
i3 --moreversion 2>&-
:Config file
The text was updated successfully, but these errors were encountered: