Friday, July 24, 2009

Matlab & Compiz incompatibility

I was using Matlab 2009 without any problems when one fine day I decide to enable Compiz on my laptop. I find that the graphics from Matlab suddenly turned haywire. I found this solution:

In /usr/local/matlab09/toolbox/local/hgrc.m replace the line

monitors = get(0, 'MonitorPositions');
with
monitors = [0,0,1280,800;1281,801,1280,800];

The original post can be found here.

Jaunty Jackalope on Dell Studio 15

I recently bought a Dell Studio 15 laptop. I installed Ubuntu 9.04 (Jaunty Jackalope) on it. I faced a few problems which my friend Saugata aka Jones and myself resolved one by one.
Initially the problem was with the bluetooth mouse: using this link this problem was resolved.
Next, the problem with sound; The path to success lay in installing and running gnome-alsamixer.

sudo apt-get install gnome-alsamixer

and edit the file /etc/modprobe.d/alsa-base.conf to add to the end:

options snd-hda-intel model=dell-m6

So, anyone interested in a Dell Studio 15 (or 17) with the recent versions of Ubuntu should see this site. Unfortunately the original site is in French; so some of the translations could be misleading. For example the 4th column for 'At a glance' table should be read as 'Sound' which runs with Jaunty only after some manipulations.

I still have a problem which has not been resloved; there is a very sharp beep when I logout. It is irritating & sometimes with earphones it can be really a pain in the ears !