Those of you with memories like elephants MAY remember me trying to port xosd onto the kindle...
well, I got a little bit closer. with http://osdsh.sourceforge.net/
[root@kindle bin]# cd /mnt/us/export/osdshconfig/bin; TK_LIBRARY=/mnt/us/extensions/system/etc/tcltk/tk8.4 \
TCL_LIBRARY=/mnt/us/extensions/system/etc/tcltk/tcl8.4 \
LD_LIBRARY_PATH=/mnt/us/extensions/system/lib/armv7l\
:../lib:$LD_LIBRARY_PATH \
./osdshconfig
(picture one)
the astute among you may notice that I am invoking wish here via the kual-system. neat huh. also note that this actually pop's up "on top" without any hacking thanks to the "title" being patched in the file itself.
I also got the system iteslf to actually invoke... run... and print out some stuff
[root@kindle bin]# cd /mnt/us/export/osdsh/bin; TK_LIBRARY=/mnt/us/extensions/system/etc/tcltk/tk8.4 TCL_LIBRARY=/mnt/us/extensions/system/etc/tcltk/tcl8.4 LD_LIBRARY_PATH=/mnt/us/extensions/system/lib/armv7l\
:../lib:$LD_LIBRARY_PATH \
./osdsh -c white -d 10 -o 2 -p 0 -a 1 -n 10
I'm still having a little trouble convincing it to find it's modules but hey. It's a WIP.
I'll work on that...
http://osdsh.cvs.sourceforge.net/vie....1&view=markup
perhaps I will rebuild it myself RSN. have to see. might just hack it.
[root@kindle bin]# cd /mnt/us/export/osdctl/bin; TK_LIBRARY=/mnt/us/extensions/system/etc/tcltk/tk8.4 \ TCL_LIBRARY=/mnt/us/extensions/system/etc/tcltk/tcl8.4 \ LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH ./osdctl --help
It all still needs repackaging, fixing and making useful...
but I wanted to note the commands somewhere permanent since I was sick of remembering them all.
Cheers. Update when I have something useful.
NOTE: As usual I know nothing about wish, nor any of the other technologies : ) Just to keep things interesting ;)
well, I got a little bit closer. with http://osdsh.sourceforge.net/
[root@kindle bin]# cd /mnt/us/export/osdshconfig/bin; TK_LIBRARY=/mnt/us/extensions/system/etc/tcltk/tk8.4 \
TCL_LIBRARY=/mnt/us/extensions/system/etc/tcltk/tcl8.4 \
LD_LIBRARY_PATH=/mnt/us/extensions/system/lib/armv7l\
:../lib:$LD_LIBRARY_PATH \
./osdshconfig
(picture one)
the astute among you may notice that I am invoking wish here via the kual-system. neat huh. also note that this actually pop's up "on top" without any hacking thanks to the "title" being patched in the file itself.
I also got the system iteslf to actually invoke... run... and print out some stuff
[root@kindle bin]# cd /mnt/us/export/osdsh/bin; TK_LIBRARY=/mnt/us/extensions/system/etc/tcltk/tk8.4 TCL_LIBRARY=/mnt/us/extensions/system/etc/tcltk/tcl8.4 LD_LIBRARY_PATH=/mnt/us/extensions/system/lib/armv7l\
:../lib:$LD_LIBRARY_PATH \
./osdsh -c white -d 10 -o 2 -p 0 -a 1 -n 10
Code:
osdsh 0.7.0
usage: osdsh [options]
-h display usage
-m mixer set mixer /dev/mixer
-f font set font -*-lucidatypewriter-bold-*-*-*-*-240-*-*-*-*-*-*
-c color set color green
-d int set OSD delay 5
-o int set Shadow Offset 0
-p <0|1> position of the osd, 0 for top,
1 for bottom. Default 0 (top).
-a <0|1|2> align of the osd. left,center or right.
-n number set the nice number so osdsh won't eat your cpu
I'm still having a little trouble convincing it to find it's modules but hey. It's a WIP.
Quote:
/usr/lib/osdsh/libosdshmixer.so: cannot open shared object file: No such file or directory /usr/lib/osdsh/libosdshclock.so: cannot open shared object file: No such file or directory /usr/lib/osdsh/libosdshnet.so: cannot open shared object file: No such file or directory /usr/lib/osdsh/libosdshapm.so: cannot open shared object file: No such file or directory |
http://osdsh.cvs.sourceforge.net/vie....1&view=markup
perhaps I will rebuild it myself RSN. have to see. might just hack it.
[root@kindle bin]# cd /mnt/us/export/osdctl/bin; TK_LIBRARY=/mnt/us/extensions/system/etc/tcltk/tk8.4 \ TCL_LIBRARY=/mnt/us/extensions/system/etc/tcltk/tcl8.4 \ LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH ./osdctl --help
Code:
osdctl 0.7.0
osdctl <command argument> ...
-h display help
-s "string" display a string
-b name,val display a bar up to val, named "name"
-l name,val display a slider at val, named "name"
-t int display the clock for int seconds
-c <0|1> (de)activate the osd clock
-m <0|1> (de)activate the mixer display
-p <0|1> (de)activate the ppp watch feature
-a <0|1|2> (de)activate the apm watch feature
1=don't show percent bar; 2=do show it
-d interface set the ppp interface, default: ppp0
-A int show battery status for int seconds
-e "comm args" tell osdsh to do "comm" with "args"
-S "scriptfile" execute commands form scriptfile
-x tell osdsh to quit
It all still needs repackaging, fixing and making useful...
but I wanted to note the commands somewhere permanent since I was sick of remembering them all.
Cheers. Update when I have something useful.
NOTE: As usual I know nothing about wish, nor any of the other technologies : ) Just to keep things interesting ;)