On Sat, Oct 27, 2012 at 11:22 AM, Nate Bargmann <n...@n0nb.us> wrote: > ogg123, perhaps? > >> Should I put it on ~/.profile? It would be better if the music play >> only once per turn on, not every successfull login. > > As I understand it, if Bash is your default shell and ~/.bash_profile > exists, ~/.profile will not be read, although one could source > ~/.profile from ~/.bash_profile. If ~/.bash_profile doesn't exist, then > ~./profile will be read. Someone will likely chime in if I got that > wrong. > > Otherwise, if you only want it to play at system start rather than at > each login, you could call the player from /etc/rc.local. Just include > the command line above the 'exit 0' line. :-) > > - Nate >> >
Thanks Nate, Hugo & Jude, I solved by putting this command: ogg123 -q /usr/share/sounds/KDE-Sys-Log-In-Long.ogg & in /etc/rc.local Cheers, Beco -- Dr Beco "I refuse to join any club that would have me as a member." (Groucho Marx) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CALuYw2xBAL9CtiPUW2BY1j4WF22v567aOXqZK+=SBn9w=kj...@mail.gmail.com