sudo npm cache clean -f
sudo npm install -g n
sudo n stable
Fuente: http://askubuntu.com/questions/426750/how-can-i-update-my-nodejs-to-the-latest-version
Libro de apuntes...
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
Fuente: http://askubuntu.com/questions/426750/how-can-i-update-my-nodejs-to-the-latest-version
Tuve un problema raro con una impresora HP 1020 que luego de instalarla bien, probarla y todo, cuando reiniciaba Ubuntu 14.04.2 LTS no funcionaba más.
Buscando, encontré una respuesta en https://answers.launchpad.net/hplip/+question/249391 que me funcionó
Transcribo la respuesta de Sebastian (castanedacs) que me funcionó:
I experienced similar problems, as cited in this forum, trying to configure the HP Laserjet 1018 printer with ubuntu desktop 14.04 and 14.10. At the begining I used HPLIP installed manually, and the printer worked fine for a while, I was able to print 3 or 4 documents, but then the printer started to fail with «communication error». After some combinations of unplug and re-plug, turn off on or reboot the printer works again, but this is an annoying situation, specially because I wanted to make the printer works for common users without any knowledge.
So I decided to try the solution installing the foo2zjs driver, these are the steps I followed, after reading many forums and potential solutions:
1) Uninstall HPLIP completely
1.1) Uninstall HPLIP if it was installed by default in ubuntu
$sudo apt-get remove hplip
1.2) In my case, I had installed HPLIP manually, after downloading the tarball distribution from
http://
So I followed the instructions cited here
http://
to completely unistall it.
2) Install the «foo2zjs» driver, to do this I used the instructions cited here
http://
I transcribe them here:
2.1) Install build-essential, tix, foomatic-filters, groff, dc FIRST:
$ sudo apt-get install build-essential tix foomatic-filters groff dc
2.2) Unpack:
$ wget -O foo2zjs.tar.gz http://
$ tar zxf foo2zjs.tar.gz
$ cd foo2zjs
2.3) Compile:
$ make
2.4) Get extra files from the web, such as .ICM profiles (for color correction)
and firmware. Select the model number for your printer, In this case:
$ ./getweb 1018 # Get HP LaserJet 1018 firmware file
2.5) Install driver, foomatic XML files, PPD files, and extra files:
$ sudo make install
2.6) Install hotplug (for HP LJ 1000/1005/
$ sudo make install-hotplug
Unplug and re-plug the USB printer
2.7) If you use CUPS to manage your printers, you must restart cupsd:
$ sudo make cups
3) Add a new printer
I use the WEB APP to do this
Once created it, I printed a test page to test that the printer is working correctly
In my case I experienced problems using cups, so I reinstalled it with
$sudo apt-get -y install cups
NOTE:
I suggest to watch the log /var/log/syslog to detect any possible error.
For example, after installing foo2zjs, I detect the following error in syslog
«foo2zjs: Missing HP LaserJet 1018 firmware file /lib/firmware/
So, I fixed it by getting the firmware throught
$getweb 1018
Then I copied the file «sihp1018.dl» to the directory specified in the syslog error.
You may need to reboot both the computer and the printer.
After these steps I was able to print using the HP LaserJet 1018 printer without problems, I did differents test like print a test page, print a LibreOffice doc, print a pdf doc. I reboot the machine and printed again and the printer worked perfectly.
I tested using both Ubuntu 14.04 and 14.10.
Hope this can help.
Cuando actualicé de Ubuntu 12.04 a 14.04 se rompió la vista de generación de reportes del Spoon.
Para solucionarlo, descargué y descomprimí el nuevo xulrunner en la carpeta
/home/ale/xulrunner
El xulrunner nuevo lo descargué desde:
http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/35.0/runtimes/xulrunner-35.0.en-US.linux-x86_64.tar.bz2
Después, hay que modificar el archivo spoon.sh
Debajo de la línea
OPT="$OPT $PENTAHO_DI_JAVA_OPTIONS -Djava.library.path=$LIBPATH -DKETTLE_HOME=$KETTLE_HOME -DKETTLE_REPOSITORY=$KETTLE_REPOSITORY -DKETTLE_USER=$KETTLE_USER -DKETTLE_PASSWORD=$KETTLE_PASSWORD -DKETTLE_PLUGIN_PACKAGES=$KETTLE_PLUGIN_PACKAGES -DKETTLE_LOG_SIZE_LIMIT=$KETTLE_LOG_SIZE_LIMIT"
Agregar la línea
OPT="$OPT -Dorg.eclipse.swt.browser.XULRunnerPath=/home/ale/xulrunner"
Además, no sé si es necesario pero por las dudas lo dejo escrito, cambién la línea
# MOZILLA_FIVE_HOME=$(find /usr/lib -maxdepth 1 -name xulrunner-[0-9]* | head -1) # linea original
por:
MOZILLA_FIVE_HOME="/home/ale/xulrunner" # seteo la carpeta de xulrunner
esto me pasó en Ubuntu…
si no funciona el flash player se puede buscar la extensión para Firefox (sí, así de loco) llamada Flash-Aids y luego que se instale, configure y reinicie Firefox podremos reiniciar Opera y debería solucionarse…
fuente: http://ubuntuforums.org/showthread.php?t=1660953
Aptana 3 y Unity parece que no se llevan muy bien…
al parecer es un problema con cómo maneja Unity el menú…
cuestión que si exportamos la variable UBUNTU_MENUPROXY puesta a cero y luego ejecutamos Aptana, funciona bien…
entonces en una consola ejecutamos:
$ export UBUNTU_MENUPROXY=0
$ ./AptanaStudio3
también nos podemos hacer un script y para ejecutarlo directamente:
#!/bin/bash
export UBUNTU_MENUPROXY=0
./AptanaStudio3
Esto me pasó en Unity y no me respondía cuando iniciaba…
El chiste está en el archivo /etc/gdm/custom.conf
Así que:
sudo vi /etc/gdm/custom.conf
y cambiamos AutomaticLoginEnable a false
Luego, reiniciamos gnome:
sudo /etc/init.d/gdm restart
Nota: Esto lo podemos realizar vía ssh si no nos responde gnome.
Debido a la charla de esta tarde, me puse a buscar información para adelantar algo y no caer sin ninguna idea… 🙂
En esta travesía que es navegar por google, encontré este genial post de Javier: Empezando a programar con Android en Ubuntu – Instalación del plugin de Eclipse
Luego, agrego un par de cosas en las que me trabé por si a alguien le pasa lo mismo:
En la parte final de la instalación del SDK (cuando nombra «SDK Location») hay que instalar las SDK Platform. En Windows se hace ejecutando el archivo «SDK Manager.exe» y en Linux ejecutando el archivo android dentro de la carpeta tools (esto está dentro del comprimido que bajamos cuando lo sugiere el post de Javier). Explicación de google.
Cuando vayamos a ejecutar el HolaMundo, nos va a faltar (si no lo hemos creado) un dispositivo emulador (AVD)
Para mayor información acerca de cómo usar los AVDs y las opciones disponibles, existe un documento que se puede leer (en inglés) Android Virtual Devices.
Un AVD define una imagen del sistema y la configuración del dispositivo usada por el emulador
Para crear un AVD:
Después de crear el AVD, pude ejecutarlo correctamente…