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.

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)

Attempt to speed up FTP in Ubuntu

Try installing FileZilla instead.

sudo gedit /etc/modprobe.d/aliases

Replace

alias net-pf-10 ipv6

with

alias net-pf-10 off

and reboot.  After that, 'ifconfig' should no longer show any scary looking hex-notated IP addresses.

Update: It did not help FTP speed.  Change rolled back...

Install ffmpeg Ubuntu

sudo apt-get install ffmpeg

convert .flv to .mpg using ffmpeg

First you need to download your .flv file to a folder and you need to Open a terminal window and go in to the .flv file folder and type the following command

ffmpeg -i jokes.flv -ab 56 -ar 22050 -b 500 -s 320×240 jokes.mpg

Currently untested, but possible way to convert to MPG4.  It properly converted the flv to an mp4 but when I tried to burn the mp4 to DVD using Nero the audio was lost.  Properly need to properly convert the audio.

According to google search, the AC3 filter must be installed, that did not do the trick Ubuntu must have used some other codec to encode the audio where VLC had the built-in codecs.
http://ac3filter.net/project/1/releases (ac3filter_1_51a.exe)

ffmpeg -i inputfile.flv -acodec copy -vcodec mpeg4 outputfile.mp4

jokes.flv is the file you want to convert, so the name must be the same as the source file.You can name jokes.mpg whatever you want as long as it has the .mpg extension.

-b bitrate: set the video bitrate in kbit/s (default = 200 kb/s)
-ab bitrate: set the audio bitrate in kbit/s (default = 64)
-ar sample rate: set the audio samplerate in Hz (default = 44100 Hz)
-s size: set frame size. The format is WxH (default 160×128 )

Update:

I was able to convert an FLV file directly to DVD using the application DeVeDe.  It's a bit basic but it was able to create a DVD with a menu system too.  The audio ended up being on Track 3 for the test.  It looks like audio moves around a little and I don't know how to specifiy where to put it.  The program writes its output to an ISO which you can then test.