]> git.ipfire.org Git - thirdparty/systemd.git/commit
xdg-autostart-service: expand tilde in Exec lines
authorDavid Edmundson <kde@davidedmundson.co.uk>
Wed, 14 Sep 2022 18:21:00 +0000 (19:21 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 15 Sep 2022 18:43:17 +0000 (03:43 +0900)
commit8c0a6a96fe04f97966b86ec91ee4502f5d4fa8d8
treed65d81dcaabaaa6862054f6ce72c8de3cb72b66c
parentf562abe2963bad241d34e0b308e48cf114672c84
xdg-autostart-service: expand tilde in Exec lines

In typical desktop file parsing it is expected that "~" expands to a
home directory.

Users may write an autostart file with "Exec=myCoolService
~/.someSpecialConfig" which worked before the systemd migration.
src/xdg-autostart-generator/test-xdg-autostart.c
src/xdg-autostart-generator/xdg-autostart-service.c