script

Windows Virus Removal with Ubuntu

So my Dad's computer had a few Trojans on it - Such a pain, so much so, that he install Ubuntu!

But He still needs XP, so here's how to remove those nasty viruses with ClamAV

This would work from a Ubuntu liveCD as well, so you could just boot to a CD, and run these commands

Install ClamAV

$ sudo apt-get install clamav

Update Virus definitions

$ sudo freshclam

Find Windows Partition - You want the partition that is NTFS - That's the root windows partition - /dev/sda2 in this case

Nautilus-Script Walkthrough

A quick walkthrough on setting up scripts in the Nautilus right-click menu

Download Comics with a Script

SH scripting is so much fun! And useful. I've written a simple script that downloads various comics from different websites for the current day. Fairly simple:

GNOME Rotate Background Script

Just wrote a little script that rotates my background ever once in a while - as to not get bored!

Save as rotate.sh and make executable

#!/bin/bash

#
# Rotates GNOME Wallpaper using pictures in $FOLDER
# Run in background: ./rotate.sh &
# Make sure there are no spaces in picture filenames
# http://ubuntu.online02.com/node/37
#

FOLDER="/home/phillip/Graphics/Wallpapers/current" # Change to your directory
cd $FOLDER

loop () {
NUMBER=$(ls -1 | wc -l)
RAN=$(($RANDOM%$NUMBER+1))
FILE=$(ls -1 | sed -n ${RAN}p)
echo $FILE
gconftool-2 --set "/desktop/gnome/background/picture_filename" --type string "$FOLDER/$FILE"
sleep 55 # Time between change
loop
}
loop

XpGnome - Make Linux Look like Windows XP

Make Gnome look like XP by running this simple script:

WARNING: Run at your own risk! I take no responsibility for anything that happens to your computer!

Before / After

(click on screenshots for a bigger picture)

Syndicate content