Showing posts from June, 2010

Ubuntu: Install Amarok 1.4 in 10.04 (Lucid Lynx)

Many people still like Amarok 1.4, in spite of the improvements in Amarok since 2.0 was released. Lucid has Amarok 2.3 in the repos, and it’s really nice, but there are still fans of Amarok 1.4 who may want to run that in Lucid.We’ll be using Bogdan Butnaru‘s Jaunty PPA. (Thanks, Bogdan!) Yes, I said the Jaunty PPA. Bogdan didn’t put one up specifically for Karmic, because there was no change to the packages. The Jaunty packages worked just fine in Karmic, and they work just fine in Lucid, too.The instructions on the PPA’s link suggest you add the repo to your system by adding ppa:bogdanb/ppa to your system’s Software Sources (System>Administration>Software Sources). If you do it that way, you will have to edit the distribution field in Software Sources to read “jaunty” instead of “lucid.” Or you can do it the old school way, as follows.Open your sources file for editing:sudo gedit /etc/apt/sources.listAdd the following lines at the end:deb…

Eclipse ERROR: An error occurred while installing Eclipse CDT on Karmic

ERROR: An error occurred while installing the items session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null --> [R]org.eclipse.pde 3.4.100.v201002111343, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction). The artifact file for osgi.bundle,org.eclipse.pde,3.4.100.v201002111343 was not found.

SOLUTION: * Install "eclipse" and "eclipse-pde" in your Synaptic * Re-install the plugin CDT

ERROR: Matlab `GCC_4.2.0' not found

A matlab error: /usr/local/matlab7/bin/glnx86/../../sys/os/glnx86/ version `GCC_4.2.0' not found (required by /usr/lib/

$ cd /usr/local/matlab/sys/os/glnx86 OR /YOUR_PATH_TO_MATLAB/sys/os/glnx86
$ mv
$ ln -s /lib/

NVidia drivers on ubuntu 10.04

sudo nano /etc/modprobe.d/blacklist.conf

blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv

(remember last space)

sudo gdm-stop
sudo apt-get --purge remove nvidia-*


(after this ubuntu boots with some graphical errors like white lines and incorrect resolution)

sudo gdm-stop
sudo apt-get --purge remove xserver-xorg-video-nouveau


(after this, ubuntu boots with no graphical errors BUT CANT GET INTO TERMINAL with gdm stopped so cant install nvidia drivers)

So heres the tricky part

sudo nano /etc/modprobe.d/blacklist-framebuffer.conf

and you need to comment 'blacklist vesafb' and add 'blacklist vgafb16' (both without quotes)

sudo nano /etc/initramfs-tools/modules

and add 'fbcon' and 'vesafb' (dont forget last space)

sudo update-initramfs -u

sudo nano /etc/default/grub

search for 'GRUB_CMDLINE_LINUX=' and ADD (dont delete) vga=771 or 795 (according to your resolution)

sudo update-grub


sudo gdm-stop

now can enter term…

Eclipse CDT on Ubuntu 9.10

Bug: CDT has no library in repositories in Ubuntu 9.10


The eclipse CDT needs to be installed via eclipse's plugin manager. Got to the Add Plugins window, and add the repository:
to the eclipse source list (Galileo Update Site as it is known) and check the CDT main features box.

When eclipse says: An error has occurred. See the log file .metadata/.log.

Delete: /YOUR PATH TO WORKSPACE/.metadata/.plugins/org.eclipse.core.resources

Working With GBVS


>> addpath('/PATH_TO_GBVS/algsrc');
>> addpath('/PATH_TO_GBVS/saltoolbox');
>> addpath('/PATH_TO_GBVS/util');
>> addpath('/PATH_TO_GBVS/util/featureChannels/');
>> addpath('/PATH_TO_GBVS/compile');
>> addpath('/PATH_TO_GBVS/demo');
>> gbvs_compile
>> gbvs_install
>> simplest_demonstration

You need to add addpath!

60 Excellent Free 3D Model Websites

How To Change DNS On Ubuntu

sudo cp /etc/resolv.conf /etc/resolv.conf.autosudo gedit /etc/dhcp3/dhclient.confLook for the below line, which will be commented, and match this setting. add your dns addresses# append the following line to the document
prepend domain-name-servers XXX.XXX.XXX.XXX,XXX.XXX.XXX.XXX;Once your entry matches this you will want to save the file and restart networking using a command such as the one below.sudo ifdown eth0 && sudo ifup eth0