From Fedora Project Wiki

Revision as of 16:29, 24 May 2008 by Ravidiip (talk | contribs) (1 revision(s))

Artwork, , from="StartHeader", to="EndHeader"

Under construction

General

File:Artwork ArtTeamProjects Fedora7Remix Rhgb Progress ProgressMockup.png

Download: File:Artwork ArtTeamProjects Fedora7Remix Rhgb Progress progress 706112.svg SVG File]

The progress window is a glassy effect to house the throbber animation and the progress bar. It is presented above on a beige background.

Installation

The completed image should be named 'progress.png' and must reside in the '/usr/share/rhgb/' folder.

1. Download the following files
  ▸  File:Artwork ArtTeamProjects Fedora7Remix Rhgb Progress InstallProgressImage.sh
  ▸  File:Artwork ArtTeamProjects Fedora7Remix Rhgb Progress progress.png progress.png]
  ▸  File:Artwork ArtTeamProjects Fedora7Remix Rhgb Progress UninstallProgressImage.sh 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 InstallProgressImage .sh script
  ▸  ie. # sh InstallProgressImage .sh <return> 6. Respond <y> when asked "Proceed y/N?"
  ▸  ie. Proceed y/N? y <return> 7. Close terminal window when script is done
  ▸  ie. "All done ..."

Reboot your computer to view the changes.


~+Installation Script+~


#!/bin/bash
#
#
#
clear
echo
echo "      #####                     ##"
echo "     ###                        ##"
echo "     ###                        ##"
echo "   ########   ######     ###### ##     #######    ### ###   #######"
echo "     ###    ###    ###  ###    ###   ###    ###   ####    ###     ###"
echo "     ###    ##########  ###     ##   ###     ###  ###     ###     ###"
echo "     ###    ###         ###    ###   ###    ###   ###     ###     ###"
echo "     ###     ########    ###### ##    ########    ###       ###### ##"
echo
echo "                     RHGB Progress Image Installation"
echo
echo
echo

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

echo -n "Proceed y/N? "
read ans

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

#
#
if [ ! -r "/usr/share/rhgb/progress.png.sav" ] 
then
echo
echo "Copying current image to (progress.png.sav) ..."
cp /usr/share/rhgb/progress.png /usr/share/rhgb/progress.png.sav
fi

#
#
cp progress.png /usr/share/rhgb/progress.png
chmod 755 /usr/share/rhgb/progress.png

echo
echo "Done ..."
echo