Tip of the Week 2005-08-01
From FedoraNEWS.ORG
Welcome to Tip of the Week!
Tip of the Week releases on every monday with Fedora Weekly News.
Tip of the Week: Check Update Script with Desktop Launcher
This will help you write a small script with a Desktop Launcher to check updates upon request in Fedora Core 4 - submitted by Thomas Chung.
Before we begin, please make sure your user account has sudo privilege.
Step 1
Open a terminal and type following command:
$ sudo gedit /usr/local/bin/check-update.sh
Type the content of this script (http://fedoranews.org/tchung/check-update/check-update.sh).
Change permission of the script as an executable.
$ sudo chmod 755 /usr/local/bin/check-update.sh
Step 2
Right click on the desktop and choose Create Laucher.
Step 3
Type "Check Update" for Name.
Type "/usr/local/bin/check-update.sh" for Command.
Step 4
Click on No Icon button and choose "up2date.png" as the icon for this script.
Step 5
Make sure to check Run in terminal box.
Step 6
Now you should see following a Launcher called Check Update on your desktop.
If you don't see it, simply Log Out and Log Back In.
Step 7
Double click on the Check Update on your destkop.
If you have updates available for your system, you will see following message.
Step 8
If you don't have any updates available for your system, you will see following message.
Now, you can even write another small script to actually install updates but, I'm going to leave that in your imagination.
Previous Tips of the Week Can be found Here: Tips of the IceBurg
Add a Tip
If you have a tip you want to add, contact Tejas Dinkar (mailto:tejasdinkar@gmail.com).

