Posts Tagged ‘ubuntu’

The trouble with KMS

2010/07/05

Kernel Mode Setting in Ubuntu 10.04 is a superb thing when it work.

What KMS gives:
* Flicker free switching from X to terminal (using CTRL-ALT-F1)
* Nice full resolution boot logo

What bad side-effects it gives some computers:
* Suspend/Hibernat not working
* Open GL only in software mode (Slow)

Here is how to disable it:
sudo nano /etc/default/grub

Then look for the line
GRUB_CMDLINE_LINUX=””
and change it to
GRUB_CMDLINE_LINUX=”nomodeset”

sudo update-grub

That’s it!

Locale setting in Lotus Notes

2010/05/27

I want to run my Ubuntu desktop running with en_US locale, but using international standars for time,date etc. Lotus Notes does pick up the en_US locale and presents date, time etc in this format – and I dont want that. So this is what I put into my notes.ini to get standard format:

Run this command:

gedit /home/<put username here>/lotus/notes/data/notes.ini

Then add:
DateOrder=YMD
DateSeparator=-
TimeSeparator=:
CLOCKTYPE=24_HOUR

Here are a screen shot with some love from international standards:


Switch to a newer kernel in Ubuntu 10.04

2010/05/26

Sometimes a newer kernel is necessary because there are newer drivers in there. If you’re having trouble with hibernate/suspend, wlan, bluetooth etc. Switching to new kernel can be a good idea.

Default kernel in 10.04 is 2.6.32 and this guide will help you update to 2.6.34.

When installing this kernel will be default because it has a higher number than 2.6.32.

During boot hold “shift” key pressed to display boot menu.

Propetary drivers graphic and wlan drivers might stop working. You have been warned.

For 32bit:
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-headers-2.6.34-020634-generic_2.6.34-020634_i386.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-image-2.6.34-020634-generic_2.6.34-020634_i386.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-headers-2.6.34-020634_2.6.34-020634_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-source-2.6.34_2.6.34-020634_all.deb

For 64bit:
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-headers-2.6.34-020634-generic_2.6.34-020634_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-headers-2.6.34-020634_2.6.34-020634_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-image-2.6.34-020634-generic_2.6.34-020634_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-lucid/linux-source-2.6.34_2.6.34-020634_all.deb

Run this command in the same catalog as above files are downloaded:
sudo dpkg -i *.deb

Now do a restart.

If you are having trouble getting wlan to run on Broadcom chipset after upgrade. Run these commands:

cd /usr/src/linux-headers-2.6.34-020634-generic/include
sudo cp generated/* linux/

Update 2010-06-08

Some information how to uninstall it might be handy.

To uninstall 2.6.34 run these commands:

sudo dpkg –purge linux-headers-2.6.34-020634 linux-headers-2.6.34-020634-generic linux-image-2.6.34-020634-generic linux-source-2.6.34

Update 2010-06-22

Dont worry about Ubuntus updates to newer 2.6.32 or 2.6.33 kernels, they will have a lower priority in GRUB and therefore not be used as default kernel. So accept all kernel updates that update-manager offers.

Backup solution for Ubuntu

2010/03/10

I was looking for a good-enough backup solution for Ubuntu. After a few minutes of googling I settled for Back In Time http://backintime.le-web.org/ .

It wonderful, I can set it to backup my software every hour (or more, or less). Which keeps med happy. Sometime I do stupid thing like edit a document and press Ctrl-A and then enter, and then Ctrl-S and I dont realize this until the next time I open the document again.

It keeps snapshots of the filesystem. So that I can go back to every hour since it started. Never again loose a document!

It a one-click-install on ubuntu. And then create a folder, for example, Backups in your home directory. Then in Back in Time select which folder to backup and how often, and where the backups should go.

Welcome Ubuntu One

2010/03/10

Ubuntu is incredible in many ways. One of them is 2GB free storage in the cloud.

It’s very easy to install. Just start it from System->Preferences

You can attach several computers to your free account, so that /home/username/Ubuntu One will contain identical files across two or more computers.


Follow

Get every new post delivered to your Inbox.