run env in your terminal and then env from python scriptI've written a python script that launches MPV in response to network calls. When I launch my script manually from a command-line it works great, and when I create a ~/.config/autostart/myscript.desktop file, it DOES technically work "correctly", but for some reason when launched by autostart, MPV has VERY stuttery performance. Even stranger: when I run `gio launch ~/.config/autostart/myscript.desktop`, it runs perfectly smooth, so it's nothing about the desktop file itself? I even inserted a ten-second sleep command before my script to try and give other things time to start up in case it's some issue of launching before some drivers are loaded, but it didn't help. Has anyone dealt with something like this?
Statistics: Posted by wcl55 — Mon Jul 14, 2025 7:57 am