From Fedora Project Wiki
Artwork ArtTeamProjects WikiDesign ArtTeamN1.png


File:Artwork F8Themes GnomeSounds FreeSoundBanner.png

Gnome Sounds

The Gnome Desktop offers a rich audio experience to those who choose to enable it. The goal is to enhance the computing experience with the use of subtle audio feedback. This is accomplished by adding click and tick sounds to form and menu events and soft tones to message notifications. The original sounds were obtained from The Free Sound Project and in many cases are played unaltered.

Gnome Desktop Events

File:Artwork F8Themes GnomeSounds SoundSetup.png

Select check box

Choose menu item

Click on command button

Miscellaneous message

Question dialog

Error message

Warning message

Informational message

Log out

Log in

~-☀ This is a blend of sounds mixed using Audacity.-~

Gnome Login Events

File:Artwork F8Themes GnomeSounds LoginSetupPageOne.png

Login Ready

Login Successful

Login Failed


File:Artwork F8Themes GnomeSounds PageTip.png In some circustances the browser may play the shorter previews twice. This is __not__ the case in the install package.


Installation

Installation Script

  1. Download the following files
  2. Open a terminal session and login as root
    • ie. $ su <return>
  3. Navigate to the folder containing the above files
    • ie. # cd myDownloads
  4. Execute InstallFedoraSounds script
  5. Respond <y> when asked "Install Fedora Sounds y/N?"
    • ie. Install Fedora Sounds y/N? y <return>
  6. Close terminal window when script is done
    • ie. "All done ..."

Enable Sounds

★ If this is a new installation of Fedora 7 or sounds events have not been enabled, then follow these steps.

  1. Open Sound Preferences

File:Artwork F8Themes GnomeSounds SoundSetupHelp.png

  1. Select the Sounds^1^ tab.
  2. (./) Check Play system sounds^2^
  3. System Sounds should match this
  4. Close dialog window
  5. Log out to activate new sound theme


Login

The login event has three tones associated with it; login ready, login successful, and login failed. The most common event to have a tone associated with it is the Login Screen Ready event.

Changing this option requires su authorization.

File:Artwork F8Themes GnomeSounds LoginSetup.png

  1. Select the Accessibility^1^ tab.
  2. (./) Check Login screen ready^2^
  3. Optional Login successful^3^
  4. Optional Login failed^3^

~-Note. I found the use of the "Login successful" and "Login failed" events [3] resulted in questionable results from system to system.-~


Install Script


Preview Screenshot

File:Artwork F8Themes GnomeSounds InstallFedoraSounds.png

Script


#!/bin/bash
#
#

clear
echo
echo "      #####                     ##"
echo "     ###                        ##"
echo "     ###                        ##"
echo "   ########   ######     ###### ##     #######    ### ###   #######"
echo "     ###    ###    ###  ###    ###   ###    ###   ####    ###     ###"
echo "     ###    ##########  ###     ##   ###     ###  ###     ###     ###"
echo "     ###    ###         ###    ###   ###    ###   ###     ###     ###"
echo "     ###     ########    ###### ##    ########    ###       ###### ##"
echo
echo
echo "                       F E D O R A   S O U N D S"
echo "                    f r e e s o u n d p r o j e c t"
echo
echo

if [ "$UID" -ne "0" ] 
then
echo
echo "This script must be run as (su), installation stopped."
echo
exit 1
fi

echo
echo -n "Install Fedora Sounds y/N? "
read ans

case $ans in
"y" | "Y" )
;;
* )
echo
echo "Thank you :)"
echo
exit;;
esac

clear
echo "One moment..."
echo

if [ ! -d "/home/$LOGNAME/.gnome/sound/" ] 
then


mkdir /home/$LOGNAME/.gnome/sound/
mkdir /home/$LOGNAME/.gnome2/sound/
mkdir /home/$LOGNAME/.gnome/sound/events/
mkdir /home/$LOGNAME/.gnome2/sound/events/

else


if [ ! -r "/home/$LOGNAME/.gnome/sound/events/gnome.soundlist_sav" ] 
then
cp /home/$LOGNAME/.gnome/sound/events/gnome.soundlist /home/$LOGNAME/.gnome/sound/events/gnome.soundlist_sav
chown $LOGNAME /home/$LOGNAME/.gnome/sound/events/gnome.soundlist_sav
fi
if [ ! -r "/home/$LOGNAME/.gnome2/sound/events/gnome-2.soundlist_sav" ] 
then
cp /home/$LOGNAME/.gnome2/sound/events/gnome-2.soundlist /home/$LOGNAME/.gnome2/sound/events/gnome-2.soundlist_sav
chown $LOGNAME /home/$LOGNAME/.gnome2/sound/events/gnome-2.soundlist_sav
fi

if [ ! -r "/home/$LOGNAME/.gnome/sound/events/gtk-events.soundlist_sav" ] 
then
cp /home/$LOGNAME/.gnome/sound/events/gtk-events.soundlist /home/$LOGNAME/.gnome/sound/events/gtk-events.soundlist_sav
chown $LOGNAME /home/$LOGNAME/.gnome/sound/events/gtk-events.soundlist_sav
fi
if [ ! -r "/home/$LOGNAME/.gnome2/sound/events/gtk-events-2.soundlist_sav" ] 
then
cp /home/$LOGNAME/.gnome2/sound/events/gtk-events-2.soundlist /home/$LOGNAME/.gnome2/sound/events/gtk-events-2.soundlist_sav
chown $LOGNAME /home/$LOGNAME/.gnome2/sound/events/gtk-events-2.soundlist_sav
fi

fi


tar xvfj FedoraSounds.tar.bz2

cp gnome.soundlist /home/$LOGNAME/.gnome/sound/events/
chown $LOGNAME /home/$LOGNAME/.gnome/sound/events/gnome.soundlist
cp gnome.soundlist /home/$LOGNAME/.gnome2/sound/events/gnome-2.soundlist
chown $LOGNAME /home/$LOGNAME/.gnome2/sound/events/gnome-2.soundlist

cp gtk-events.soundlist /home/$LOGNAME/.gnome/sound/events/
chown $LOGNAME /home/$LOGNAME/.gnome/sound/events/gtk-events.soundlist
cp gtk-events.soundlist /home/$LOGNAME/.gnome2/sound/events/gtk-events-2.soundlist
chown $LOGNAME /home/$LOGNAME/.gnome2/sound/events/gtk-events-2.soundlist

chmod 755 /home/$LOGNAME/.gnome/sound/events/*
chmod 755 /home/$LOGNAME/.gnome2/sound/events/*

rm *.soundlist


if [ -d "/usr/share/sounds/fedora" ] 
then
rm -rf /usr/share/sounds/fedora
fi

cp SoundEvents.tar.bz2 /usr/share/sounds
rm SoundEvents.tar.bz2

cd /usr/share/sounds/

tar xvfj SoundEvents.tar.bz2
rm SoundEvents.tar.bz2
chmod 755 /usr/share/sounds/fedora/*

echo
echo
echo "All done ..."
echo