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

check-update_01.png

Step 2

Right click on the desktop and choose Create Laucher.

check-update_02.png

Step 3

Type "Check Update" for Name.

Type "/usr/local/bin/check-update.sh" for Command.


check-update_03.png

Step 4

Click on No Icon button and choose "up2date.png" as the icon for this script.

check-update_04.png

Step 5

Make sure to check Run in terminal box.

check-update_05.png

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.

check-update_06.png

Step 7

Double click on the Check Update on your destkop.

If you have updates available for your system, you will see following message.

check-update_07.png

Step 8

If you don't have any updates available for your system, you will see following message.

check-update_08.png


Now, you can even write another small script to actually install updates but, I'm going to leave that in your imagination. image:smile.png


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


Personal tools