pop-os / launcher

Modular IPC-based desktop launcher service
Mozilla Public License 2.0
219 stars 42 forks source link

The launcher seems to ignore command flags (or at least environment variables) #212

Closed roomfullofcommits closed 2 months ago

roomfullofcommits commented 2 months ago

First some context: I was having an issue where my Discord audio output would get crunchy whenever my CPU usage was high. The solution for this is to start Discord with env PULSE_LATENCY_MSEC=100 or --env=PULSE_LATENCY_MSEC=100 added in discord.desktop. Both of those fix the issue, but only if I start Discord by double clicking the .desktop file, and not if I start Discord through the launcher.

Now I don't really know how to give you more useful information by for example checking if all flags are ignored, but it at least looks like the launcher ignores environment variables in .desktop files. Let me know what I can do to help!

System: Pop!_OS 22.04 GNOME 42.5 Ryzen 9 3900X RTX 2070 super

roomfullofcommits commented 2 months ago

Actually nevermind, probably. I'm really confused because that was the behavior I was seeing, but not anymore, somehow. Sorry!