Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#1
Today I upgraded the IBM A22 Laptop from AntiX 8.5rc3 to AntiX 8.5 Full Final.
Been Playing around with it and I want to give it a distinct startup sound for booting into Icewm.

I downloaded a .wav file that I like.



My Icewm Startup file looks like the below so far. So I am a little stuck on what else to enter. I am keeping it commented out till I figure how to get the startup file to play the above .zip (forum wouldn't allow .wav by itself so I compressed it)

Code: Select all

########## PLAY STARTUP SOUND #########
#play /usr/share/sounds/Pardus_Rocks/Pardus_Rocks-Logout.ogg > /dev/null 2>&1 &
#play /usr/share/sounds/Hal and James Brown/startup4.wav 
Happy Trails, Rok
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
Well. Editing ~/.xinitrc under icewm entry to include the line

Code: Select all

# The following line gets changed by mepis-init.sh with the desktop= cheatcode
XINITRC_DEFAULT="icewm-session"

case $1 in
icewm)
    exec icewm-session
    ;;
       aplay /usr/share/sounds/Hal and James Brown/startup4.wav &


was a bad Idea. Slim failed to login __{{emoticon}}__ after I included that Line. Booted up to Live CD to erase that line in ~/.xinitrc . Fixed that experimental snafu. __{{emoticon}}__
Posts: 1,228
secipolla
Joined: 15 Jun 2008
#3
haha..cool one, roky.
When I read the title I thought that maybe you had recorded something by yourself.

To set it to start with Icewm just replace the 'pardus rock' entry for this one (you can put it in usr share sounds but you could leave it somwhere in your personal folders, which are easier to edit).

Also IceWM may not like the spaces inside the folder or file names. If it's not working for you rename the Hal and James Brown folder for Hal_and_James_Brown and correct the path.
Posts: 609
dark-D
Joined: 02 Jun 2008
#4
hahaha, cool one rokytnji.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#5
HeeeHaw. Got it working. I borrowed secipollas suggestion
but you could leave it somwhere in your personal folders, which are easier to edit).

IceWM may not like the spaces inside the folder or file names

And IceMs signature struck a chord with me this morning.
I keep it simple stupid
So what I did first was make me a new folder/directory in ~/.icewm and named it sounds.
Copied over the /usr/share/sounds/Hal and James Brown/startup4.wav file into the /home/harry/.icewm/sounds file/directory.

Code: Select all

########## PLAY STARTUP SOUND #########
#play /usr/share/sounds/Pardus_Rocks/Pardus_Rocks-Logout.ogg > /dev/null 2>&1 &
play /home/harry/.icewm/sounds/startup4.wav
Rebooted and was greeted by Hal and James Brown. It is going to be a good day cuz I learned something about why ~/.xinitrc
can be the reason slim can fail to log a person in and now I can make my AntiX computer sound like a customised biker unit when it starts up. Maybe later I will try a
Harley revving .wav also. But I like this one for now.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#6
This is my custom startup sound file (ogg) for my EEEPC 701SD.

edited my ~/.icewm/startup

Code: Select all

########## PLAY STARTUP SOUND #########
#play /usr/share/sounds/Pardus_Rocks/Pardus_Rocks-Logout.ogg > /dev/null 2>&1 &
play /home/harry/sounds/hog1.ogg
Can be done from AntiX Control Center to edit icewm in geany.

Downloaded wav and changed it to ogg via rename. Keep it in a new folder /home/sounds. Gotta have my Netbook sounding like a grunt __{{emoticon}}__

Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#7
Just another sound file I installed in Fluxbox only startup file on Antix 11 base i686 on my motorcycle shop Desktop. ~/.fluxbox/startup

Code: Select all

# Lines starting with a '#' are ignored.
###### Play Startup Sound######
aplay /home/harry/Sounds/disc.wav
#aplay /home/harry/Sounds/hog1.ogg
I liked the Tron movie __{{emoticon}}__



Startup Fluxbox takes a little longer loading up waiting for the sound file to finish but the guys who hear it in the shop think it is just too cool.

If anyone is using a LXDE Desktop. Below is how I get a custom startup sound going in AntiX core iso I686 LXDE


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://forum.lxde.org/viewtopic.php?f=13&t=31363"
linktext was:"http://forum.lxde.org/viewtopic.php?f=13&t=31363"
====================================
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#8
Just uploading some more I have collected over time. Some are from Spaceballs the Movie, The Matrix, 2001 a space Odessy, etc...



I found using

Code: Select all

play
instead of

Code: Select all

aplay
works better with .ogg files in AntiX 13 RC1 full iso. Works ok on .wav also.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#9
Reorganized my .wavs and zipped up for later.



Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#10
New one. Made for MX-15 for me by me.