Code: Select all
xmms2-launcher
Code: Select all
systemtl --user enable mpd.service
Code: Select all
xmms2-launcher
Code: Select all
systemtl --user enable mpd.service
I don't think that would work, there don't appear to be any systemd unit files supplied with the package so the command would fail.None1975 wrote:Is it right to use systemctl --user enable xmms2-launcher?
I understand this, but i would like to automate this process.Dai_trying wrote:I use xmms2 and have never needed to ensure the daemon is running because whenever a command is issued it will load it automatically
It turns out that the decision is simple, as two times two. Great tip. I did it. Thank you.Head_on_a_Stick wrote:If you need to run a command automatically on login then add it to ~/.profile (for a console login)
Thanks for the idea. I had the idea to do this, but I do not know how the program will react. I should think about it. So far, I will use a simpler solution.debiman wrote:you could also have a look at the mpd service file, copy it and modify it to launch xmms2.
there's really nothing complicated about it, esp. since the mpd service does pretty much exactly the same.None1975 wrote:Thanks for the idea. I had the idea to do this, but I do not know how the program will react. I should think about it. So far, I will use a simpler solution.