Posts Tagged ubuntu

Installing Bumblebee for using gazebo and rviz on asus 1215n

I installed ubuntu 11.04 (natty) as a fast solution for the problems I found with 11.10 and in this version I found problems with the drivers of the graphics card to be able to run gazebo and rviz. I found the next error when trying to run gazebo:

Xlib: extension “GLX” missing on display “:0.0″.
Insufficient GL support

To solve the problem it’s enough to install Bumblebee following the instructions of: https://launchpad.net/~bumblebee/+archive/stable

sudo apt-get purge nvidia-current
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee

sudo usermod -a -G bumblebee $USER

Reboot and to try if it works they recommend running for 30s: glxspheres
Then compare it with optirun running: optirun glxspheres

In my case I can see how I go from 10fps to 31fps!

When running gazebo without optirun I found the following error:
XRequest.137: BadDrawable (invalid Pixmap or Window parameter) 0×4400002

But using optirun this error does not show up. And we win some fps.

Tags: , , , ,

Update VLC in Ubuntu 10.04 to the last version

Today I compressed a video with x264 codec and in a MP4 container with Avidemux and when I tried to play it with VLC it had errors showing it. This is because the official repositories of ubuntu of VLC have the version 1.0.6 and the most updated version right now while I’m writting this is the 1.1.7.
With the new version this error does not happen.
To update your VLC you only need to follow the instructions that you can find here and I’m reproducing them here:


sudo add-apt-repository ppa:lucid-bleed/ppa
sudo apt-get update
sudo apt-get install vlc vlc-plugin-pulse mozilla-plugin-vlc

Tags: , ,

Skip password of default keyring in Ubuntu 10.04

Today just after getting up my Ubuntu asked me for “Default password for default keyring to unlock”… and that irritated me as I wanted to connect to my home network as everyday. So, to skip this window the next time you start a session you can follow the next steps:

1. Right click on the network icon > Click Edit the connection...
2. Go to the Tab of your connection (Wireless for me), click the network you trust and click Edit...
3. Check the "Make avaiable for all users" checkbox (and watch that the "Connect automagically checkbox is checked too!).
4. Apply.

I hope this helps someone :)

Tags: , , , , , ,

Recover Grub2 (Ubuntu 10.04 and forward)

As we can see in guia-ubuntu to recover our Grub2 that we’ve lost while installing another SO we need to load any live cd and follow the next steps:

Lets see the structure of our disk:

sudo fdisk -l

Mount the partition where we have our Ubuntu installed:

sudo mount /dev/sda1 /mnt

Mount the rest of the virtual devices:

sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc

We get access as root to our system (from now on the console will be in our system):

sudo chroot /mnt

And we execute a grub reinstall:

grub-install --recheck /dev/sda

And we can boot our system from the grub2 we had previously. To update the list of SOs we can execute (AFTER REBOOTING INTO OUR SYSTEM):

sudo update-grub2

And thats all folks :)

Tags: , , , , ,

Recover Touchpad Ubuntu

Today I upgraded the ubuntu of my netbook and I found out that when I came back to the OS my Touchpad didnt work anymore. After trying to fix it with the man of xorg.conf and failing googling i found the solution:

You need to login as root (sudo does not work) and execute the following command.

echo options psmouse proto=exps > /etc/modprobe.d/psmouse.modprobe

And after that reboot.

PS: If you don’t have an external mouse to plug in, hitting control+alt+F2 you can find a console.

Via: danilogurovich

Tags: , , , , , ,