Re: Login music in console

2013-01-13 Thread Beco
Hi guys, Some time ago you helped me to play KDE Login sound on a linux console only. That was great. Yesterday, I upgraded that old system from squeeze to wheezy, and something happened. First, the sound won't play at all, and I needed to insert in /etc/modules the line: snd-sbawe (quick

Re: Login music in console

2012-10-30 Thread Sthu Deus
Good time of the day, Andrei. You wrote: That's not very difficult to script, one just needs to parse the output of 'amixer [sget control]'. OR Use another player - w/ volume setting preconfigured | set on command line that invokes the player. As example, mplayer* can be. Sthu. -- To

Re: Login music in console

2012-10-28 Thread Andrei POPESCU
On Sb, 27 oct 12, 09:55:44, Hugo Vanwoerkom wrote: But the problem with using that is that you are stuck with the volume that the mixer is set at. There ought to be a way to check those settings, adjust for loudness, play the sound, and reset back to what the settings were. ;-) That's not

Login music in console

2012-10-27 Thread Dr Beco
Dear linuxers, What little program would you recommend to simple play a music like /usr/share/sounds/KDE-Sys-Log-In-Short.ogg Is there a small console player fit to this simple task? Should I put it on ~/.profile? It would be better if the music play only once per turn on, not every

Re: Login music in console

2012-10-27 Thread Dr Beco
On Sat, Oct 27, 2012 at 10:33 AM, Dr Beco r...@beco.cc wrote: Dear linuxers, What little program would you recommend to simple play a music like /usr/share/sounds/KDE-Sys-Log-In-Short.ogg Is there a small console player fit to this simple task? Should I put it on ~/.profile? It would be

Re: Login music in console

2012-10-27 Thread Hugo Vanwoerkom
Dr Beco wrote: Dear linuxers, What little program would you recommend to simple play a music like /usr/share/sounds/KDE-Sys-Log-In-Short.ogg Is there a small console player fit to this simple task? Should I put it on ~/.profile? It would be better if the music play only once per turn on, not

Re: Login music in console

2012-10-27 Thread Nate Bargmann
* On 2012 27 Oct 08:36 -0500, Dr Beco wrote: Dear linuxers, What little program would you recommend to simple play a music like /usr/share/sounds/KDE-Sys-Log-In-Short.ogg Is there a small console player fit to this simple task? ogg123, perhaps? Should I put it on ~/.profile? It would

Re: Login music in console

2012-10-27 Thread Hugo Vanwoerkom
Hugo Vanwoerkom wrote: Dr Beco wrote: Dear linuxers, What little program would you recommend to simple play a music like /usr/share/sounds/KDE-Sys-Log-In-Short.ogg Is there a small console player fit to this simple task? Should I put it on ~/.profile? It would be better if the music play

Re: Login music in console

2012-10-27 Thread Jude DaShiell
What's wrong with arbitrarily setting mixer volume before playing the ogg file?On Sat, 27 Oct 2012, Hugo Vanwoerkom wrote: Hugo Vanwoerkom wrote: Dr Beco wrote: Dear linuxers, What little program would you recommend to simple play a music like

Re: Login music in console

2012-10-27 Thread Dr Beco
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,

Re: Login music in console

2012-10-27 Thread Jude DaShiell
To stack the deck just before that ogg123 command put: amixer -D hw set Master 92% unmute That makes sure the sound card will work if the sound card is able to do so.On Sat, 27 Oct 2012, Dr Beco wrote: On Sat, Oct 27, 2012 at 11:22 AM, Nate Bargmann n...@n0nb.us wrote: ogg123, perhaps?

Re: Login music in console

2012-10-27 Thread Dr Beco
On Sat, Oct 27, 2012 at 2:40 PM, Jude DaShiell jdash...@shellworld.net wrote: To stack the deck just before that ogg123 command put: amixer -D hw set Master 92% unmute That makes sure the sound card will work if the sound card is able to do so.On Sat, 27 Oct 2012, Dr Beco wrote: Hi Jude,

Re: Login music in console

2012-10-27 Thread Hugo Vanwoerkom
Jude DaShiell wrote: What's wrong with arbitrarily setting mixer volume before playing the ogg file?On Sat, 27 Oct 2012, Hugo Vanwoerkom wrote: I guess it depends on personal preferences: I play classical music softly always. So when the ogg file plays upon boot you would hardly hear it.

Re: Login music in console

2012-10-27 Thread Jude DaShiell
That's easily done and arbitrarily too. Figure your desired percentage for lower speaker volume and do another amixer -D hw set Master 72% unmute just after the ogg123 command. The 72% figure may not be completely correct, but those who always listen to classical music quietly can come up