Saturday, 24 May 2008

Howto Increase video performance in Ubuntu

On some reasons by default these modules are not present in X11 config, but, to the measure for me these modules in 2 times accelerate the capacity of performance.



First you need to take the backup of your xorg.conf file using the following command

cp /etc/X11/xorg.conf /etc/X11/xorg.conf.back

Now you need to edit /etc/X11/xorg.conf file using the following command

sudo gedit /etc/X11/xorg.conf

Add the following lines

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx" # If you have VESA driver, comment this.
Load "int10"
Load "vbe"
EndSection

Save and exit the file.

Read More......

Howto Setup Lexmark Z55 printer in Ubuntu Hardy Heron

This tutorial describes how to install a Lexmark Z55 printer on Hardy Heron.

By default the wrong driver is installed for the Z55 which causes the printer to squeal and fail to print. A driver is available from the Lexmark website for Linux rpm distributions.


1. Download

Download the file CJLZ55LE-CUPS-1.0-1.TAR.GZ from the Drivers and Downloads section of the Lexmark website. Select a Linux distribution such as Mandrake.

2. Uninstall the existing driver

System->Administration->Printing

Expand "Local Printers"

Click on "Lexmark_Z55" to select it

Press the "Delete" button and confirm with OK

3. Create directory

Create a directory to work in and move the downloaded file into this new directory.

mkdir lexmark

mv CJLZ55LE-CUPS-1.0-1.TAR.GZ lexmark

4. Extract rpm files from the download

tail -n +143 lexmarkz55-CUPS-1.0-1.gz.sh > install.tgz

tar -xvzf install.tgz

5. Convert rpm files into deb packages

First install the alien package if you have not already done so.

sudo apt-get install alien

Now convert the files ignoring any warnings.

sudo alien lexmarkz55-CUPS-1.0-1.i386.rpm

sudo alien z55llpddk-2.0-2.i386.rpm

Save the deb files in a safe place. For subsequent installations you can use these files.

6. Install the packages

The deb files can now be installed using any method you prefer. To install from the command line type:

sudo dpkg -i z55llpddk_2.0-3_i386.deb

sudo dpkg -i lexmarkz55-cups_1.0-2_i386.deb

7. Unzip ppd file


cd /usr/share/cups/model

sudo gunzip Lexmark-Z55-lxz55cj-cups.ppd.gz

8. Install the new driver

System->Administration->Printing

Press the "New Printer" button

Select "Lexmark Z55 USB #1"

Press "Forward"

Select "Provide PPD file"

Click on the file icon on the right hand side of the box below

Using the file picker select /usr/share/cups/model/Lexmark-Z55-lxz55cj-cups.ppd

Press "Forward"


Press "Apply"

Read More......

Thursday, 22 May 2008

Auto-mounting internal drives in Ubuntu

So I've noticed when running Ubuntu that while my external drives will show up on my desktop when I turn the computer on, my internal drives don't. They were still accessible from the Places Menu, but they had to mount on the first click, and then I could open them. Obviously, this is not the desired behavior. So I did a bit of digging and I found the problem. HAL apparently tells gnome-volume-manager not to auto-mount internal drives. I found the file containing this policy, and fixed the problem.

The file is this one:

/etc/hal/fdi/policy/preferences.fdi

sudo gedit /etc/hal/fdi/policy/preferences.fdi

To fix it so that internal drives will show up on your desktop when you boot up, change this line

Read More......

PDF printing from Firefox in Ubuntu Hardy

Hopefully, this will prove useful to anyone who is trying to print a webpage using the CUPS-PDF virtual printer only to find that the resulting file has truncated text because the webpage was too wide (e.g. menu frame on the side).


Resizing the page using Zoom only changes what you see on the screen rather than what you print.

1. In Firefox, use FILE - PAGE SETUP to change the size to something larger, e.g. A3

2. Then CTRL+P to print, but instead of using the 'Print to PDF' option, choose 'Print to File instead. In the window that opens, then select PDF as 'Output Format'.

Read More......

Getting your Dell service tag number from command line in Ubuntu

If you’re using Ubuntu with a Dell computer, there is a handy command to get your service tag number. This is handy in support situations when the service tag number can’t be read because it’s inaccessible, too small, or simply gone.


Open the terminal window in the Accessories > Applications menu and type the following command

sudo dmidecode -s system-serial-number

Read More......