Montag, 18. Juli 2011lirc
seit Kernel 2.6.38 wurde das Modul lirc_i2c entfernt. Laut Heise: "Den Treiber "lirc_i2c" haben die Entwickler entfernt, weil der Treiber ir-kbd-i2c die gleiche Funktion offeriert. ".
Leider funktioniert das bei mir natürlich wieder einmal nicht so einfach. Während das alte Modul ein eigenes Device erzeugte und so direkt angesprochen werden konnte, wird jetzt mit dem Modul ir-kbd-i2c über Event-Tables zugegriffen: CODE: ~$ dmesg |tail -n 4 Registered IR keymap rc-rc5-tv input: i2c IR (Hauppauge) as /devices/virtual/rc/rc0/input4 rc0: i2c IR (Hauppauge) as /devices/virtual/rc/rc0 ir-kbd-i2c: i2c IR (Hauppauge) detected at i2c-0/0-0018/ir0 [bt878 #0 [sw]] ~$ tail -n 10 /proc/bus/input/devices N: Name="i2c IR (Hauppauge)" P: Phys=i2c-0/0-0018/ir0 S: Sysfs=/devices/virtual/rc/rc0/input4 U: Uniq= H: Handlers=kbd event4 B: PROP=0 B: EV=100013 B: KEY=afc302 2002805 0 0 0 4 18000 180 40000801 9e1680 0 800200 ffc ~$ sudo killall lircd ~$ sudo lircd --nodaemon -H devinput -d /dev/input/event4 lircd-0.8.7[17513]: config file contains no valid remote control definition lircd-0.8.7[17513]: lircd(devinput) ready, using /var/run/lirc/lircd lircd-0.8.7[17513]: accepted new client on /var/run/lirc/lircd lircd-0.8.7[17513]: initializing '/dev/input/event4' lircd-0.8.7[17513]: accepted new client on /var/run/lirc/lircd Beim Start von irw in einem weiteren Terminal wird ausgegeben: CODE: lircd-0.8.7[17513]: accepted new client on /var/run/lirc/lircd lircd-0.8.7[17513]: removed client ~$ ir-keytable Found /sys/class/rc/rc0/ (/dev/input/event4) with: Driver ir-kbd-i2c, table rc-rc5-tv Supported protocols: RC-5 Enabled protocols: RC-5 Extra capabilities: <access denied> ~$ sudo ir-keytable -a /etc/rc_maps.cfg Old keytable cleared Wrote 45 keycode(s) to driver Protocols changed to other trotzdem geht es bisher nicht. CODE: ~$ sudo modprobe -r ir_kbd_i2c
~$ dmesg |tail -n 2 23:23:44 lircd-0.8.7[22371] error reading '/dev/input/event4' 23:23:44 lircd-0.8.7[22371] closing '/dev/input/event4' ~$ sudo modprobe ir_kbd_i2c ~$ dmesg |tail -n 4 23:20:52 kernel Registered IR keymap rc-rc5-tv 23:20:52 kernel input: i2c IR (Hauppauge) as /devices/virtual/rc/rc1/input5 23:20:52 kernel rc1: i2c IR (Hauppauge) as /devices/virtual/rc/rc1 23:20:52 kernel ir-kbd-i2c: i2c IR (Hauppauge) _ detected at i2c-0/0-0018/ir0 [bt878 #0 [sw]] Freitag, 15. Juli 2011Screensaver GLText konfigurierbar machen
in Ubuntu KDE4 ist der Screensaver GLText nicht konfigurierbar bzw kann nur zwischen Systemzeit und Systeminformation gewählt werden. Von Haus hat der Screensaver aber noch weitere Einstellmöglichkeiten. Die folgende Konfigurationsdatei muss verändert werden:
CODE: /usr/share/xscreensaver/config/gltext.xml: <?xml version="1.0" encoding="ISO-8859-1"?> <screensaver name="gltext" _label="GLText"> <command arg="-root"/> <number id="delay" type="slider" arg="-delay %" _label="Frame rate" _low-label="Low" _high-label="High" low="0" high="100000" default="20000" convert="invert"/> <select id="text"> <option id="uname" _label="Display system information" /> <option id="clock" _label="Display date and time" arg-set="-text '%A%n%d %b %Y%n%r'"/> </select> <hgroup> <select id="facing"> <option id="front" _label="Always face front"/> <option id="nofront" _label="Spin all the way around" arg-set="-no-front"/> </select> <boolean id="wander" _label="Wander" arg-unset="-no-wander"/> </hgroup> <select id="rotation"> <option id="no" _label="Don't rotate" arg-set="-spin 0"/> <option id="x" _label="Rotate around X axis" arg-set="-spin X"/> <option id="y" _label="Rotate around Y axis" arg-set="-spin Y"/> <option id="z" _label="Rotate around Z axis" arg-set="-spin Z"/> <option id="xy" _label="Rotate around X and Y axes" arg-set="-spin XY"/> <option id="xz" _label="Rotate around X and Z axes" arg-set="-spin XZ"/> <option id="yz" _label="Rotate around Y and Z axes" arg-set="-spin YZ"/> <option id="xyz" _label="Rotate around all three axes"/> </select> <boolean id="wire" _label="Wireframe" arg-set="-wireframe"/> <boolean id="showfps" _label="Show frame rate" arg-set="-fps"/> <-- wird hier ergänzt--> <string id="text" _label="Text" arg="-text %"/> <file id="program" _label="Program" arg="-program %"/> <--bis hier--> <_description> Displays a few lines of text spinning around in a solid 3D font. The text can use strftime() escape codes to display the current date and time. Written by Jamie Zawinski; 2001. </_description> </screensaver> würgaround plasmoid
Ich habe mit Hilfe von Python ein Plasmoid erstellt. Nach dieser Anleitung müssen sich die folgenden Dateien in einem Verzeichnis befinden, das wie das Plasmoid heißt:
Im Unterverzeichnis CODE: zip -r ../<PlasmoidName>.zip . plasmapkg -i ../<PlasmoidName>.zip deeinstallieren: plasmapkg -r <PlasmoidName> die verschiedenen Plasma-Datenquellen können im plasmaengineexplorer angezeigt werden. Um ein superkarambatheme als plasmoid anzuzeigen muss es folgendermaßen installiert werden: CODE: plasmapkg --type=superkaramba -i Datei_Name.skz
(Seite 1 von 1, insgesamt 3 Einträge)
|
SuchedeliciousError on line 132 of /var/www/vhosts/web53.server2.configcenter.info/httpdocs/hlr/bundled-libs/Onyx/RSS.php: The specified file could not be opened. (#301) A del.icio.us error occured! Verwaltung des Blogs |