Re: Login music in console
On Sat, Oct 27, 2012 at 11:22 AM, Nate Bargmann <n0nb@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)
Reply to: