Mittwoch, April 30, 2008

simulating LCD display in xterm

I like to add a display to the PC I do some automated work on (reading floppies, ripping CD's). To write to the display I will use LCDd. This daemon controls the display. One ore more client will send simple ASCII commands and messages via TCP.

To test my client and encounter the display size I use the curses driver to simulate the display via xterm.

In /etc/LCDd.conf at the [curses] section set topleftx and toplefty to 0. Set size to the size to try (e.g. 20x4).

Start a xterm to simulate the display.
xterm -name lcdproc +sb -geometry 22x6 -e /usr/sbin/LCDd -c /etc/LCDd.conf -d curses &
Make sure that no LCDd is running as this prevents the start of the new one. Set the xterm geometry to the one of LCDd.conf (+2 on x and y for the border).

To do some tests by hand connect to LCDd with telnet and type:

telnet localhost 13666
hello
client_set -name mytest
screen_add scr1
widget_add scr1 str1 string
widget_set scr1 str1 1 1 "first test output"

For more information see Chapter 3. The LCDproc client language of the LCDProc Developer Guide.

Montag, April 28, 2008

Test Musikverwaltung unter Linux

Auf Pro-Linux gibt es einen Test verschiedener Linux-Programme um seine Musik zu verwalten und ab zu speieln.

Meine Zusammenfassung:

Rhythmbox

Unterstützt last.fm, Podcasts und Webradios. Kann über plugins erweitert werden. Album-Covers können aus dem Album-Direktory oder von Amazon aus angezeigt werden. Ist ein Gnome-Programm.

Banshee

Zusätzlich zu den Features von Rhythmbox unterstützt Banshee noch smart playlists. Diese können z.B. alle noch nie gespielten Songs enthalten.

Listen

Hat alle Features der beiden oberen Programme

Quod Libet

Nur die einfachsten Funktionen. Da verwende ich dann lieber xmms

Amarok

Hatte ich schon mal selbst getestet und konnte mit meiner vorhandenen Musik-Library nicht umgehen.

Exaile

Versucht Exaile unter Gnome nach zu bilden

MadMan

Nur die einfachsten Funktionen. Da verwende ich dann lieber xmms

Songbird

Basiert auf XUL und VLC. Sehr Ressourcen hungrig. Ist mir nicht klar, ob dies durch die Beta-Version oder die verwendeten Techniken kommt. Firefox und VLC brauchen beide von hause aus schon mehr Ressourcen als andere GUIs oder Media-Player.

Picard

Kann zusätzlich zu den Features von Banshee für unbekannte Songs die MusicBrainz-PUIDs berechnen und versuchen darüber die fehlenden Information zu bekommen.


Der Tester verwaltet seine Musik nur uebr die MP3-Tags und nicht über eine Datenbank wie ich. Der Test ist vermutlich für mich nicht besonders aussage kräftig. Sollte mit seinen Favoriten versuchen ob diese mit meiner Datenbank umgehen können.

Mittwoch, April 23, 2008

Kühlmittelgelenkschlauch

For electronic or modelling projects I will add some helping hands and flexible lights to my workbench. The today post on lifehacker about the diy GorillaPod reminded me of Third Hand++. Using these adjustable coolant hose systems (Kühlmittelgelenkschlauch) it looks possible to very easy fulfill all the ideas I have.

Unfortunately I don't know a shop who sells this. A google search found only a view shops who sell precast ones. On ebay.de I had more luck - Gego-GmbH-Präzision.