LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Login Sound
#11
Yes, that's it. I'll try that now and post result.
Reply
#12
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.
Reply
#13
Do:

Code:
ls -la /boot

again, post results. This time, please use the code tags when posting the results. Thank you.
Reply
#14
Also, do:

Code:
aplay /boot/startupsoundorig.wav

on this new file, do you hear it play?
Reply
#15
(03-24-2015, 12:51 PM)Jerry link Wrote: Also, do:

Code:
aplay /boot/startupsoundorig.wav

on this new file, do you hear it play?

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
total 35536
drwxr-xr-x  5 root      root          4096 Mar 23 16:28 .
drwxr-xr-x 23 root      root          4096 Mar 21 19:13 ..
-rw-r--r--  1 root      root       1162233 May  3  2014 abi-3.13.0-24-generic
-rw-r--r--  1 root      root        169631 May  3  2014 config-3.13.0-24-generic
drwxr-xr-x  3 root      root          4096 Jan  2 16:36 extlinux
drwxr-xr-x  5 root      root          4096 Nov 24 16:39 grub
drwxr-xr-x  2 root      root         12288 Feb 24 11:41 i386-pc
-rw-r--r--  1 root      root      24922797 Mar 21 17:43 initrd.img-3.13.0-24-generic
-rw-r--r--  1 root      root        176500 Mar 12  2014 memtest86+.bin
-rw-r--r--  1 root      root        178176 Mar 12  2014 memtest86+.elf
-rw-r--r--  1 root      root        178680 Mar 12  2014 memtest86+_multiboot.bin
-rw-r--r--  1 linuxlite linuxlite  1059958 Jul 18  2014 startupsoundorig.wav
-rw-rw-r--  1 linuxlite linuxlite     7350 Mar 22 16:50 startupsound.wav
-rw-------  1 root      root       2685850 May  3  2014 System.map-3.13.0-24-generic
-rw-r--r--  1 root      root       5800496 Nov 22 10:54 vmlinuz-3.13.0-24-generic
linuxlite@linuxlite-Aspire-E1-571:~$
Reply
#16
Sorry, just noticed no tags. Not sure how to do that!
Reply
#17
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.
Reply
#18
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
total 10068
-rw-r--r-- 1 harry harry  458723 May 29  2013 creepy.wav
-rw-rw-r-- 1 harry harry 2871000 Dec  5 09:06 dare.wav
-rw-rw-r-- 1 harry harry 1822588 Jan 13 13:27 disc.wav
-rw-r--r-- 1 harry harry   40638 May 29  2013 dofirst.wav
-rw-r--r-- 1 harry harry   59798 May 29  2013 knowital.wav
-rw-r--r-- 1 harry harry   62296 May 29  2013 selfdest.wav
-rw-rw-r-- 1 harry harry 4909398 Mar 24 08:06 sounds.tar.gz
-rw-r--r-- 1 harry harry   77425 May 29  2013 surprise.wav

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.
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
Reply
#19
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.
Reply
#20
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)