Archive for the ‘Ubuntu’ Category

Hello guys.

After a long time without post an article, here it goes my first post of this year.

Some days ago I bought a Netbook Acer Aspire one 722 and I have decided to install the Ubuntu 11.10. During the installation or after of the installation it was freezing.

It was going on due Broadcom wireless driver. To solve that, just follow the steps below:
- Restart your computer
- Press F2 to start BIOS setup
- Select Boot option and in the Boot priority order list, leave "Network Boot : Atheros Boot Agent" in the first place

After that, you can use the netbook without any problem regarding freezing.

That’s it. See you next time.


Hello everybody.

The Kernel 2.6.39 was released in May 19th and includes support for ipset and interrupt handling can now be handled almost entirely by kernel threads, the ext4 file system and block layers are now able to scale better and show better performance and the kernel now includes a network backend for Xen virtualisation. A complete list about what has new in the Kernel you can get in

Now, it’s time to compile and install the new Kernel. Only to not repeat what was written in Installing Kernel in the Ubuntu 10.10, follow this post to install this one and also don’t forget to change the reference to this one. In other words, instead of use linux- you will must use linux-2.6.39.tar.bz2.

After run the command sudo make menuconfig, If you received the error below:

*** Unable to find the ncurses libraries or the
*** required header files.
*** ‘make menuconfig’ requires the ncurses libraries.
*** Install ncurses (ncurses-devel) and try again.
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2

Still In the shell, type:

sudo apt-get install libncurses5-dev

After that, run the command sudo make menuconfig again.

If you have any doubt about this post, feel free to ask me.

That’s it. See you next time.

Hello folks. If you compiled and installed GCC 4.6 and during the Android Gingerbread (or another software) compilation you received the following error message: “ wrong ELF class: ELFCLASS64”.

Don’t worry about that. You are just using a wrong architecture of the in the folder /usr/lib32 in Ubuntu 64 bits. To solve that, open a terminal, go to the place where you have built GCC 4.6 and run the commands below:

sudo cp build/x86_64-unknown-linux-gnu/32/libstdc++-v3/src/.libs/ /usr/lib32
cd /usr/lib32

sudo rm
sudo ln -s
sudo ln -s
sudo ldconfig

Doing that, we copied the for 32 bits in /usr/lib32 and also updated the links to this one. Now, all software that need this lib for 32 bits will use this one for compilation.

Remember, the lib is the version when I compiled GCC 4.6. If you get the file recently, this version will be different. Just don’t forget to change the reference to this one.

That’s it. See you next time.

Hello everybody. Let’s see how we can fix one problem that can happen when you try to compile the Android 2.3 after you already have installed GCC 4.6.

During Android compilation you can receive the following error message:

host Executable: acp (out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
host SharedLib: libneo_cs (out/host/linux-x86/obj/lib/
host C++: libutils <= frameworks/base/libs/utils/RefBase.cpp
frameworks/base/libs/utils/RefBase.cpp: In member function ‘void android::RefBase::weakref_type::trackMe(bool, bool)’:
frameworks/base/libs/utils/RefBase.cpp:483:67: error: passing ‘const android::RefBase::weakref_impl’ as ‘this’ argument of ‘void android::RefBase::weakref_impl::trackMe(bool, bool)’ discards qualifiers [-fpermissive]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_intermediates/RefBase.o] Error 1
make: *** Waiting for unfinished jobs....

To fix that, open a terminal and run (assuming you are in the folder android):

gedit frameworks/base/libs/utils/

Change the line:




After that, save the file and recompile the Android again.

That’s it. See you next time.

Hello folks. Let’s see today how we can access sites that just accept for example Internet Explorer or where network that just accept the use of Internet Explorer instead of Google Chrome. Many cases, the control of that is made by browser’s user agent string. To change that in Google Chrome, follow the steps below.

  • Press super key and search by System Settings
  • In Personal category, click on Main Menu item. A window will be opened like below.
  • In Menus, select Internet, in Items select Google Chrome/Chromium Web Browser and after click on Properties button . Another window will be opened like below.

  • In command field change the string %U to something like that:

  • --user-agent='Mozilla/4.0 (X11; U; i686; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Ubuntu/11.04 Chrome/11.0.342.1 Safari/533.2'

    For example, in my case, this field is filled up with:

    /usr/bin/chromium-browser %U

    and I have changed to:

    /usr/bin/chromium-browser --user-agent='Mozilla/5.0 (X11; U; i686; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Ubuntu/11.04 Chrome/11.0.342.1 Safari/533.2'

    Restart the Google Chrome and try to access that site you didn’t have access.

    That’s it. See you next time.

    Hello everybody. If you are that one who like to get changing wallpaper all the time, so you need to know that there is application that can do that for you. It’s called Crebs. With it, you create a image list containing what you would like to show and also it permits to set the transition time between the images.

    Now, let’s install it. Open a terminal and run:

    sudo add-apt-repository ppa:crebs/ppa
    sudo apt-get update
    sudo apt-get install crebs

    To run it, press the super key and search by Create Background Slideshow. See below a screenshot of the application.

    That’s it. See you next time.