Bug 451734 - Plasma is unable to autostart programs with a space in the path
Summary: Plasma is unable to autostart programs with a space in the path
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Startup process (other bugs)
Version First Reported In: master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-20 18:42 UTC by Siddhartha
Modified: 2022-03-23 02:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Siddhartha 2022-03-20 18:42:57 UTC
SUMMARY
One of my autostart application has the following line in its .desktop:

Exec="/opt/Mullvad VPN/mullvad-vpn" %U

This leads to Plasma unable to execute this on startup. In the logs, I see:

systemd[1869]: app-mullvad\x2dvpn@autostart.service: Failed at step EXEC spawning /opt/Mullvad: No such file or directory

It seems the quoted path is not being parsed properly when auto generating the systemd startup service.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.16.15-arch1-1 (64-bit)
Comment 1 David Edmundson 2022-03-22 23:36:20 UTC
https://github.com/systemd/systemd/pull/22831
Comment 2 Siddhartha 2022-03-23 02:40:37 UTC
Thanks David!