From Fedora Project Wiki
m (1 revision(s))
m (→‎Installation: Fixed structure and links)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<!--
{{header|art}}
-->
<!-- language:en
-->
<!--
-->
<!-- Pull Header from Artwork
-->
{{:Artwork, , from="StartHeader", to="EndHeader"}}
 
{| style="width:98%" style="text-align:left; padding:0px; border:0; width:50px;"
|}


<pre>
<pre>
Line 28: Line 17:
The completed image should be named ''''progress.png'''' and must reside in the ''''/usr/share/rhgb/'''' folder.
The completed image should be named ''''progress.png'''' and must reside in the ''''/usr/share/rhgb/'''' folder.


1. Download the following files <BR>&nbsp;&nbsp;&#9656;&nbsp;&nbsp;[[Image:Artwork_ArtTeamProjects_Fedora7Remix_Rhgb_Progress_InstallProgressImage.sh]] <BR>&nbsp;&nbsp;&#9656;&nbsp;&nbsp;[[Image:Artwork_ArtTeamProjects_Fedora7Remix_Rhgb_Progress_progress.png]] progress.png]  <BR>&nbsp;&nbsp;&#9656;&nbsp;&nbsp;[[Image:Artwork_ArtTeamProjects_Fedora7Remix_Rhgb_Progress_UninstallProgressImage.sh]]
# Download the following files
2. Open a terminal session and login as root <BR>&nbsp;&nbsp;&#9656;&nbsp;&nbsp;ie. $ '''su''' <return>
#* [[Image:Artwork_ArtTeamProjects_Fedora7Remix_Rhgb_Progress_InstallProgressImage.sh]]
3. Navigate to the folder containing the above files <BR>&nbsp;&nbsp;&#9656;&nbsp;&nbsp;ie. # '''cd myDownloads'''
#* [[:Image:Artwork_ArtTeamProjects_Fedora7Remix_Rhgb_Progress_progress.png]]
4. Execute [[InstallScript|  InstallProgressImage]] .sh script <BR>&nbsp;&nbsp;&#9656;&nbsp;&nbsp;ie. # '''sh [[InstallScript|  InstallProgressImage]] .sh''' <return>
#* [[Image:Artwork_ArtTeamProjects_Fedora7Remix_Rhgb_Progress_UninstallProgressImage.sh]]
6. Respond <y> when asked "Proceed y/N?" <BR>&nbsp;&nbsp;&#9656;&nbsp;&nbsp;ie. Proceed y/N? '''y''' <return>
# Open a terminal session and login as root
7. Close terminal window when script is done <BR>&nbsp;&nbsp;&#9656;&nbsp;&nbsp;ie. "All done ..."
#* ie. $ '''su''' <return>
# Navigate to the folder containing the above files
#* ie. # '''cd myDownloads'''
# Execute [[#InstallScript|  InstallProgressImage]].sh script
#* ie. # '''sh [[#InstallScript|  InstallProgressImage]].sh''' <return>
# Respond <y> when asked "Proceed y/N?"
#* ie. Proceed y/N? '''y''' <return>
# Close terminal window when script is done
#* ie. "All done ..."


Reboot your computer to view the changes.
Reboot your computer to view the changes.

Latest revision as of 17:31, 29 May 2008

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
  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