Mathematica 7 high cpu usage on linux kernels 2.6.28+

aboSamoor | July 22, 2009 | 11:52 am

According to the email from then wolfram support, there is a patched shared libraries for the new linux kernels. Apparently, Mathematica having problems running on 2.6.28+. I followed the email of the technical support and it worked for me ;) and the cpu usage dropped from 80%+ on average to less than 5% !!!

The solution as mention in ubuntu forums [1]

  1. Download the file here:

    http://download.wolfram.com/?key=61JJHE

  2. Place the shared library in
    /usr/local/Wolfram/Mathematica/7.0/SystemFiles/Libraries/Linux
  3. Download these files:

    http://download.wolfram.com/?key=MK4ZR8
    http://download.wolfram.com/?key=YHDAH4

  4. Place them in
    /usr/local/Wolfram/Mathematica/7.0/SystemFiles/Libraries/Linux-x86-64

Good Luck :)

Missing icons in Matlab, Ubuntu, Linux

aboSamoor | October 24, 2008 | 12:06 pm

Running Matlab in linux is as easy as windows, but if you are running compiz you will miss the icons in matlab !!!
To solve that you have many options

Read the rest of this entry »

How to run KDE3.4 desktop on Cygwin

mohqas | October 22, 2008 | 1:01 pm

Cygwin is a POSIX emulator layer for windows, it can be very handy for running most of Linux useful tools !, I had a long struggle installing Linux on my machine because all my HDDs are dynamic! (which is a big pain in the ass, luckily Linux now support those drives) so I had to find an alternative, and that was Cygwin.
I used it to run some tools such as NS2 network emulator and SSH, I thought I’d take this a step further and run a Linux desktop on it to make it more user friendly, finding gnome libraries was a hopeless case ! so i went for KDE, and I thought sharing the experience would be useful for the fact that finding a way to do it was really annoying :S, so here you go, the steps:
Read the rest of this entry »

Install empathy on ubuntu linux, hardy 8.04.1

aboSamoor | October 2, 2008 | 12:17 pm

Empathy is a new instant messaging client in Gnome 2.24 which aim to replace pidgin and Ekiga. It provide voice and video chat services besides the usual text chatting service.

Read the rest of this entry »

Using Prolog on Ubuntu

tawfiq86 | June 1, 2008 | 12:43 am

This semester, I opted for a course in Artificial Intelligence. To make the long story short, we had to use Prolog.

I was new to the whole language and structure, but what made me really uneasy was I did not know how to use it on Ubuntu.

Here is how to do it:

Go to your terminal and type:

sudo apt-get install swi-prolog

This will install the swi-prolog interpreter on your computer. Note that you can search for other things relating to Prolog such as documentation etc through typing in terminal

sudo apt-cache search prolog

Now, after you have installed the interpreter it is time to start writing programmes !!!

First open a new gedit (or any other text editor to that effect) and type the following at the head of the document:

#!/usr/bin/swipl -s

The body of the program should follow.

Remember to save the file with the .pl extension as well.

Finally, open terminal again. This time find the directory in which you have the program, if it were the Desktop for instance type:

cd Desktop

now, type:

prolog <name of the programme with .pl extension>

and have a blast!!!!!

p.s. Do not type the name between parenthesis, I only used them as delimiters to show you where to type the name.

Fix flash sound problems on Hardy

aboSamoor | May 16, 2008 | 11:04 pm

Sometimes playing flash on hardy becomes painful, the youtube videos are playing without sound or with very low one, i suggest the following trick to solve that, hoping it will work :)

sudo apt-get install libflashsupport

–Good Luck

Make your alarm in Ubuntu

aboSamoor | | 12:14 pm

As most of the linux users machines are working more than 24 hours a day :P . It will be a good idea make your PC an alarm instead of buying another device ;) , i searched for a solution and i preferred the one packaged already with Ubuntu; Using sleep program will solve the problem, try to look at this :

sleep 5m && totem bla.mp3

this statement contains two commands written on one line using && operator, The first “sleep 5m” will halt the execution of the later command for 5 minutes, after the interval finished totem will execute playing the song you want. to make that for 8 hours, you just type:

sleep 8h && mplayer foo.mp3

for more information try :

man sleep

you can change the mplayer, totem with any program you want :) .

–Good Luck

Vote for Tux

aboSamoor | March 21, 2008 | 4:23 pm

Yes, it will be HOT summer, America will face the decision to choose one of Two !!! NO there will be Three Candidates!!! with the existence of Mr. Tux things will be different. Still if you are not American you canĀ  vote for Mr.Tux ;)

Mr, Tux

How to disable Touch Pad in Thinkpad R61 ?

aboSamoor | March 20, 2008 | 5:53 pm

The fastest way to do that , is by entering the BIOS of your NoteBook.

You can do that by the following steps:

  1. while booting, Press ThinkVantage blue button
  2. press F1 to enter the BIOS utility
  3. choose config then press Enter
  4. go to Keyboard mouse section
  5. choose disable option for the touchpad

Enjoy typing without interrupts ;)

How to resize a bunch of photos ( images ) together ?

Mustafa | November 13, 2007 | 5:49 pm

first of all download this nice program ,
sudo apt-get install imagemagick

make a new file
gedit newfilename

and past this code in it :

Read the rest of this entry »