sabato 9 dicembre 2017

Montare filesystem remoto

Installare:
sudo apt-get install sshfs
creare la directory locale:
sudo mkdir /mnt/droplet

Montare il filesystem:
sudo sshfs -o allow_other root@xxx.xxx.xxx.xxx:/ /mnt/droplet

scaricare video da youtube su raspberry a riga di comando

sudo apt-get install youtube-dl

per l'help usare
youtube-dl --help 

per scaricare un video:

youtube-dl https://youtu.be/Qq34uHTBJrE

SENSORE DALLAS DS18B20

SENSORE DALLAS DS18B20
======================
aggiungere le librerie:

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.

# MODULI PER SENSORE TEMPERATURA
w1-gpio
w1-therm
uinput
joydev
snd-bcm2835



# /boot/config.txt
#
# Per sensore temperatura
dtoverlay=w1-gpio,gpiopin=4

Kodi Schermo nero su riproduzione

Aggiungere nel file /boot/config.txt:

# Per kodi FULLHD
gpu_mem=128
gpu_mem_256=128
gpu_mem_512=256
gpu_mem_1024=256
overscan_scale=1

giovedì 17 agosto 2017

Import / Export Profili Terminale GNOME

Funziona con gnome-terminal:

sudo apt-get install gnome-terminal


  • EXPORT PROFILI
gconftool-2 --dump '/apps/gnome-terminal' > gnome-terminal-conf.xml
  • IMPORT PROFILI
gconftool-2 --load gnome-terminal-conf.xml

sabato 28 gennaio 2017

VirtualBox non riconosce USB drive

Dopo aver installato VirtualBox eseguire questo comando:


sudo usermod -a -G vboxusers $USER


Fare Logout dal sistema e rientrare