/etc/xdg/autostart/mpd.desktop is in mpd 0.19.1-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | # This will automatically start MPD as your user when you log into GNOME/KDE,
# provided that the system-wide MPD has been disabled.
# Make sure to create your own ~/.mpdconf containing the path to your music,
# and adjust the other paths such that MPD can write to its log and databases.
[Desktop Entry]
Type=Application
Exec=mpd
Terminal=false
Hidden=false
X-GNOME-Autostart-enabled=true
Name=MPD Music Player Daemon
Comment=start MPD as user when you log in
|