Results 1 to 7 of 7

Thread: Add a Startup Sound.

Hybrid View

  1. #1
    Join Date
    May 2012
    Location
    +961
    Beans
    42
    Distro
    Xubuntu 12.04 Precise Pangolin

    Post Add a Startup Sound.

    Hello,

    So at first it was Ubuntu 12.04 that I had, then after finding out that Xubuntu is lighter than Unity on my low-end computer, and after testing too many desktop environments and keeping on that one, I am having many problem of somehow a "conflict" between the installed desktop environments.
    Whatsoever.

    Remember the old Ubuntu 4.10 startup sound ? I don't, actually I just discovered it a while ago. ( http://www.youtube.com/watch?v=3WFCQrCReGU )
    So as I was impressed by that, I decided I'd enjoy having it on my Xubuntu, or Ubuntu with the Xubuntu desktop environment.

    I have installed the Startup Sound as an .mp3 file, but then found out that it should be an .ogg file.
    But the videos showed that I should get to a folder under /usr/share/sounds/ubuntu/stereo and paste the file there and then modify something in Startup applications. But then I figured out that's for Gnome, so I didn't waste any time trying to do that, and actually none of the .ogg files there are being played, so I guess that folder isn't being used by Xubuntu, or something like that.

    I also tried just to add the .mp3 file under Startup programs, but that doesn't seem to work.

    Thus, my question is, how do I add a Startup sound to Xubuntu ?

    Thanks in advance,
    UAdnan.

  2. #2
    Join Date
    Oct 2008
    Location
    Ottawa, Canada
    Beans
    813
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: Add a Startup Sound.

    First install sox
    Add a startup application with command:
    Code:
    play <full path to your mp3/ogg/wav>
    That's it!
    husband@wife$ make sandwich
    Permission denied
    husband@wife$ sudo make sandwich

  3. #3
    Join Date
    Apr 2011
    Beans
    207
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Add a Startup Sound.

    I didn't know you could change the startup sound in Ubuntu A good old TARZAN call is perfect Ahhhhhhhaahhhhhhahhhhhhhhha ahhhhh ahhhhhhhhhhhhhhhhhhh ! Me must play around with the idea
    You can take my trousers but you won't take my Freedom !

  4. #4
    Join Date
    May 2012
    Location
    +961
    Beans
    42
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Add a Startup Sound.

    I'm afraid that didn't work.
    sudo apt-get install sox

    Then I went to add a startup application, i wrote the following:
    play /home/adnan/startup.mp3 ...

    The file is called so and located there... ?

    Oh and I figured out after modifying some errors in my computer that the sound called system-ready.ogg is being played when I get my login screen, just as it was with unity actually. However it's not a startup application so I don't know how they get to do it.

    EDIT: I got to solve it myself;
    But if you use Unity that won't work because if you get any pop-up message or error it will play the startup sound, if you use another desktop distro while you still have unity, and its startup sound being played (It's like some drums when you get to your login screen), AND that you don't get that sound anywhere after, you can do the following:

    Go to Terminal. Type sudo -s nautilus.
    Now go to filesystem and browse to this folder /usr/share/sounds/ubuntu/stereo , enter it.
    Now you see some .ogg sound files, so well first you should convert your file if it was an MP3 to OGG, you can use the sound converter in any software center.
    now copy your file to that destination (copy/paste didn't work for me, but drag and drop did the trick).

    Delete the dialog-information.ogg file. And then rename your file to that name (If your file was called Startup.ogg for example, rename it to dialog-information.ogg )

    Last but not least, delete the system-ready.ogg file, make a link to your newly made dialog-information.ogg, and rename that link to system-ready.ogg .

    Hope that helps !
    Last edited by UAdnan; June 30th, 2012 at 04:44 PM.

  5. #5
    Join Date
    Oct 2008
    Location
    Ottawa, Canada
    Beans
    813
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: Add a Startup Sound.

    You were probably missing the mp3 library
    Code:
    sudo apt-get install libsox-fmt-mp3
    husband@wife$ make sandwich
    Permission denied
    husband@wife$ sudo make sandwich

  6. #6
    Join Date
    May 2012
    Location
    +961
    Beans
    42
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Add a Startup Sound.

    Uhm well if I use this method, will the sound get played when I get to the login and that it loads aswell or after I write my logins OR inbetween the boot screen and the login screen ?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •