The Ubuntu Stories

West Side Story, only better. With computers. And robots who say “Ni!”.

Archive for the ‘8.04 Hardy Heron’ Category

Upgrade Flash (increasing performance)

without comments

Seeing that Flash takes up a prominent position on the web these days, Flash performance is crucial to a decent OS nowadays. And let that be one of the biggest problems I have with Ubuntu: Flash performance is good when I play only 1 movie and/or flash website at a time, but when I open up two, the problems start: videos are not playing smooth, audio sync is off, …

With Flash Player 10, performance is increased immensely. I can play multiple flash videos at a time, without any problems at all. Problem is: the new flash player is not yet included in the sources of apt-get, so you won’t get an automatic update. So, here’s a quick HOW-TO:

(1) Close all Firefox-windows.

(2) Open up a terminal, and type in the following command:

sudo apt-get remove flashplugin-nonfree

(3) Go to http://labs.adobe.com/downloads/flashplayer10.html, and download the .TAR.GZ version for Linux. Please note: this is a pre-release version (at the moment of typing, at least)! Save the file in your home-directory (or where you want it). Then navigate to that directory in you terminal (if you saved it in your homedirectory, if you open a new terminal, you’re in your home-directory).

(4) Execute following commands:

tar -xf flashplayer10_install_linux_070208.tar.gz
cd install_flash_player_10_linux
sudo su
./flashplayer-installer

What you are doing:
- untar the .tar.gz in the current directory
- go to the folder you just extracted
- identify yourself as root (don’t use this too often, rather use sudo when you can)
- execute the installer

(5) Just follow through the installer.

Voilà!

Written by Gerre

9 July, 2008 at 13:29

White screen after installing new kernel

without comments

Ever since I’ve downloaded and compiled 2.6.24-17, I’ve been having trouble with it. Every time I start up, I constantly get a white screen, and nothing more. After a lot of Googling, I’ve figured out that it probably has something to do with the X-server – I was suspecting this, since I could boot up in the -16 kernel perfectly, while every attempt with a more recent kernel seems to fail (I had the same problem with the -18 kernel, as well as the most recent kernel, the -19), and everything compiled just fine with every install.

Now, I’ve figured out a way to get it working again – to be honest, I stumbled upon it by accident :-) Anyway, this is how I got it working again:

Step 1: make sure you have Envy (Envy is a tool to automaticly install and configure the ATi and Nvidia-driver). I know I stated in a previous post that you best started from the ATi-installer, but Envy has been updated, and it seems to work fine now.

First, make sure you remove all previous versions by typing in a terminal:

sudo apt-get remove envy
sudo apt-get remove envyng
sudo rm -R /usr/share/envy

Then, update your apt-get resources:

sudo apt-get update

Install Envy using this command:

sudo apt-get install envyng-gtk

If you’re using Kubuntu (if you’re not sure, use the GTK-version!!), this would be:

sudo apt-get install envyng-qt

For more information on installing Envy: http://albertomilone.com/envyngfaq.html#A

Step 2: boot into the “non-working” kernel, by choosing it via Grub (or Lilo, or whatever bootmanager you’re using).

Step 3: when on the white screen, use the key-combination Ctrl+Alt+F2 to get a command-line interface. Log in using your login and password.

Step 4: use the following command to get out again:

sudo shutdown now

Now, Ubuntu will popup a menu with 4 options, among which are ‘resume’ and ‘xfix’. Choose the option ‘xfix’ here. This will set your X-server to a default configuration again (Note: this also applies to your keyboard! For me, Ubuntu set my keyboard to a QWERTY-configuration all of a sudden, so do think of that when logging in afterwards!).

When the xfix is done, you can just boot into your ‘white-screen-kernel’, and see that everything works again!

Step 5: everything works, however, we don’t have fglrx anymore. That’s why we downloaded Envy to start with. Boot it up, by finding it in your menu (Applications -> System Tools -> Envy).

Just choose the automatic installation of the driver (for me, this was the ATi-driver). Afterwards, just reboot, and voilà: the most recent kernel is working perfectly, with fglrx!

Notes afterwards:

- If you do not have a ATi or Nvidia card, you can probably reïnstall your driver, and skip Step 1 and Step 5. You can also reconfigure the X-server with the following command:

dpkg-reconfigure xserver-xorg

Written by Gerre

28 June, 2008 at 15:51

Excessive CPU usage in FireFox Beta 3

without comments

With the latest version of Ubuntu comes also the latest beta version of Firefox (which is, at time of writing, version FF 3 beta 5). Now, this version is still a beta version, which means that it may contain bugs. In fact, it contains 1 serious bug, being the fact that the CPU gets a 100% usage load when you use Firefox.

The problem lies in the security-settings of Firefox. In a default configuration, Firefox checks if you are accessing a suspected attack site. If you have enabled it, it even checks if you’re accessing a phishing site (a forgery site, as it is called). When you access a site containing Javascript, Firefox will go nuts, and this will eventually result in a high processor load – which is never good.

Now, there is a very simple workaround, given the fact that you will have to turn off the security settings. Go about it as follows:

(1) in Firefox, go to your preferences (Edit -> Preferences). Go to the Security-tab, and uncheck following options:

- Tell me if the site I’m visiting is a suspected attack site
- Tell me if the site I’m visiting is a suspected forgery site

Then, close down Firefox completely.

(2) go to your Home Folder (Places -> Home Folder). Make sure you’re able to view hidden files and folders (by pressing either Ctrl+H, or go to View -> Show Hidden Files).

(3) navigate to /home/(username)/.mozilla/firefox/xxxxxxxx.default/

The folder may vary, but the name always ends in .default .

(4) delete the file urlclassifier3.sqlite and (if present) the file urlclassifier3.sqlite-journal.

(5) restart Firefox. The file urlclassifier3.sqlite will be recreated, but this time, it will stay about 9 kB, without getting any bigger.

Note: you have to repeat this for every user account!

Enjoy your Firefox v3!

Written by Gerre

9 May, 2008 at 22:37

Hardy Heron on the Dell 1501 Inspiron

with 3 comments

As I’ve said, my own first resource for my Ubuntu installation is redDEAD’s site. He posted an evaluation on installing the latest Ubuntu on his site, which I’ll paste here, and fill in my comments.

Read the rest of this entry »

Written by Gerre

2 May, 2008 at 21:26

On with yee!

without comments

Hi all!

Been a long time. Looking at the posts, it’s been almost a year! So, happy 1 year of doing nothing on my blog for me – hooray! :)

So, what to do? First off, I’m going to kick this site back into action. From now on, this site will continue from Ubuntu 8.04, the newest release.

I think, without further ado, I’ll just start posting. But not before mentioning the site that inspired me of starting my own blog in the first place: redDEAD’s site. I’m not going to rewrite all his articles, you’ll find them at his site :)

Written by Gerre

2 May, 2008 at 20:31