Artwork/ArtTeamProjects/Fedora7Remix/Rhgb/Progress

From FedoraProject

Jump to: navigation, search
Artwork ArtTeamProjects WikiDesign ArtTeamN1.png


Under construction

General

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
  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
  5. Respond <y> when asked "Proceed y/N?"
    • ie. Proceed y/N? y <return>
  6. 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