Hello folks.

You already have installed Ubuntu 11.04 but you haven’t liked the Unity. You want to try another window manager like KDE. So you can install Kubuntu, it comes with KDE.

To install Kubuntu, open a terminal and run:

sudo apt-get install kubuntu-desktop

During the installation, you will be asking about which display manager you want to leave as default. Choose kdm.

Now, if you want a full KDE installation that include multimedia, networking, graphics, education, games, system administration tools, and other artwork and utilities, still in the terminal, run:

sudo apt-get install kde-full

After that, restart your computer and in login screen, don`t forget to select KDE.

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 www.h-online.com.

Now, it’s time to compile and install the new Kernel. Only to not repeat what was written in Installing Kernel 2.6.38.3 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-2.6.38.3.tar.bz2 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: “libstdc++.so.6: wrong ELF class: ELFCLASS64”.

Don’t worry about that. You are just using a wrong architecture of the libstdc++.so.6 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/libstdc++.so.6.0.16 /usr/lib32
cd /usr/lib32

sudo rm libstdc++.so.6
sudo ln -s libstdc++.so.6.0.16 libstdc++.so.6
sudo ln -s libstdc++.so.6.0.16 libstdc++.so
sudo ldconfig

Doing that, we copied the libstdc++.so.6 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 libstdc++.so.6.0.16 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.


How to fix problem of incompatibility between GCC 4.6 and Android 2.3 (Gingerbread): 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.

How to disable auto login in Ubuntu 11.04: You turned on your computer and noted, it did the login automatically. You already enable it through Login Screen Setting but you didn’t have success. Check out here how you can disabled auto login.

Changing Google Chrome user agent string in Ubuntu 11.04: See here 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.

Creating a wallpaper slideshow in Ubuntu 11.04: If you are that one who like to get changing wallpaper all the time, so you need to know, there is an application that can do that for you. Check it out.

Theme Manager for Ubuntu (Natty Narwhal): Check out here a great application to manager theme in Ubuntu.


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/libneo_cs.so)
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/Android.mk

Change the line:

LOCAL_CFLAGS += -DLIBUTILS_NATIVE=1 $(TOOL_CFLAGS)

To:

LOCAL_CFLAGS += -DLIBUTILS_NATIVE=1 $(TOOL_CFLAGS) -fpermissive

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.