You are Here:
Linux Lite 7.0 RC1 Released - See Release Announcement Section



[SOLVED] Login Sound

Author (Read 11672 times)

0 Members and 1 Guest are viewing this topic.

Re: [SOLVED] Login Sound
« Reply #21 on: March 24, 2015, 09:39:43 AM »
 

bugfree

  • New to Forums
  • *
  • 47
    Posts
  • Reputation: 9
  • Linux Lite Member
    • View Profile
Understood! Thank you and goodnight!
 

Re: [SOLVED] Login Sound
« Reply #20 on: March 24, 2015, 09:32:23 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8785
    Posts
  • Reputation: 803
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
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.
 

Re: [SOLVED] Login Sound
« Reply #19 on: March 24, 2015, 09:29:58 AM »
 

bugfree

  • New to Forums
  • *
  • 47
    Posts
  • Reputation: 9
  • Linux Lite Member
    • View Profile
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
« Reply #18 on: March 24, 2015, 09:17:10 AM »
 

rokytnji

  • Friganeer
  • Platinum Level Poster
  • **********
  • 1255
    Posts
  • Reputation: 139
    • View Profile

  • CPU: Intel Core2 Duo U9600

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Mobile 4
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: [Select]
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: [Select]
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.
« Last Edit: March 24, 2015, 09:26:09 AM by rokytnji »
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.
 

Re: [SOLVED] Login Sound
« Reply #17 on: March 24, 2015, 09:10:31 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8785
    Posts
  • Reputation: 803
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
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: [Select]
cvlc /boot/startupsound.wav
Code: [Select]
cvlc /boot/startupsoundorig.wav
if that works, then change the command in Session and Startup and try that.
 

Re: [SOLVED] Login Sound
« Reply #16 on: March 24, 2015, 09:01:06 AM »
 

bugfree

  • New to Forums
  • *
  • 47
    Posts
  • Reputation: 9
  • Linux Lite Member
    • View Profile
Sorry, just noticed no tags. Not sure how to do that!
 

Re: [SOLVED] Login Sound
« Reply #15 on: March 24, 2015, 08:59:03 AM »
 

bugfree

  • New to Forums
  • *
  • 47
    Posts
  • Reputation: 9
  • Linux Lite Member
    • View Profile
Also, do:

Code: [Select]
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: [Select]
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:~$
« Last Edit: March 24, 2015, 09:01:02 AM by Jerry »
 

Re: [SOLVED] Login Sound
« Reply #14 on: March 24, 2015, 08:51:31 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8785
    Posts
  • Reputation: 803
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Also, do:

Code: [Select]
aplay /boot/startupsoundorig.wav
on this new file, do you hear it play?
 

Re: [SOLVED] Login Sound
« Reply #13 on: March 24, 2015, 08:48:15 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8785
    Posts
  • Reputation: 803
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Do:

Code: [Select]
ls -la /boot
again, post results. This time, please use the code tags when posting the results. Thank you.
 

Re: [SOLVED] Login Sound
« Reply #12 on: March 24, 2015, 08:43:46 AM »
 

bugfree

  • New to Forums
  • *
  • 47
    Posts
  • Reputation: 9
  • Linux Lite Member
    • View Profile
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
« Reply #11 on: March 24, 2015, 08:24:09 AM »
 

bugfree

  • New to Forums
  • *
  • 47
    Posts
  • Reputation: 9
  • Linux Lite Member
    • View Profile
Yes, that's it. I'll try that now and post result.
 

Re: [SOLVED] Login Sound
« Reply #10 on: March 24, 2015, 08:18:28 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8785
    Posts
  • Reputation: 803
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
I'm going to assume that the new file that you want to change to is currently called 'startupsound.wav' if it is, do the following:

Code: [Select]
sudo chown linuxlite:linuxlite /boot/startupsound.wav
re-point to that, and try that.
 

Re: [SOLVED] Login Sound
« Reply #9 on: March 24, 2015, 08:14:34 AM »
 

bugfree

  • New to Forums
  • *
  • 47
    Posts
  • Reputation: 9
  • Linux Lite Member
    • View Profile
Code: [Select]
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 root      root          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:~$


I'm pointing to the startupsoundorig.wav which was the default I renamed and this works.
« Last Edit: March 24, 2015, 08:28:17 AM by Jerry »
 

Re: [SOLVED] Login Sound
« Reply #8 on: March 24, 2015, 08:11:13 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8785
    Posts
  • Reputation: 803
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Lets do this one step at a time. Following my last instruction, now open a terminal and do:

Code: [Select]
ls -la /boot
post the results.
 

Re: [SOLVED] Login Sound
« Reply #7 on: March 24, 2015, 08:09:15 AM »
 

bugfree

  • New to Forums
  • *
  • 47
    Posts
  • Reputation: 9
  • Linux Lite Member
    • View Profile
Yep, just did that and now working. Phew!

Now that this is resolved back to default, do you know how to change the startup sound.

Should it just be a matter of pointing the path to a new wav file, or is there something else needed.

I'll try this now, although I think this is where I started. Do I need to copy a new file into the boot folder and rename it startupsound.wav after renaming the original to old/orig etc.
 

 

-->
X Close Ad

Linux Lite 7.0 RC1 Released - See Release Announcement Section