viernes, 22 de marzo de 2013

install Chromium in Chrubuntu

As you may know, Chromium is not available for the ARM architecture, well, at least untill december 2012, actually, I found a post from jan 2013, that it is available from the universe repository, I actually tried but it does not work. So if you have the Samsung ARM Chromebook, the Acer Chromebook or another  ARM based ultrabook, here it is the steps to install chromium:

1. from a terminal type:
sudo add-apt-repository ppa:a-v-shkop/chromium


2. the do an update, like this:
sudo apt-get update

3. finally, if you did not get any error message, then type:
sudo apt-get install chromium-browser

that's it, you may try chromium now. 

sábado, 16 de marzo de 2013

solving the unable to resolve localhost.localdomain in chrubuntu

Last black friday I bought a samsung ARM chromebook, it just a great ultrabook, the price, performance, etc, but that's another story. Today I wanna share the way how to get rid off that anoising message everytime you get into a terminal and use some command:

unable to resolve localhost.localdomain

you just need to do this:
1. get into the gnome-terminal

2. type: nano /etc/hosts

3. add this line: 127.0.0.1   localhost   localhost.domain

4. save the file and close it

5. close the current terminal window and open another one, then you can try some command, for example apt-get update and you'll notice that the message does not show anymore.

that's it.

display line numbers in nano

Nano is one of the best command line editor, in fact, is my first choice, but one feature that does not come turn on is the the display that shows the current line and this is very helpful, because when I'm editing some file, for example my apache.conf, sometimes is necesssary go to a specific line, so here it is the how to:

1. create the appropiate configuration file in your home folder, like this:
nano ~/.nanorc

2. type the next line:
   set const

3. save it and close it

ok, that's it, next time you use nano you'll see in the bottom center and message showing you the line numbers and other things.


sábado, 2 de marzo de 2013

Get rid off the "waiting for network configuration" in Ubuntu

Hi, since I've installed Ubuntu 12.04 - like four months ago- if I didn't plug the network cable to my eth0 I had to waiting up to 2 minutes to get the X on; so Today I just decided to get rid off that time waiting, and the answer is very easy, here are the steps:

1. check if in the interfaces file yo get and "auto -device-" like this:
 cat /etc/network/interfaces

2. try to looking at something like this: "auto eth0", like in my case.

3. If you get it, the go to:
    nano /etc/network/interfaces

4. comment that line with #, then save the file

5. restart and you will see the line "waiting for...." is not anymore.

one more byte; I always have problems with network applet, I've never get int he main bar, so I had used wicd, but since I comment the same line -auto eth0- I've got it in the bar and wicd is not necessary anymore.

so, that's it

cheers