Saturday, December 3, 2011

DVD Keys for Ubuntu 10.04 10.10 and 11.04

If you need new keys, or to update the keys for dvds then do the following in 10.04 through 11.04

sudo apt-get install libdvdread4
sudo /usr/share/doc/libdvdread4/install-css.sh

More information at: https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs

Thursday, December 1, 2011

Overclocking ATI cards

http://www.overclock.net/t/517861/how-to-overclocking-ati-cards-in-linux

This post gives a nice tutorial on overclocking you ati card, basically do

aticonfig --od-enable
aticonfig --odgc
aticonfig --odsc=800,900
aticonfig --odgc

Should reflect the new over clock setting.

Wednesday, November 30, 2011

Benchmarking

Here is a good site about bench marking graphics http://dri.freedesktop.org/wiki/Benchmarking

Data Recovery

This is my method for data recovery of an entire hard drive (adapted from https://help.ubuntu.com/community/DataRecovery)

Need installed:
gddrescue
foremost

sudo apt-get install gddrescue foremost

First connect the hard drive to an external drive reader, in an enclosure, or plug into the computer. Now use fdisk to read where it is at

sudo fdisk -l

once you know where the disk it use ddrescue to make an image file of the drive

sudo ddrescue --no-split /dev/hda1 imagefile logfile

If there are errors run

ddrescue --direct --max-retries=3 /dev/hda1 imagefile logfile

If you still have unread parts use

ddrescue --direct --retrim --max-retries=3 /dev/hda1 imagefile logfile

this should have recovered about all you are going to get

use the testdisk program to go in and copy the data out, (you can use this in the first place to repair partitions)

Canon MP560 Printer Troubles

So I installed Linux Mint 12 and my printer wouldn't work. I went back and installed Ubuntu 11.04 and my printer which used to work now no longer does. I have checked out the bug below and it seems to be mine (maybe)

here is a ppa I installed

https://launchpad.net/~till-kamppeter/+archive/ppa?field.series_filter=oneiric

here is the instructions I used to try and get the install script to work


and


Also tried this solution of changing permissions

https://bugs.launchpad.net/ubuntu/+source/cups/+bug/436544

sudo
sudo chown -hR root /usr/lib/cups/filter
sudo chown -hR root /usr/lib/cups/backend
sudo chgrp -hR root /usr/lib/cups/filter
sudo chgrp -hR root /usr/lib/cups/backend
/etc/init.d/cups restart

still no luck

Install new kernals in Ubuntu

To install new kernals in ubuntu can be pretty easy. Here is the simplest way I know how.

download the following three packages

linux-headers...all.deb
linux-headers...amd64(i386).deb
linux-image...amd64(i386).deb


There is more information about this process at https://wiki.ubuntu.com/Kernel/MainlineBuilds

Now just install with
sudo dpkg -i linux-headers...all.deb linux-headers...amd64(i386).deb linux-image...amd64(i386).deb

**IMPORTANT**
The order that you load the headers and image is important so make sure you pay attention like I have shown above.

Also don't delete previous kernals in case things don't work out.

Tuesday, November 29, 2011

Ubuntu 11.04 Setup

So I tried to like ubuntu 11.10, and then I tried xubuntu, then kubuntu 11.10, then I tried linux mint 12. I really liked linux mint 12, but my webcam no longer worked, nor my printer and so I have reverted back to Ubuntu 11.04. Here I will document what I like to do to get a fully loaded computer for my self.

First Add PPAs:
ppa:rawtherapee/ppa (change to Lucid)
ppa:ubuntu-wine/ppa
ppa:team-xbmc/unstable
ppa:jd-team/jdownloader

Next install some packages:
chromium-browser
rawtherapee
xbmc
wine1.3
ubuntu-restricted-extras
vlc
sensors-applet
openarena
snes9x-x
dosbox
emacs


skype
download the .deb at http://www.skype.com/intl/en-us/get-skype/on-your-computer/linux/downloading.ubuntu64

dropbox
sudo apt-get install python-gpgme

Next post I will go over the installation of programs that need configuration and/or compiling.