Free AVG Antivirus for Ubuntu

You can get the free updates here, install as a regular package.

http://free.avg.com/download-update-7#tba1

You also need to run the following commands to get the update to work:

sudo chmod 775 /opt/grisoft/avg7/bin/avgupdate
cd /opt/grisoft/avg7/var/
sudo chmod 777 run
sudo chmod 777 update/log

I also needed to manage groups and add everyone to the AVG group, logout and login again to pickup the new virus defintion files.

Yoshinoya Beef Bowl

1. Mix the following in a sauce pan & simmer (covered)

- Soy sauce 50 ml
- White wine 195 ml
- Molasses 1 Tbsp
- Brown sugar 3 Tbsp
- Sake 1 Tbsp
- Salt 1 tsp
- Black pepper 1tsp (20 grinds)
- Ground ginger 1/4 tsp
- Garlic 1/2 clove
- Boulion (smidgen) 1tsp

2. Cut 2 onions like moon 1" wide
3. Add onion to sauce cook 15 mins. until tender and almost brown colored
4. Add sliced beef, and simmer for 5 mins. until cooked

Simple Time Difference

#!/usr/bin/perl
use Time::Local;

print &daysFromNow('20','NOV','08');

exit 0;

# timegm returns seconds from 1970
# its format is (0,0,0,day 1..31,month 0..11,year)
sub daysFromNow
{
my $date2checkDD = $_[ 0 ];
my $date2checkMMM = $_[ 1 ];
my $date2checkYY = $_[ 2 ];

my $check_day = $date2checkDD;
my $check_month;
if ( $date2checkMMM eq 'JAN' ) { $check_month = 0; }
elsif ( $date2checkMMM eq 'FEB' ) { $check_month = 1; }
elsif ( $date2checkMMM eq 'MAR' ) { $check_month = 2; }
elsif ( $date2checkMMM eq 'APR' ) { $check_month = 3; }
elsif ( $date2checkMMM eq 'MAY' ) { $check_month = 4; }
elsif ( $date2checkMMM eq 'JUN' ) { $check_month = 5; }
elsif ( $date2checkMMM eq 'JUL' ) { $check_month = 6; }
elsif ( $date2checkMMM eq 'AUG' ) { $check_month = 7; }
elsif ( $date2checkMMM eq 'SEP' ) { $check_month = 8; }
elsif ( $date2checkMMM eq 'OCT' ) { $check_month = 9; }
elsif ( $date2checkMMM eq 'NOV' ) { $check_month = 10; }
elsif ( $date2checkMMM eq 'DEC' ) { $check_month = 11; }
my $check_year = "20$date2checkYY";

my ( $sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst ) = localtime( time );
$time_1=timegm(0,0,0,$mday,$mon,$year);
$time_2=timegm(0,0,0,$check_day,$check_month,$check_year);

$seconds = $time_2 - $time_1;
$days = $seconds / 86400; # 60*60*24 = 86400
return $days;
}

Using apt-get

Update your cache:
apt-get update

Get a list of all packages available, make sure to
apt-cache pkgnames > readme.txt

Install the following:
sudo apt-get install apt-show-versions

This allows you to show all versions installed:
apt-show-versions | sort > readme.txt

A couple of switches are available too:
-u (print only upgradeable packages)

There are more switches available, use apt-show-versions --help for more information.

Completely remove a package
apt-get --purge remove

Session Monitor timeoutd

Use this daemon to monitor logon usage and timeout the user.  For example:

# Format:  TIMES:TTYS:USERS:GROUPS:MAXIDLE:MAXSESS:MAXDAY:WARN
Al:*:joseph:*:*:30:*:5

30 minutes of session usage with 5 minutes of warning

This is started, you can monitor if it exists by

ps -A | grep -i timeoutd

The configuration file is:
/etc/timeouts

Ubuntu Installation

Seeing Network Drives / Get Samba Working

For the Desktop it looks like only the workgroup was added to get the network drive to work.

Step 1: SMBNetFS is a Linux/FreeBSD filesystem that allow you to use samba/microsoft network in the same manner as the network neighborhood in Microsoft Windows. (Refer: ubuntuforums) Run the following command:
sudo apt-get smbnetfs

Step 2: Change you work group:
sudo gedit /etc/samba/smb.conf

Scroll down until you find the Global Settings section and look for WORKGROUP, change it to your workgroup, save and reboot for changes to take effect.

Step 3: User the following command to add a user to samba:
sudo smbpassd -a username

Get a list of all shares for that host name, it means samba is working but nautilus is not interpreting the output as it should. HOSTNAME = host name or ip address.
smbclient --list=HOSTNAME

Playback Codecs and other goodies

Step 1: Install fonts and various codecs by add/remove programs, searching for "Ubuntu Restricted Extras"

DVD Playback
How to install DVD playback for Ubuntu 8.10

Step 1: Get libdvdread3 package
sudo apt-get install libdvdread3

Step 2: Run setup
sudo /usr/share/doc/libdvdread3/install-css.sh

Microsoft Fonts
Refer: Installing libdvdcss2Installing Microsoft Truetype fonts on Ubuntu

Step 1: You can install the MS core fonts by installing the msttcorefonts package. To do this, enable the "Universe" component of the repositories. This is done by default in Feisty. After you do that, use the following command from the command line:
sudo apt-get install msttcorefonts

This will give you the core fonts, but if there are other TrueType fonts that you want installed, it is as easy as copying the font files to the ~/.fonts/ directory.

Step 2: After installing new fonts, you will have to log out and log in again to be able to see and use the new fonts. If you want to avoid this, you can regenerate the fonts cache by issuing the following command:
sudo fc-cache -fv

Other Tweaks

  • Turn off thumbnail previews in Nautilus, it creates a .Thumbnails folder in your home directory that can get quite large over time; otherwise, you probably want to institute some type of regular cleanup for it.  It's currently in Edit, Preferences, Preview, Show Thumbnails (never)