From Fedora Project Wiki
m (1 revision(s))
No edit summary
Line 1: Line 1:
<!--
{{header|art}}
-->
 
<!-- language:en
-->
<!--
-->
<!-- Do not remove
-->
<!-- StartHeader
-->
<pre>#!html
<pre>#!html
<div style="height:66px; width:100%; background-color:#002867;">
<div style="height:66px; width:100%; background-color:#002867;">

Revision as of 04:21, 27 May 2008

#!html
<div style="height:66px; width:100%; background-color:#002867;">
<a href = "http://fedoraproject.org/wiki/Artwork"> <img style="float:right;padding-top:3px;" src="http://fedoraproject.org/wiki/Artwork?action=AttachFile&do=get&target=ArtTeamN1.png" /></a>
</div>

<HR style="height:2px; background-color:#00578E;" />


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

  • Folder:
    #!html

<span style="color:darkred;">usr/share/sounds/fedora/SelectCheckBox</span>

Choose menu item

  • Folder:
    #!html

<span style="color:darkred;">usr/share/sounds/fedora/ChooseMenuItem</span>

Click on command button

  • Folder:
    #!html

<span style="color:darkred;">usr/share/sounds/fedora/ClickCommandButton</span>

Miscellaneous message

  • Folder:
    #!html

<span style="color:darkred;">usr/share/sounds/fedora/MiscellaneousMessage</span>

Question dialog

  • Folder:
    #!html

<span style="color:darkred;">usr/share/sounds/fedora/QuestionDialog</span>

Error message

  • Folder:
    #!html

<span style="color:darkred;">usr/share/sounds/fedora/ErrorMessage</span>

Warning message

  • Folder:
    #!html

<span style="color:darkred;">usr/share/sounds/fedora/WarningMessage</span>

Informational message

  • Folder:
    #!html

<span style="color:darkred;">usr/share/sounds/fedora/InformationalMessage</span>

Log out

  • Folder:
    #!html

<span style="color:darkred;">usr/share/sounds/fedora/LogOut <sup>☀</sup></span>

Log in

  • Folder:
    #!html

<span style="color:darkred;">usr/share/sounds/fedora/LogIn <sup>☀</sup></span>

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

Gnome Login Events

File:Artwork F8Themes GnomeSounds LoginSetupPageOne.png

Login Ready

  • Folder:
    #!html

<span style="color:darkred;">usr/share/sounds/fedora/LoginReady</span>

Login Successful

  • Folder:
    #!html

<span style="color:darkred;">usr/share/sounds/fedora/LoginSuccessful</span>

Login Failed

  • Folder:
    #!html

<span style="color:darkred;">usr/share/sounds/fedora/LoginFailed</span>


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
  ▸  File:Artwork F8Themes GnomeSounds InstallFedoraSounds.sh
  ▸  File:Artwork F8Themes GnomeSounds FedoraSounds.tar.bz2 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
  ▸  ie. # sh InstallFedoraSounds .sh <return> 6. Respond <y> when asked "Install Fedora Sounds y/N?"
  ▸  ie. Install Fedora Sounds y/N? y <return> 7. 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

2.#2 Select the Sounds^1^ tab. 3. (./) Check Play system sounds^2^ 4. System Sounds should match this 5. Close dialog window 6. 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.

#!html
<span style="color:darkblue;font-size:smaller;">     ★  Changing this option requires <b>su</b> authorization.</span>

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