![]() |
[SOLVED] Login Sound - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5) +--- Forum: Installing Linux Lite (https://www.linuxliteos.com/forums/forumdisplay.php?fid=17) +--- Thread: [SOLVED] Login Sound (/showthread.php?tid=1666) |
Re: [SOLVED] Login Sound - bugfree - 03-24-2015 Yes, that's it. I'll try that now and post result. Re: [SOLVED] Login Sound - bugfree - 03-24-2015 No success! I ran that code from a terminal prompt, although the file is in the /boot folder which is a system folder. Is that correct, Jerry! Had a look at the permissions and both files are identical except the startupsound.wav has rw access and the startupsoundorig.wav has read only. Clicking on the startupsound.wav file from the /boot folder, plays fine, so the file is intact. Re: [SOLVED] Login Sound - Valtam - 03-24-2015 Do: Code: ls -la /boot again, post results. This time, please use the code tags when posting the results. Thank you. Re: [SOLVED] Login Sound - Valtam - 03-24-2015 Also, do: Code: aplay /boot/startupsoundorig.wav on this new file, do you hear it play? Re: [SOLVED] Login Sound - bugfree - 03-24-2015 (03-24-2015, 12:51 PM)Jerry link Wrote: Also, do: Yes! This file plays fine. It is my original startupsound.wav file I renamed before attempting to play a different file. I copied a file to the /boot folder and renamed it startupsound.wav. This is the one that won't play. Code: linuxlite@linuxlite-Aspire-E1-571:~$ ls -la /boot Re: [SOLVED] Login Sound - bugfree - 03-24-2015 Sorry, just noticed no tags. Not sure how to do that! Re: [SOLVED] Login Sound - Valtam - 03-24-2015 So if startupsound.wav (you're new sound file) won't play, we can conclude that there is something about the file itself that aplay won't recognize. Try command line vlc via the terminal with both files: Code: cvlc /boot/startupsound.wav Code: cvlc /boot/startupsoundorig.wav if that works, then change the command in Session and Startup and try that. Re: [SOLVED] Login Sound - rokytnji - 03-24-2015 For experiment sake. I downloaded my sound files from http://antix.freeforums.org/post39115.html#p39115 I made a directory in /home/harry/Music and named it Sounds. I extracted my download in there. Code: Sounds$ ls -l I ticked the login box and here is my sound path on using the edit edit button for login sound in startup. Code: aplay /home/harry/Music/Sounds/disc.wav Logged out and back in. My startup sound played. I have a feeling your issue is a permissions issue. Re: [SOLVED] Login Sound - bugfree - 03-24-2015 Hi Jerry, Both files play OK with VLC. Changing the path to my file via vlc is successful, but on bootup, the file keeps repeating. From that, it appears my file is bad and I will examine it further. It looks like for now with your kind assistance, the problem is resolved. In a nutshell, just changing the path to the new file is all that's required. Thank you for your help. And btw, I'm a bit embarrassed! :-[ Thanks also rokytnji. Re: [SOLVED] Login Sound - Valtam - 03-24-2015 No problem, the next wav file you get play it with aplay in the terminal. Compare it to the terminal output of the original file and if it's not identical, use software like Audacity to reformat it to an identical bitrate etc. |