beets

>sudo apt-get install python-dev python-pip
sudo pip install beets

>beet version
beets version 1.3.1
no plugins loaded

>sudo pip install -U beets

>beet version
beets version 1.3.1
no plugins loaded

hmmm… expected version 1.3.6

>nano /home/golli/.config/beets

[…]

disk utility

via software center you get: gnome-disk-utility 3.10.0-1ubuntu3

website: https://git.gnome.org/browse/gnome-disk-utility/

 

mount partitions at startup

pyserial

download latest from https://pypi.python.org/pypi/pyserial

pyserial-2.7.tar.gz

tar xfz pyserial-2.7.tar.gz

sudo python setup.py install

 

sudo vi/boot/cmdline.txt

change

dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait

into

dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait

sudo vi /etc/inittab

uncomment line with

T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100

#Spawn a getty on Raspberry Pi serial line
#T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100

save and reboot

 

weather.py:

import serial
ser=serial.Serial(“/dev/tty1,9600,timeout=0.5”)
print ser.name
ser.close

sudo  python weather.py

change IP & restart the network

sudo nano /etc/network/interfaces

change

iface eth0 inet dhcp

into

iface eth0 inet static
    address 192.168.1.250
    netmask 255.255.255.0
    gateway 192.168.1.1

or whatever your desired address might be. when restarting the network you might see:

pi@raspberrypi ~ $ sudo /etc/init.d/networking restart
[warn] Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces … (warning).
[….] Reconfiguring network interfaces…RTNETLINK answers: No such process

… and the network is gone. you can’t reach the pi via the ethernet anymore. hussa!

reason: /etc/init.d is using “ifup -a”. interfaces without “auto” will not restart…

add “auto eth0” to /etc/network/interfaces

even this will lead to

pi@raspberrypi ~ $ sudo /etc/init.d/networking restart
[warn] Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces … (warning).
[….] Reconfiguring network interfaces…RTNETLINK answers: File exists
Failed to bring up eth0.
done.

after all the network is up again and you can reach the pi again

try stop/start the network via the deamon

pi@raspberrypi ~ $ sudo invoke-rc.d networking restart
[warn] Running /etc/init.d/networking restart is deprecated because it may not re-enable some interfaces … (warning).
[….] Reconfiguring network interfaces…RTNETLINK answers: File exists
Failed to bring up eth0.
done.

hmm. still an error…

 sudo dhclient eth0

leads to

pi@raspberrypi ~ $ sudo dhclient eth0
RTNETLINK answers: File exists

 

pi@raspberrypi ~ $ sudo dhclient eth0 -r

pi@raspberrypi ~ $ sudo invoke-rc.d networking stop

pi@raspberrypi ~ $ sudo invoke-rc.d networking start

will do the job. remember that you can’t do this remote because the connection is lost.

pi@raspberrypi ~ $ sudo invoke-rc.d networking stop && sudo invoke-rc.d networking start
[ ok ] Deconfiguring network interfaces…done.
[ ok ] Configuring network interfaces…done.

will work while connected via ssh

 

 

disk usage analyzer

for some reason it is not possible to install the gnome-utils

Screenshot - 18.05.2014 - 14:53:03 Screenshot - 18.05.2014 - 14:53:15

baobab is one of the tools i was missing

Screenshot - 18.05.2014 - 14:42:56

http://en.wikipedia.org/wiki/Disk_Usage_Analyzer

search & (possibly) find

xubuntu using thunar as file manager. since the the use of a hammer is a simple task – as long as you know which end to grab – i expect the same of thunar…

Screenshot - 18.05.2014 - 11:55:07

used to do a ctrl-f to popup a search. i tried and put in a pattern… but this does nothing than mark files in the actual view which match the pattern. ok, i grabbed the wrong end…

right mouse button click offers a context menu with a search option. this opens catfish a simple and powerful frontend for locate and find.

[ˈduːzn̩dˈdoʊnt͜s]

do not use patterns like *.iso because catfish is searching for that exact pattern. since the asterisk ‘*’  is not allowed in file/folder names it makes only sense if we are performing a full text search for this pattern.

do search for .iso if you want to find all iso files

it seems that regular expressions are not supported

version 0.0

switching from windows to linux

fujitsu siemens t4410, 2.5ghz core2 duo, 8gb ram, 128gb ssd, displaylink dl-165, 2x l227wtp 22″

xubuntu 14.04

3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux