viernes, diciembre 26, 2014

shell script to convert .wav files to .mp3 using LAME

I use the folowing script to convert .wav to .mp3 files. This script uses the LAME (LAME Ain't an Mp3 Encoder) tool, so you will need to install LAME before using it.


#!/bin/bash
#script to convert .wav to .mp3 using lame utility
for i in *.wav ; do
echo $i
bname=`basename $i .wav`
lame $i $bname.mp3
done
mkdir wav mp3 && mv *.mp3 mp3 && mv *.wav wav


Fuente:
http://ben-it.org/content/linux-shell-script-convert-wav-files-mp3-using-lame

martes, diciembre 16, 2014

Instalar Google Earth en Linux Mint


http://www.linuxirun.com/foro/index.php?topic=47.0

sábado, diciembre 13, 2014

Arreglando inicio de Linux, boot / grub, etc

Apuntes para cuando se rompió el inicio del sistema:

actualizado a 20200506:
https://www.youtube.com/watch?v=xShSp8gPjFE

arrancar con un live (pen o cd)
en consola, conectado a internet,

  • sudo add-apt-repository ppa:yannubuntu/boot-repair
  • sudo apt-get update
  • sudo apt-get install boot-repair
  • sudo boot-repair



reparación de hoy sugirió copiar este detalle de lo hecho
https://paste.ubuntu.com/p/MrHtpG83jN/


http://www.taringa.net/posts/linux/4987319/Reinstalar-GRUB-2-desde-el-LiveCD.html



http://www.guia-ubuntu.com/index.php/Recuperar_GRUB

http://rootear.com/ubuntu-linux/como-reparar-grub2


Boot Repair
https://help.ubuntu.com/community/Boot-Repair


https://www.youtube.com/watch?v=fJqZlMe3lew

http://tutoriales-ubuntu-linuxmint-y-mas.blogspot.com.ar/2014/02/recuperar-arranque-o-grub-de-ubuntu.html



corrido desde el so instalado dió:
La sesión actual funciona en modo de compatibilidad con el BIOS. Desactive el modo Compatibility BIOS / CSM / Legacy en su firmware UEFI y use este programa desde un CD en vivo (o un USB en vivo) que sea compatible con el modo de arranque UEFI. Por ejemplo, utiliza un live-USB de Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), después de asegurarte que tu BIOS esta configurada para iniciar por USB en modo EFI. Esto activará esta función.


GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=0 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX=""