lunes, 25 de mayo de 2009

Installing compiz-fusion and Emerald on Ubuntu

Compiz is already installed on Ubuntu. What we are going to do is to install a settings manager that will provide a huge amount of options to transform your linux into an eye candy.

Our Objective:



Fusion-icon installation:

This this application you can activate lots of effects such as the "Desktop cube" and window decorations.

To do this, open a terminal (applications -> accesories -> terminal)

Type "sudo apt-get install compiz-fusion-plugins-extra fusion-icon"

Then type "fusion-icon" and yuo will see a small blue cube appearing at the notification bar. Right click it, and you will be able to choose your new effects by choosing "settings manager".

Note that in order to be able to use the Desktop Cube you need to have 4 workspaces. To do this, you need to right click the squares at the bottom right of the screen and choose 4 rows.

Now press Ctrl + Alt + Left Click, move the mouse and behold, the Desktop Cube.

Emerald Installation:

Emerald is a very nice window decorator. It supports transparencies, animations and even you can create them and modify them.

To install Emerald type in a terminal "sudo apt-get install emerald"

Now select "fusion-icon -> reset window manager" (fusion-icon is the blue cube at the notification bar)

To install emerald themes emerald themes, you can go to www.gnome-looks.org and you can choose any kind of file that has the .emerald extention (an example "newtheme.emerald" ), i chose http://sen7.deviantart.com/art/Mira-100077120.

Extract the files to a folder, click "fusion-icon -> emerald theme manager" choose "import" to select the theme, select the file that has the ".emerald" extension (in this case at the folder named "MiraV2") and you can now select the theme by double clicking it.

To see the new theme select "fusion-icon -> select window decorator -> emerald"

Automatic startup:

To start fusion-icon when you start Ubuntu, go to "settings -> preferences -> startup applications" add a new startup program and put in the fields "fusion-icon"

Now the OS is starting nice. But we can make it even better! Stay tuned!

martes, 19 de mayo de 2009

Instalacion de compiz-fusion y emerald en Ubuntu

Compiz ya viene instalado en Ubuntu, lo que vamos a hacer es colocarle un manejador de opciones y un manejador de temas.

Nuestro objetivo:



Instalación de fusion-icon:

Con esta aplicación se pueden escoger las animaciones y efectos que quieres en tu compiz, ademas puedes poner el "Desktop cube" y muchas cosas mas.

para ello abre un terminal (aplicaciones -> accesorios -> terminal)

y escribe "sudo apt-get install compiz-fusion-plugins-extra fusion-icon"

luego escribe "fusion-icon" y saldráun cubito azul en tu barra de tareas. Dale click y podrás escoger las opciones del compiz escogiendo "settings manager".

Nota: Para poder utilizar el cubo es necesario tener 4 workspaces. Para ello dale click derecho a los cuadros de la esquina inferior derecha y coloca 4 rows.

Ahora presiona Ctrl + Alt + Botón de mouse izquierdo y veras el cubo.

Instalación de Emerald:

Emerald es un decorador de ventanas con temas muy atractivos a la vista. Soportan transparencia, animaciones y pueden ser creados por cualquier persona.

Para instalarlo escribe en un terminal "sudo apt-get install emerald"

Ahora selecciona "fusion-icon -> reset window manager"

Para instalar emerald themes, puedes ir a www.gnome-looks.org y descargarte uno de tu preferencia, yo escogeré http://sen7.deviantart.com/art/Mira-100077120 (Aparece en gnome-look y hace referencia a esta página)

Luego, descomprimelo en una carpeta, y dale click a "fusion-icon -> emerald theme manager" y escoge "import" para seleccionar los temas, escoge el archivo que termina por ".emerald" en la carpeta MiraV2 y escógelo dándole doble-click en el emerald theme manager.

Ahora selecciona "fusion-icon -> select window decorator -> emerald"

Startup automático:

Para que el fusion-icon se inicie automáticamente al iniciar Linx, escoja "settings -> preferences -> startup applications" y añada un nuevo programa cuyo código va a ser "fusion-icon"

Ya falta poco para covertir nuestro linux en una manjar para nuestra vista. En el proximo tutorial eliminaremos la simple barra de tareas y colocaremos Avant Window Navigator.

How to install Ubuntu in Windows XP with VirtualBox

This is the english version of the tutorial i made.

Virtualizations wasn't what it is now. With stronger computers and nice Virtualization programs we are able to have more than one OS at the same time. Now, with VirtualBox, we can even have 3D acceleration.



Let's get started:

We are going to install Ubuntu 9.04 as a guest in a Windows Host, then, we are going to optimize it and lastly, to create a shared folder between Windows and Ubuntu.

Download Ubuntu and Virtualbox:

Virtualbox: http://www.virtualbox.org/wiki/Downloads
Ubuntu: http://www.ubuntu.com/getubuntu/download

Install VirtualBox, save Ubuntu ISO.

Creating the Virtual Machine (VM):

Click "new" to start the creation of the VM:


A Wizard is going to appear. Click next:


Create a name for the VM and select the OS type, int his case choose Linux Ubuntu.


Choose the amount of memory, 512 MB is a good start, but be careful no to pick a small amount or a big, or you may make your host or guest run out of memory.


Now we are going to create the virtual Hard Drive:


Choose dynamically expanding storage. This will create a virtual HD wich it's empty spaces won't occupy space in your real HD.


Choose the size. The recommended size is 8 GB:

Create the Virtual Machine:


Prerrequisites for the Linux Installation:

You can mount the ISO you downloaded from the Ubuntu in the virtual machine so it can boot from it. Go to CD/DVD-ROM from the settings menu and click the directory icon:


Click "Add":


Select the ISO:


Now we are going enable 3D acceleration. You may choose the amount of video memory you want:


Instalation of Ubuntu 9.04:

Click "start" to start the VM:


Select "Install Ubuntu":


Select the language and country and in the "Prepare Disk Space" menu click "Use the entire disc" and click next.


Wait while it installs:


Unmount de CD and click restart (You can unmount a CD/DVD by clicking "devices" -> "unmount CD/DVD"):


Post-Installation:

After installing the OS, login:


Now look at your new Linux. To be able to take the mouse pointer out of the VM you have to press the right "Ctrl"


An update manager is going to automatically start and is going to check your software for updates. Click a "Install Updates".


Installation of VirtualBox utilities:

To be able to use the 3D acceleration, optimize the VM and make the mouse pointer share both OSs you need to install theese utilities.

To do this, click "Devices" -> "Install Guest Additions":


Open a terminal and you need to type some shell codes:

"cd /media/cdrom0/": to go to the installation CD.

"sudo chmod -x autorun.sh": To enable the installation executable the permissions to write in the drive.

"sudo ./autorun.sh": To run the installation.

Restart, and you will se the differences.

Finally, add a Shared Folder:

Click the directory at the bottom of VirtualBox, and then click the directory with a plus(+)


Select "Folder Path" -> "other":


Finally, select the folder you want to share. You can choose "Read Only" to make it read only in your Linux system and "Make Permanent" to be able to use it even if you turn off the VM.


Open a terminal and write "mkdir ". In my case the folder i want to share is named "Terminados",so i wrote "mkdir Terminados". Mkdir is a command to create directories.

Type "sudo modprobe vboxvfs" to add VirtualBox modules to the Kernel.

Type "sudo mount.vboxsf Terminados /home//Terminados" to mount the folder in your filesystem (put your name in the space. In my case i had to type /home/jesus/Terminados)

And we are finished, now you can share files between the Host and the Ghest OS:



Well that's it, i hope you enjoyed the tutorial, if you have any question, don't be afraid to ask!
See ya.

Cómo instalar Ubuntu en Windows con VirtualBox

Buenass, comencemos este blog poniendo algo muy útil.
Yo siempre utilizaba una particion del disco duro para instalar Linux porque la Virtualización no estaba muy bien desarrollada y carecía de Renderizado 3D (Si querías renderizado 3D, había que comprar VMWare Workstation, que cuesta mucho dinero). Ahora todo ha cambiado gracias a Virtualbox!!

Pero... Qué es virtualización?
Es esto:


Es utilizar un Sistema Operativo dentro de otro. Si deseas saber mas sobre la virtualizacion, clickea este link: http://es.wikipedia.org/wiki/M%C3%A1quina_virtual

Bueno, comencemos:

Ahora vamos a instalar Ubuntu 9.04 como guest (invitado) en Windows como host (anfitrión), luego, vamos a configurar lo que se necesite e instalaremos lo que se necesite y crearemos una carpeta para compartir entre Windows y Linux.

Descarga de Ubuntu y Virtualbox:

Virtualbox: http://www.virtualbox.org/wiki/Downloads
Ubuntu: http://www.ubuntu.com/getubuntu/download

Luego de descargarse instala el Virtualbox y prosigue al siguiente paso.

Creación de la máquina virtual (MV):

Dale click a "new" para crear la nueva MV:


Saldrá el Wizard para crear la MV, dale click a next:


Ponle el nombre a la MV y luego colocale el tipo de SO (sistema operativo), que en este caso es Linux Ubuntu.


Escoge la cantidad de memoria RAM para la MV. Dice que se recomienda una cantidad, pero puedes escoger lo que quieras. Mientras mas le pongas a la MV mas capacidad de memoria tendra, pero hay un límite, ya que el SO necesita una cantidad de memoria para poder soportar la MV y sus programas.


Ahora se va a crear el disco duro:


Se escoje almacenamiento dinamico expansivo. Esto crea un disco duro que va creciendo a medida que va guardando informacion y sus espacios vacñios no ocupan espacio en el disco duro real.


Se le coloca el tamaño:


Y finalmente ya creamos la máquina virtual.


Prerrequisitos para la Instalación de Ubuntu 9.04:

Q: Ahora, despues de que se halla descargado la imagen ".iso" de ubuntu, tengo que quemarlo en un cd verdad??

A: No. Virtualbox puede utilizar esta imagen ".iso" y montarla en la máquina virtual como un disco!!

Se hace de esta manera, primero dale click a Settings. Luego selecciona "CD/DVD-ROM" para luego seleccionar "Mount CD/DVD" y escoge "ISO Image file":


Dale click a la carpeta para seleccionar la imagen del CD de instalación de Ubuntu que te descargaste y dale click a "add":


Selecciona el ISO:


Ahora vamos a habilitar la aceleración 3D. Colócale cuanto necesites de memoria de video:


Instalación de Ubuntu 9.04:

Ahora Iniciamos la MV dándole click a "start":


Selecciona "Install Ubuntu":


Selecciona las opciones de idioma que quieras y cuando aparezca el formateador de disco selecciona "Use the entire disc" y sigue al siguiente paso.


Espera por la instalación:


Cuando se termine la instalación, desmonta el CD y reinicia (Un CD/DVD se desmonta dándole a "devices" y luego "unmount CD/DVD"):


Post-Instalación:

Luego de haber realizado la instalación de Ubuntu, inicia sesión con la cuenta que creaste:


Admira la instalación. Para poder "Sacar" el mouse de la MV dale a la tecla "Ctrl" derecha:


Un programa de actualización de software se iniciará automáticamente para actualizar todo el software que esté instalado en el sistema. Este "Update Manager" utiliza un repositorio remoto que indica cuáles programas han sido mejorados y los compara con las versiones que tengas instaladas actualmente en tu Ubuntu. Dale click a "Install Updates".


Instalación de las utilidades de VirtualBox:

Al instalar estas utilidades, se puede usar la MV de una manera mas fácil, la aceleración 3D es mas eficiente y el puntero puede entrar y salir de la MV si tener que darle a ninguna tecla.

Para hacer esto debes darle a "Devices" y luego "Install Guest Additions":



Abre un Terminal para introducir un código (Dale a applications -> Accesories -> Terminal):

Escribe "cd /media/cdrom0/". Esto te translada al cd de instalación en el terminal.

Escribe "sudo chmod -x autorun.sh". Esto le da permisos a ese archivo para escribir en el SO. Sudo significa "super user do" que es realizar un comando como super usuario.

Luego escribe "sudo ./autorun.sh". "./autorun.sh" es correr un ejecutable con comandos shell para instalar las adiciones de VirtualBox. Luego, espera la instalación:

Reinicia, y luego se hacen efectivas las adiciones de MV.

Finalmente, Agregar una carpeta para compartir:

Dale click a la carpetica azul que aparece en la parte inferior del VirtualBox y selecciona la carpeta azul con el "+".


Selecciona "Folder Path" -> "other":


Y finalmente selecciona la carpeta a compartir. Luego puedes colocar 2 opciones: "Read Only" solo deja a Ubuntu leer de la carpeta mas no escribir y "Make Permanent" hace que esa carpeta siempre este compartida, inculos despues de cerrar la MV.


Ahora abre un terminal y escribe "mkdir " en mi caso la carpeta se llama "Terminados", asi que escribí "mkdir Terminados". Mkdir crea una carpeta.

luego escribe "sudo modprobe vboxvfs" esto agrega un módulo al kernel y permite usar ciertos aspectos de VirtualBox.

Escribe "sudo mount.vboxsf Terminados /home/jesus/Terminados" finalmente para montar la carpeta y hacerla visible en la carpeta de tu Ubuntu. (Sustitute "jesus" por tu nombre y "terminados" por la carpeta que creaste)

Y listo, ya puedes compartir archivos entre Windows y Linux.



Bueno aqui finaliza el tutorial, espero que les halla gustado y que les halla servido. Después haré uno para instalar el Compiz-Fusion.
Saludos!