viernes, 30 de agosto de 2013

Grabar sonido en linux debian y derivadas

He encontrado este magnifico grabador del sonido que escuchamos a través del ordenador, se llama Audio Recorder , el codigo fuente , y los repositorios para Ubuntu se pueden descargar en la siguiente dirección:

https://launchpad.net/audio-recorder

Yo he compilado el código fuente pero se puede introducir los repositorios de Ubuntu en debian, no lo he expliacado pero hay numerosas webs al respecto.

También se pueden descargar de forma directa de la web:

http://pkgs.org/search/?keyword=audio-recorder

Entre las ventajas que podemos obtener es que podemos decirle al programa cuando empiece a grabar y cuando parar, funciona bien a través de pulseaudio, yo tengo oss4 con pulseaudio, y va bien, tened en cuenta que los programas que soporten oss4 de forma nativa hay que configurarlos para que usen pulseaudio, si no no podrá grabar el audio.

miércoles, 28 de agosto de 2013

pasos para elimiinar pulseaudio y establecer alsa

sudo apt-get --purge remove pulseaudio

sudo apt-get purge pulseaudio pulseaudio-utils gstreamer0.10-pulseaudio libpulse-browse0 paman pavumeter pavucontrol

sudo rm /etc/asound.conf

sudo apt-get install libalsaplayer0

restart

Personalmente lo mas importante es borrar el archivo asound.conf que apunta a pulseaudio.

domingo, 25 de agosto de 2013

Crear log para ver los mensajes de inicio en linux debian

Yo lo hago activando bootlogd, un demonio que te deja todos los mensajes del arranque en /var/log/boot.

Por defecto en una Debian base, viene desactivado. Para activarlo,

tienes que irte al fichero /etc/default/bootlogd y poner:

# Run bootlogd at startup ?

BOOTLOGD_ENABLE=Yes

http://lists.debian.org/debian-user-spanish/2005/12/msg00847.html

Edito: No he sido capaz de encontrar el log, parece que este metodo no funciona.

martes, 20 de agosto de 2013

NO_PUBKEY

gpg --keyserver pgpkeys.mit.edu --recv-key ANYPUBLICKEY

gpg -a --export ANYPUBLICKEY | sudo apt-key add -

sábado, 17 de agosto de 2013

Copio una forma de hacer copias de seguridad

Creating images of PSX games using Linux

Jump to: navigation, search

This pages describes a rather simple way for creating images for usage with an emulator like PCSXRearmed.. Everything listed here does require the program cdrdao which is often already installed in common Linux distributions once some burner software is installed.

From the command line

This command creates a dump of your disc. It also extracts subchannel data which is required for the copy protection of some of the games to work correctly. It saves the image in .bin format and also creates a .toc file.

First, you must know what device name to use for you optical drive. If you are not sure what your drive's Linux device name is, then you can run this command to find out:

cdrdao scanbus

The result should look something like this:

Cdrdao version 1.2.3 - (C) Andreas Mueller <andreas@daneb.de>

/dev/sr0 : hp , DVD RW AD-7581S , 4H73

The first part of the second line, /dev/sr0, is the device name of the only optical drive that cdrdao recognizes on this machine. If you have multiple optical drives, they will each show up here. You can distinguish between them by the description following the colon after the device name. The device here is an HP DVD RW Model AD-7581S.

Next, make sure that your disc is in the drive but not mounted. Assuming that your optical drive is called /dev/sr0, to unmount the drive from the command line you can do this:

umount /dev/sr0

(Of course you should substitute whatever device name you got from previous command.)

Assuming again that your optical drive is called /dev/sr0 and you want to name the image GAME_NAME, this is the command you can use to create the image in the current dir:

cdrdao read-cd --read-raw --read-subchan rw_raw --datafile GAME_NAME.bin --device /dev/sr0 --driver generic-mmc-raw GAME_NAME.toc

Of course you have to adjust the parameters according to your desires and your system setup.

Some emulators are finicky and don't like .toc files, or seem to work with some bin/toc file combinations, but not others. Usually .cue files work, so you may want to create a .cue file from the .toc file that cdrdao just made with this command:

toc2cue GAME_NAME.toc GAME_NAME.cue

That will leave both a .toc file and a .cue file in the directory you are working from.

Edicion: Error ocurrido:

Q sub-channel reading (data track) seems to be supported but cannot determine data format.

Please use driver option '--driver generic-mmc:0x1' or '--driver generic-mmc:0x3' to set the data format explicitly.

viernes, 14 de junio de 2013

Nombres de archivos raros.

Hola, mirando por ahi he encontrado el comando en linux para depurar el nombre de archivos raros, generalemente tienen acentos, o signos como de interrogación y te aparecen como matrices etc.

convmv -r --notest -f cp852 -t utf-8 *

Visto en: blog redirc

Postdata: Si no teneis el programa conmv teneis que instalarlo, via synaptic o consola.

martes, 4 de junio de 2013

adblock plus android peligro sin red

Bueno si instalas este software y lo desinstalas, sin previamente haberlo apagado o puesto en off, te filtra practicamente toda la red. La solución es instalarlo de nuevo, apagarlo y desintalarlo. Un saludo.