-
display wireless signal strength in karamba
Here's the configuration file which adds a signal strength bar to karamba (adapted from the maverick theme of arkaine). It may be necessary to edit this for your laptop. On mine, the wlan card is eth0. The script parses the file /proc/net/wireless for the signal strength and displys it. Your results may vary.
Code:
karamba x=824 y=360 w=200 h=87 interval=1000 locked=false
image x=0 y=0 path="../home/knoppix/background.jpg"
<group> x=2 y=0
image x=2 y=4 path="../pics/network.png"
text x=24 y=5 text value="Network Info:" color=255,255,0 fontsize=10 font="Icarus" shadow=1
text x=15 y=23 text value="Signal Strength: " color=255,255,255 fontsize=8.9 font="Icarus" shadow=1
image x=95 y=24 path="../pics/barback.png"
bar x=96 y=25 sensor=program program="cat /proc/net/wireless | grep 'eth0:' | sed -e 's/eth0: *[0-9]* *//' | sed -e 's/\. .*//'" path="../pics/barmeter.png" w=80 max=92 h=6 interval=1000
image x=95 y=36 path="../pics/graphback.png"
graph x=96 y=37 sensor=network w=81 h=12 color=80,189,54 format="%in" max=10 interval=250
text x=15 y=38 text value="In.:" color=255,255,255 fontsize=9 font="Icarus" shadow=1
text x=30 y=38 sensor=network w=60 h=13 align=right format="%in Kb/s" color=80,189,54 fontsize=9 font="Icarus" decimals=2 shadow=1
image x=95 y=56 path="../pics/graphback.png"
graph x=96 y=57 sensor=network w=81 h=13 color=225,0,0 format="%out" max=10 interval=250
text x=15 y=58 text value="Out:" color=255,255,255 fontsize=9 font="Icarus" shadow=1
text x=30 y=58 sensor=network w=60 h=13 align=right format="%out Kb/s" color=225,0,0 fontsize=9 font="Icarus" decimals=2 shadow=1
</group>
-
Senior Member
registered user
Very nice. I moved your post over to the Tips and Tricks forum. I hope to give it a try next time I use Karamba.
Similar Threads
-
By Harry Kuhman in forum Networking
Replies: 0
Last Post: 04-10-2005, 03:18 AM
-
By ZeD in forum Networking
Replies: 3
Last Post: 01-03-2005, 01:33 PM
-
By Wrincle in forum General Support
Replies: 1
Last Post: 05-10-2004, 02:28 PM
-
Replies: 2
Last Post: 06-27-2003, 04:06 AM
-
By Pasq in forum Customising & Remastering
Replies: 1
Last Post: 05-28-2003, 11:20 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Vintage Cherry W. Germany G80-0486H/05 Mechanical 25-Pin D-Sub Keyboard M8
$170.99

Vintage Computer - PC Innovation Intel 486DX2 - Dos Ver 6.2 Windows 3.1
$250.00

Vintage Jetway J-620BF Socket 370 Celeron AT Motherboard SiS 620 Brand New
$75.00

Vintage HP Hewlett Packard 2112A 21MX 1000 M-Series 16-Bit Minicomputer
$419.99

Vintage Apple computer Cross Metal Ballpoint Pen Black Ink Gold Trim
$125.00

Vintage cross Apple computer branded pen rainbow logo In original box
$100.00

Lot 14 Vintage ISA VGA Video Cards Trident CHIPS UMC 8-Bit 16-Bit 286 386 486
$199.95

Vintage RARE 1980s Apple Computer Logo Frisbee. Great shape, w/ the usual nicks
$220.00

Vintage Microsoft Office 4.2 for Windows Original Floppy Disks & Manuals 1994
$119.99

Compaq Presario 7594 Vintage Desktop PC Windows 98 SE 64MB Floppy CD-ROM
$129.00