simple screen recorder

sudo apt install simplescreenrecorder

links refractarios


metronomo para linux

sudo apt-get install gtklick

como usar btcpayserver

using grid-area con IDENTS

.grid { display: grid; grid-template-columns: [one-start three-start] 1fr 1fr [one-end three-end two-start four-start] 1fr 1fr [two-end four-end]; grid-template-rows: [one-start two-start] 100px 100px [one-end two-end three-start four-start] 100px 100px [three-end four-end];; }

.two { grid-area: two-start / two-start / two-end; } b

check .asc signature file

cd wget gpg --import KEYS gpg --verify .asc

btc terminology

P2PKH: “Pay To Public Key Hash”

This is how transactions are made. You are requiring the sender to supply a valid signature (from the private key) and public key. The transaction output script will use the signature and public key and through some cryptographic functions will check if it matches with the public key hash, if it does, then the funds will be spendable. This method conceals your public key in the form of a hash for extra security.

P2PK: “Pay To Public Key”

This is similar to P2PKH; the difference is that it does not conceal your public key. Anyone using this method to send funds over the P2P network is showing people their public key in the transaction details.

P2SH: “Pay To Script Hash”

The outputs of a transaction are just scripts that, if are executed with specific parameters, will result in a boolean of true or false. If a miner runs the output script with the supplied parameters and results in true, the money will be sent to your desired output. P2SH is used for multi-signature wallets making the output scripts logic that checks for multiple signatures before accepting the transaction. P2SH can also be used to allow anyone, or no one, to spend the funds. If the output script of a P2SH transaction is just 1 for true, then attempting to spend the output without supplying parameters will just result in 1 making the money spendable by anyone who tries. This also applies to scripts that return 0, making the output spendable by no one.

This can also be used for puzzles like this one.

P2WPKH: “Pay To Witness Public Key Hash”

This was a feature of segwit which stands for Segregated Witness. Instead of using scriptSig parameters to check the transaction validity, there is a new part of the transaction called witness where the validity occurs.

accept btc and lighning payments


convertir audio a 44100

ffmpeg -i input.wav -ar 44100 output.wav

Create your own video streaming server with Linux

normal-map con gimp

sudo apt-get install gimp-normalmap–gamedev-3893

cambiando material component

entityEl.setAttribute(‘material’, ‘color’, ‘red’);

cambiando ‘y’ de textwrap component muro.setAttribute(‘textwrap’, ‘y’, ‘10’);

vainilla keypress

this.addEventListener(‘keypress’, event => { if (event.keyCode == 13) { alert(‘hi.’) } })

Adding a Component with .setAttribute()

To add a component, we can use .setAttribute(componentName, data). Let’s add a geometry component to the entity.

entityEl.setAttribute(‘geometry’, { primitive: ‘box’, height: 3, width: 1 });

Updating Property of Single-Property Component

entityEl.setAttribute(‘position’, {x: 1, y: 2, z: -3});

para convertir font a json

# /etc/init.d/kmod start

interesante para btc multisig info

install cert con adb 2

  1. openssl x509 -inform PEM -subject_hash_old -in ca.pem | head -1 cp ca.pem a58355c2.0

openssl x509 -inform PEM -text -in ca.pem -out /dev/null» a58355c2.0

  1. Copy the cert to the phone adb push a58355c2.0 /data/local/tmp adb shell
  2. In the adb shell

su mount -o rw,remount /system mv /data/local/tmp/a58355c2.0 /system/etc/security/cacerts/ chown root:root /system/etc/security/cacerts/a58355c2.0 chmod 644 /system/etc/security/cacerts/a58355c2.0 reboot

openssl req -x509 -days 730 -nodes -newkey rsa:2048 -outform der -keyout server.key -out ca.der -extensions v3_ca

Convert the private key

openssl rsa -in server.key -inform pem -out server.key.der -outform der openssl pkcs8 -topk8 -in server.key.der -inform der -out server.key.pkcs8.der -outform der -nocrypt

Convert the public key

openssl x509 -inform der -in ca.der -out ca.pem

openssl x509 -inform PEM -subject_hash_old -in ca.pem | head -1 cp ca.pem a58355c2.0 openssl x509 -inform PEM -text -in ca.pem -out /dev/null» a58355c2.0

instalar cert con adb

First you need to get the certificate hash

openssl x509 -inform PEM -subject_hash_old -in charles-proxy-ssl-proxying-certificate.pem head -1>toto


empujar el cert con adb adb -s push mkcert_development_CA_292398345889673995641409075124516137698.crt /system/etc/security/cacerts/

ver la pantalla del oculus quest por wifi en linux

en limpio

adb devices adb shell ip route adb tcpip 5555 adb connect scrcpy -c 1200:800:180:320 -m 1600 -b 25M adb disconnect adb kill-server&&adb start-server — adb devices sin no hay nada en la lista podemos reiniciar asi:

adb kill-server&&adb start-server

Luego. adb shell ip route

sale algo asi dev wlan0 proto kernel scope link src

luego adb tcpip 5555 y luego adb connect

para ver si funciona adb devices

sale esto: List of devices attached device

listo deberia funcionar ahora este comando por ejemplo scrcpy -c 1200:800:180:320 -m 1600 -b 25M

Using mkcert (SOLVED - FUNCIONA)

sudo apt-get install libnss3-tools sudo apt-get install linuxbrew-wrapper brew install mkcert /home/linuxbrew/.linuxbrew/bin/mkcert -install

The tool creates a new CA and directly installs it in the root store of your operating system

/home/linuxbrew/.linuxbrew/bin/mkcert -CAROOT

You can use mkcert to generate certificates that are automatically signed by the CA. For example, the following command:

/home/linuxbrew/.linuxbrew/bin/mkcert localhost

esto da lo siguiente Created a new certificate valid for the following names 📜

  • “localhost”
  • “”

The certificate is at “./localhost+1.pem” and the key at “./localhost+1-key.pem” ✅

  • Luego en el telefono se instala el archivo

generando un certificado con openSSL

  1. Generating a private key openssl genpkey -algorithm RSA -des3 -out private-key.pem -pkeyopt rsa_keygen_bits:4096

  2. Creating a Certificate Signing Request (CSR) openssl req -new -key private-key.pem -out csr.pem

  3. Creating the self-signed certificate openssl x509 -in csr.pem -out certificate.pem -req -signkey private-key.pem -days 365

You now have a certificate.pem file that can be used for local development


formatos de certificados

PEM format

extensions .pem, .crt, .key, or .ca-bundle. To make sure that the file is actually a PEM file, open it and check to see that it starts with BEGIN CERTIFICATE or BEGIN RSA PRIVATE KEY.

P7B format

A file with the P7B or PKCS#7 format is also stored in Base64 encoded ASCII. The file has the extension .p7b or .p7c. The P7B format can only be used to store certificates and not private keys. The file format is used on Windows and Java Tomcat.

DER format

The Distinguished Encoding Rules (DER) format stores certificates and private keys in a binary format. The file has the extension .der or .cer. The DER format is often used on Java platforms.

PKCS#12 format

The PKCS#12 or PFX format is stored in a binary file. The private key and certificate are stored in a single file. The file has the extension .pfx or .p12. The files are used on Windows and macOS to import and export certificates and private keys.

comandos frecuentes en creacio de cert para dev local

openssl req -new -sha256 -nodes -out server.csr -newkey rsa:2048 -keyout server.key -config <( cat server.csr.cnf )

openssl x509 -req -in server.csr -CA localhostCA.pem -CAkey localohostCA.key -CAcreateserial -out server.crt -days 500 -sha256 -extfile v3.ext

npm run dev5

Instalando brew para usar mkcert

sudo apt-get install libnss3-tools sudo apt-get install linuxbrew-wrapper brew install mkcert /home/linuxbrew/.linuxbrew/Homebrew/bin/brew

brew install mkcert

Created a new local CA at “/home/$USER/.local/share/mkcert” 💥 Warning: the local CA is not installed in the system trust store! ⚠️ Warning: the local CA is not installed in the Firefox and/or Chrome/Chromium trust store! ⚠️ /home/linuxbrew/.linuxbrew/bin/mkcert


crear cert localhost v2 (

1-genero la llave, llamada ‘localohostCA.key’, para generar el certificado (rootCA.key) openssl genrsa -des3 -out localohostCA.key 2048

2- uso la llave para generar un certificadoraiz llamado ‘localhostCA.pem’ (Root SSL certificate de CA certificate autority) openssl req -x509 -new -nodes -key localohostCA.key -sha256 -days 1024 -out localhostCA.pem

2- copiar el archivo PEM convirtiendolo a .crt para usarlo en Ubuntu. openssl x509 -in localhostCA.pem -inform PEM -out localhostCA.crt

2c. lo copio en ubuntu, primero creo el directorio sudo mkdir /usr/share/ca-certificates/extra

2d. luego lo copio sudo cp localhostCA.crt /usr/share/ca-certificates/extra/localhostCA.crt

2d. actualizo sudo dpkg-reconfigure ca-certificates

3- crear un archivo de configuracion SSL llamado ‘server.csr.cnf’, con el siguiente contenido:

[req] default_bits = 2048 prompt = no default_md = sha256 distinguished_name = dn

[dn] C=ar ST=libre L=nube O=energiasonora OU=es emailAddress=$ CN = $USER

4-Crear un archivo llamado ‘v3.ext’ para crear un certificado X509 v3, con el siguiente contenido:

authorityKeyIdentifier=keyid,issuer basicConstraints=CA:FALSE keyUsage = digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment subjectAltName = @alt_names

[alt_names] DNS.1 =

5- crear un pedido de firmado (csr), y una llave certificadora llamada ‘server.key’ para localhost usando la configuracion guardada en server.csr.cnf

openssl req -new -sha256 -nodes -out server.csr -newkey rsa:2048 -keyout server.key -config <( cat server.csr.cnf )

6- Utilizamos el certificado ‘localhostCA.pem’ (root SSL certificate) que creamos en el paso 2, y la llave que creamos en el paso 1, para crear un certificado de dominio para localhost, este se llamara ‘server.crt’

openssl x509 -req -in server.csr -CA localhostCA.pem -CAkey localohostCA.key -CAcreateserial -out server.crt -days 500 -sha256 -extfile v3.ext

7- test con budo budo –live –port 3333 –open –ssl –cert=server.crt –key=server.key budo src/player.js:norman-player.js –live –port 9000 –open –host –ssl –cert=server.crt –key=server.key

IMPORTANTE Before you can use the newly created Root SSL certificate to start issuing domain certificates, there’s one more step. You need to to tell your Mac to trust your root certificate so all individual certificates issued by it are also trusted.

sudo cp server.crt /usr/local/share/ca-certificates/ sudo update-ca-certificates


crear certificado para localhostv2

openssl req -new -newkey rsa:2048 -nodes -keyout localhost.key -out localhost.csr

openssl x509 -req -days 365 -in localhost.csr -signkey localhost.key -out localhost.crt

luego se puede utilizar asi: budo –live –port 3333 –open –ssl –cert ‘ localhost.crt’ –key ‘localhost.key’

para ver el certificado openssl x509 -noout -text -in localhost.crt

…Server names and IP Addresses always go in the Subject Alternate Name (SAN) … Chrome had deprecated support for commonName matching in certificates, in effect, requiring a subjectAltName since January 2017.

falta Create a new OpenSSL configuration file server.csr.cnf

ver certificados instalados

sudo apt install libnss3-tools certutil -d sql:$HOME/.pki/nssdb -L

cambiar default magnet aplicqation

gio mime x-scheme-handler/magnet gio mime x-scheme-handler/magnet qbittorrent.desktop

comprimir imagenes en tanda

sudo apt-get install jpegoptim jpegoptim *.jpg

resize images

convert -resize 1024X768 *.jpg resized.jpg

avioncito de papel

plugins de audio

sudo apt-get install fabla luppp calf-plugins swh-plugins

covnerr mkv to mp4 con ffmpeg

ffmpeg -y -i ‘input.mkv’ -b:a 320k ‘output.mp4’

ripear dvd

cat VTS_0_VOB | ffmpeg -i - -c:v libx264 -crf 23 ~/rip.mp4

encode mov a mp4

ffmpeg -i -q:v 0 output.mp4


Prefered distro

mint mate 19.3 con compiz y kupfer


sudo apt install xournal

ssh open server

sudo apt install openssh-server sudo service ssh start

sudo service ssh restart

sudo service ssh stop

comandos utiles

  • whereis yourprogramname to know where a program is
  • ls –l test.txt to check permision
  • sudo chown -R username /usr/local/lib/node_modules to change permision…
  • node 10x curl -sL | sudo bash -
  • firebase tools

pdf tools

sudo apt install python-gi ghostscript


sudo add-apt-repository ppa:linuxuprising/apps sudo apt update sudo apt install pdfarranger


adb kill-server&&adb start-server adb devices scrcpy -c 1200:800:180:320 -m 1600 -b 25M

edit pdf metadata

sudo snap install pdftk 1) pdftk book.pdf dump_data output report.txt 2) edit report.txt 3) pdftk book.pdf update_info report.txt output bookcopy.pdf


Install required dependencies if needed

sudo apt-get install apt-transport-https gpgv

Remove legacy repos

sudo dpkg –purge kxstudio-repos-gcc5

Download package file


Install it

sudo dpkg -i kxstudio-repos_10.0.3_all.deb

kde-connect share file

kdeconnect-cli -d $(kdeconnect-cli -a –id-only) –share /home/user/Videos/video.mkv

ssh key para gitlab y similares


In public-key cryptography, Edwards-curve Digital Signature Algorithm (EdDSA) is a digital signature scheme using a variant of Schnorr signature based on Twisted Edwards curves.[

’’’ ssh-keygen -t ed25519 -C ‘correoelectronico’

check if installed

for key in ~/.ssh/id_*; do ssh-keygen -l -f “${key}”; done | uniq


luego de correr Ubuntu gnome 16.04

sudo apt-get install synergy sudo apt-get install git sudo apt-get install filezilla

sudo apt-get install rubygems

sudo apt-get install python-pip sudo apt-get install curl

sudo add-apt-repository ppa:webupd8team/atom sudo apt-get update sudo apt-get install atom apm install terminal-plus

now to create a new post do


other Keyboard Shortcuts

Cmd-Alt-L Open the layout for the current file

Cmd-Alt-D Open the Datafile

Cmd-Shift-I Open include

Cmd-Alt-J Create a new post

Alt-Shift-T Turn the server on/off

sudo apt-get install rubygems

sudo apt-get install python-pip sudo apt-get install curl

curl -sL | sudo -E bash - sudo apt-get install -y nodejs

sudo apt-get install ruby-dev

sudo gem install jekyll sudo apt-get install git

sudo npm install gulp

Install as a development dependency:

npm install –save-dev

#Configuring Git

We’ll be using Git for our version control system and publish plataform

git config –global color.ui true git config –global “YOUR NAME” git config –global “”

ssh-keygen -t rsa -C “”

Agregar path en mint 17

sudo gedit /etc/environment Add the desired variable in the text file separated by colon, save, logout, login - and it is permanently and globally changed

a echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/$USER/xunos/

freewill looper

libfreetype6-dev libsdl-gfx1.2-dev libsdl-ttf2.0-dev libxml2-dev libjack-dev libvorbis-dev libsndfile1-dev

./configure make


sudo apt-get install aj-snapshot




sudo apt-get install lebiniou


sudo apt-get install sooperlooper

google cloudprint

sudo apt-get install git-core python python-cups

git clone git:// chmod -R 777 ~/cloudprint cd ~/cloudprint

python build sudo python install


Run it and it will ask for your Gmail address and password

python /usr/local/lib/python2.6/dist-packages/cloudprint/ It will also add your default printer.

You can manage your printers at the following address.

XUNOS mint 17.1

sudo apt-get install quicksynergy

sudo apt-get install nemo-terminal


sudo gedit /etc/samba/smb.conf

esta parte [global]


Change this to the workgroup/NT-domain name your Samba server will part of

workgroup = RHM01 #force user = $USER netbios name = xunosat name resolve order = lmhosts wins bcast host

sudo service smbd restart

sudo gedit /etc/nsswitch.conf hosts: files mdns4_minimal [NOTFOUND=return] wins dns mdns4

sudo apt-get install winbind


sudo apt-get purge samba sudo rm -rf /etc/samba/ /etc/default/samba sudo apt-get install samba


sudo apt-get install samba sudo apt-get install smbclient

sudo apt-get install samba-common sudo dpkg-reconfigure samba-common

sudo gedit /usr/share/samba/smb.conf AGREGAR EN GLOBAL name resolve order = lmhosts wins bcast host

sudo gedit /etc/nsswitch.conf AGREGAR hosts: files mdns4_minimal [NOTFOUND=return] wins dns mdns4


sudo apt-get install alsa-firmware-loaders alsa-tools alsa-tools-gui alsa-firmware sudo apt-get install ffado-mixer-qt4 jackd2-firewire sudo apt-get install pulseaudio-module-jack

– EN LA CARPETA CON NEMO TERMINAL IR AL DIRECTORIO DE XUNOS sudo cp -v xunogrub.jpg /boot/grub sudo update-grub

sudo cp xunos.ogg /usr/share/mint-artwork-cinnamon/sounds/ y elegir como sonido de entrada

sudo cp logo.png /lib/plymouth/themes/mint-logo/ sudo update-initramfs -u

sudo cp xunos_wallpaper.png /usr/share/backgrounds/ luego ir a la carpeta y elegir como fondo

sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update do apt-get install gloobus-preview sudo apt-get install unoconv gnumeric sudo apt-get install nemo-gloobus-sushi

sudo apt-get install software-properties-common wget sudo add-apt-repository ppa:kxstudio-debian/kxstudio sudo apt-get update sudo apt-get install kxstudio-repos sudo apt-get update sudo apt-get install kxstudio-desktop-base sudo addgroup $USER audio

sudo apt-get install kxstudio-desktop-base

sudo apt-get install language-pack-gnome-es language-pack-es libreoffice-l10n-es thunderbird-locale-es thunderbird-locale-es-es thunderbird-locale-es-ar sudo apt-get install myspell-es


buscar Network Data Usage Monitor sudo apt-get install gir1.2-gtop-2.0 vnstat vnstati zenity sox libsox-fmt-mp3

wget -O unzip -q -d ~/.local/share/cinnamon/applets

desde la pagina

ardour3 cadence jack-keyboard qsampler

sudo apt-get install cairo-dock

sudo apt-get install typecatcher sudo apt-get install swami sudo apt-get install qsynth

sudo apt-get install libav-tools sudo apt-get install youtube-dl

sudo apt-get install vorbis-tools sudo apt-get install lame sudo apt-get install pdfshuffler sudo apt-get install hardinfo sudo apt-get install rakarrack

sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update sudo apt-get install nodejs

sudo apt-get install musescore

Warning in file “/usr/share/applications/gnumeric.desktop”: usage of MIME type “zz-application/zz-winassoc-xls” is discouraged (“zz-application/zz-winassoc-xls” should be replaced with “application/”)

sudo apt-get install xcalib

sudo apt-add-repository ‘deb all main’ wget -q -O - | sudo apt-key add - sudo apt-get update sudo apt-get install multisystem

sudo apt-get install gparted

CONFIG SAMBA sudo gedit /etc/samba/smb.conf sudo restart smbd sudo restart nmbd

sudo chown root:sambashare /var/lib/samba/usershares/ sudo service samba restart

But you should arguably not distribute your password to people you want to share files with. If you want to avoid this, you should activate guest access (the last option in the dialog). But this option is only available when your system has an appropriate dummy user who doesn’t need a password (actually, any password will do, if a login should become necessary because the server isn’t visible in the file manager). So create that special user with:

sudo useradd -g nobody -d /dev/null -s /bin/false -c “Samba guest account” smbguest

QUICKSYNERGY SERVIDOR sudo gedit ~/.quicksynergy/synergy.conf

CLIENTE sudo gedit ~/.quicksynergy/quicksynergy.conf

LUEGO ANADIR EL QUE CORRESPONDE EN APLICACIONES AL INICIO PARA EL SERVIDOR /usr/bin/synergys -f –config .quicksynergy/synergy.conf

PARA EL CLIENTE /usr/bin/synergys -f –config .quicksynergy/quicksynergy.conf

sudo apt-get install asunder soundconverter xjadeo patchage

sudo apt-get install gimp gimp-data-extras gimp-lensfun gimp-texturize create-resources inkscape ink-generator sudo apt-get install darktable

sudo apt-get install openshot blender create-resources sudo apt-get install cups-pdf

dropbox nemo

comando para ver que compu es

inxi -f

problema blende openshot

WPS Office Suite Installation

Open the terminal and enter these commands:

  <code>cd /tmp </code>

  <code>wget -O wps-office_i386.deb </code>

  <code>sudo dpkg -i --force-depends wps-office_i386.deb </code>

<code>  sudo apt-get -f install </code>

  <code>wget -O </code>

<code>  sudo chmod +x </code>

  <code>sudo ./</code>


sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get install subtitleeditor

descargar subtitulos youtube


sudo apt-get install nemo-terminal

restore GRUB boot loader

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

programas de astronomia stellarium, celestia, kstars

sudo apt-get install celestia sudo apt-get install kstars

jekyll new post para atom

jekyll-new-post alt-+command+j

Cambiar permisos y usuario de forma recursiva

sudo chown -R -c $USER /media/$USER/61a4a8da-4889-40d8-8301-e32a f270d7c8/IMAGENES/Camera/*

sudo chmod -R 755 /media/$USER/61a4a8da-4889-40d8-8301-e32af270d7c8/IMAGENES/Camera/*

install Google Earth on Linux Mint 17 64bit properly

As most of us have noticed Google Earth has been increasingly unstable on the lates Linux Mint/ Ubuntu releases, mainly 64bit versions. The most common issue is the application closing unexpectedly shot time after we launch it. Below is the best solution to avoid any hussle.

1- Add 32bit architecture:

<code>sudo dpkg --add-architecture i386 && sudo apt-get update</code>

2- Install 32bit libraries:

<code>sudo apt-get install ia32-libs</code>

3- install googleearth-package:

<code>sudo apt-get install googleearth-package</code>

4- Install google-earth-stable:i386 [b]and not google-earth-stable

 <code>sudo apt-get install google-earth-stable:i386 </code>

anadir PATH permanentemente

sudo gedit ~/.profile buscar PATH="$HOME/bin:$PATH" modificar asi PATH="$HOME/bin:$PATH:/home/$USER/xunos" ejecutar en terminal export PATH=$PATH:/home/$USER/xunos

SCRIPT: tocar

sudo gedit /usr/local/bin/xunoscripts/tocar #!/bin/bash sleep 1 notify-send 'Preparando configuracion para tocar' & catia& #usar 22050 y 64 buffewrs size

#teclado ICON #sleep 2 #AMSYNTH_NO_GUI=1 amsynth& #amsynth -b ‘/home/$USER/.amsynth/banks/$’& #sleep 2 #jack_connect ‘a2j:iCON iKEY V2 02 [32] (capture): iCON iKEY V2 02 MIDI 1’ amsynth:midi_in

sleep 3 calfjackhost compressor ! reverb ! &

sleep 3

jack_connect system:capture_2 calf:compressor_in_l & sleep 1 jack_connect system:capture_2 calf:compressor_in_r </code> sudo chmnod +x /usr/local/bin/xunoscripts/tocar

Plugins para tocar luppp y calf

sudo apt-get install fabla luppp calf-plugins


sudo add-apt-repository ppa:nemh/systemback sudo apt-get update sudo apt-get install systemback


apt-get install python-gdata wget tar xvzf youtube-upload-0.7.3.tgz cd youtube-upload-0.7.3 sudo python install

Mejora el grub menu sencillamente

Simplemente poner un archivo jpg, por ejemplo xunogru.jpg en la carpeta del grub sudo cp -v xunogrub.jpg /boot/grub sudo update-grub

para quitar sudo rm -v /boot/grub/xunogrub.jpg

Followed by: sudo update-grub


Los scripts antiguos estaban en ~/.xuno-scripts/ y los quiero copiar a /usr/local/bin/xunoscripts/ sudo cp -a ~/.xuno-scripts/* /usr/local/bin/xunoscripts/

Para ejecutarlos

sh /usr/local/bin/xunoscripts/nombre del script

como crear un script

sudo gedit /usr/local/bin/xunoscripts/nombre del script sudo chmod +x /usr/local/bin/xunoscripts/nombre del script

para que se ejecuten directamente desde cualquier lugar sin esdpecificar el path

PONERLOS EN /usr/local/bin/

sudo cp -a /usr/local/bin/xunoscripts/* /usr/local/bin/

Atajos de teclado

mata ventanas



amixer -c 1 set PCM 2dB+


amixer -c 1 set PCM 2dB-


/usr/bin/atom /home/$USER/SITIOS/linux.html





Determinar sistema 64 o 32 bit

uname -m

Connect Audio Channels

In order to list what jack devices are available jack_lsp

List connected jack devices jack_lsp -c calfjackhost compressor ! reverb !

jack_connect system:capture_2 calf:reverb_in_l jack_connect system:capture_2 calf:reverb_in_r jack_connect system:capture_2 calf:compressor_in_l jack_connect system:capture_2 calf:compressor_in_r

Distrho Project

This is a KXStudio sideproject aimed at collecting and providing virtual instrument and effects devices for use in KXStudio and related environments.

  • Currently available plugins and ports

Installation instructions

Code: Select all sudo apt-get install distrho-mini-series distrho-mverb distrho-nekobi distrho-prom distrho-plugin-ports sudo apt-get install arctican-plugins dexed drowaudio-plugins juced-plugins klangfalter obxd pitcheddelay tal-plugins wolpertinger sudo apt-get install easyssp lufsmeter luftikus

Crear un script para correr cada vez que se conecta un dispositivo USB

This explains how you could run a script made by you (say /usr/local/my_script) when you plug a specific USB device.

  1. First run lsusb to identify your device. Example: lsusb Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 040a:0576 Kodak Co. Bus 002 Device 010: ID 1d03:0018 iCON Bus 001 Device 001: ID 0000:0000

  2. After doing this you know that
    • the vendor ID of your device is 040a
    • the product ID of your device is 0576
  3. Now is time to create your UDEV rule:

sudo gedit /etc/udev/rules.d/85-my_rule.rules

  1. And add the text

ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="1d03", ATTR{idProduct}=="0018", RUN+="/home/$USER/.xuno-scripts/icon_keyboard"

Please note ATTR{idVendor}==”046d” and ATTR{idProduct}==”09a4” parts where I target the device this rule is created for. Now it’s time to put your rule to test. First let’s restart udev service to pickup our new rule. Now you can use tail command to watch syslog while plugging your device in to monitor your script in action.

sudo service udev restart tail -f /var/log/syslog o udevadm monitor --environment --udev

Controlando Calfjackhost en terminal

calfjackhost ! compressor ! reverb ! conecta las dos entradas por defecto al compresor, del compresor al reverb y del reverb a las salidas por defecto

–input system:capture_2

Para bajar archivos de wetransfer desde la terminal pip install requests sudo apt-get install python-pi python -u

Gloobus preview

repository sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install gloobus-preview For some documents to work with Gloobus Preview, you'll also have to install unoconv and Gnumeric (for its ssconvert tool): sudo apt-get install unoconv gnumeric However, as I said above, Gloobus Preview doesn't seem to handle documents very well right now. 2. Next, you must install a Gloobus Preview helper tool which integrates the application with either Nautilus or Nemo and then restart Nemo / Nautilus, using the following commands:

- for Nautilus:

sudo apt-get install gloobus-sushi nautilus -q

- for Nemo:

sudo apt-get install nemo-gloobus-sushi nemo -q

Popcorn Time

sudo add-apt-repository ppa:webupd8team/popcorntime sudo apt-get update sudo apt-get install popcorn-time

LADSPA plugins

sudo apt-get install blop caps cmt fil-plugins ladspa-sdk mcp-plugins omins swh-plugins tap-plugins

Juegos de linux

sudo apt-get install minetest tiger-rally alien-arena asault-cube

Install Kingsoft Office

32bit wget sudo dpkg -i kingsoft-office_9.1.0.4280~a12p4_i386.deb For 64bit OS sudo dpkg --add-architecture i386 sudo apt-get update wget kingsoft sudo dpkg -i kingsoft-office_9.1.0.4280~a12p4_i386.deb

convertir toda una carpeta jpg a pdf

sudo apt-get install imagemagick convert * notes.pdf where notes.pdf is the desired single pdf output file. If you want to compress, convert -compress jpeg *.jpg notes.pdf


1-Create Your GitHub Repository // Retrieve a copy of your GitHub repo. git clone // Move into that directory. cd repository 2-Creating an Orphan Branch This new branch should be called gh-pages git checkout --orphan gh-pages 3-Adding Your Website Files git commit -a -m "Adding pages" Note: The -a flag is shorthand for git add 4-Pushing Your Changes to GitHub git push origin gh-pages 5-0Using a Custom Domain The last thing I want to cover in this post is how you can use your own domain name with your new GitHub-hosted website. First you will need to create a new file in your GitHub repo called CNAME that contains the domain name (or subdomain) that you wish to use. This file should be placed in the gh-pages branch if you are using project-pages (as we have been in this post). If you are using user-pages the file should be placed in the master branch. Your CNAME file might look like the following: Next you will need to update the DNS records for your domain name. This is usually done through a control panel provided by your domain registrar. If you want to use a root domain (such as for your website you will need to setup a new A record that points to the IP address If you are using a subdomain (such as it’s best to create a new CNAME record that points to your GitHub user subdomain (**username** This is so that the DNS will be automatically adjusted if the servers IP address changes on GitHub.



git add * . To actually commit these changes use git commit -m "Commit message" Your changes are now in the HEAD of your local working copy. To send those changes to your remote repository, execute git push origin gh-pages


To start working on the project in linux, clone the repo to linux machine. Add the ssh public key to github. Add your username and email to git-config. For GUI you can use gitg. crear branch gh-pages and switch to it git checkout -b gh-pages delete master branch git branch -d master a branch is not available to others unless you push the branch to your remote repository git push origin gh-pages starting a local repo based on what you have from github: git clone To see the status of the repo, do: git status Example for syncing your local repo to more recent changes on github: git pull Example for adding new or modified files to a "stage" for commit git add /path/file1 /path/file2 Example for committing the files in your "stage" git commit Example for pushing your local repo (whatever you have committed to your local repo) to github git push Merge the changes from upstream/master into your local master branch. This brings your fork's master branch into sync with the upstream repository, without losing your local changes. git merge upstream/gh-pages

Algunas cosillas

built-in git GUI sudo apt-get install gitk use colorful git output git config color.ui true show log on just one line per commit git config format.pretty oneline use interactive adding git add -i

Creando una clave para autenticar desde la terminal

------------- ssh-keygen -t rsa ssh-add ~/.ssh/id_rsa -------------- 1-Generate the keys, if keys not exist: cd ~/.ssh && ssh-keygen -lf ~/.ssh/ 2-Don't forget password, entered at this step! Output your public key to screen: cd ~/.ssh && cat 3-Copy this string by click and move a mouse pointer from begin output to end. No need to press Ctrl + V or any more keys. Log in your account on GitHub and add this public key to Now you can use your git locally.

Passwords fuertes APG

sudo apt-get install apg apg

Geary, compilar e instalar

DEPENDENCIAS sudo apt-get install valac libgirepository1.0-dev intltool cmake desktop-file-utils gnome-doc-utils libcanberra-dev libgee-0.8-dev libglib2.0-dev libgmime-2.6-dev libgtk-3-dev libsecret-1-dev libxml2-dev libnotify-dev libsqlite3-dev libunique-3.0-dev libwebkitgtk-3.0-dev libmessaging-menu-dev libunity-dev wget tar -xJvf geary-0.8.2.tar.xz cd geary-0.8.2 Configure, build and install: ./configure make sudo make install

Tox, alternativa a skype

DIRECTAMENTE DESCARGAR EL BINARIO DE Para hacer ejecutable para el usuario sudo cp utox /usr/local/bin/ wget