|
2010-06-26
, 21:41
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#292
|
A question:
Working with the "Enable/disable Wi-Fi script" with a beacon, I can see that:
- with the echo "" at the end, there is no exit status passed to the QBW, so the image is always the same (exit 0).
- without the echo "", there is the proper exist status (0 or 2), with the background color of the icon correctly shown. However, I also see all the text output in the screen.
My question, how could I hide the output text? I am only interested in the exit code, not in the text.
I imagine I can use awk, but I think it is not too elegant. Is there something I am missing here??
Thx
|
2010-06-26
, 22:57
|
Posts: 82 |
Thanked: 10 times |
Joined on Feb 2010
|
#293
|
|
2010-06-27
, 08:45
|
Posts: 76 |
Thanked: 4 times |
Joined on Apr 2010
|
#294
|
Hello,
Is it possible to create a beecon to see the online status of the contacts in my contact book?
Thanks
|
2010-06-28
, 06:15
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#295
|
Hello,
Is it possible to create a beecon to see the online status of the contacts in my contact book?
Thanks
|
2010-06-29
, 06:06
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#296
|
|
2010-06-29
, 14:10
|
|
Posts: 55 |
Thanked: 14 times |
Joined on Mar 2010
|
#297
|
|
2010-06-30
, 17:15
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#298
|
[queen-beecon-header] version=1.000000 checksum=2131154 [queen-beecon-exported-instance] widgetType=0 widgetVisible=1 operationalStatus=0 hideCanvas=false snippetBgRGB=0 snippetExtBgRGB=#000000000000 beecon_lt0_ImgZoom=0 beecon_lt0_BgRGB=2 beecon_lt0_ExtBgRGB=#808080808080 beecon_lt0_ImgFilename=queen-beecon-syserr.png beecon_eq0_ImgZoom=0 beecon_eq0_BgRGB=3 beecon_eq0_ExtBgRGB=#0000ffff0000 beecon_eq0_ImgFilename=queen-beecon-appok.png beecon_eq1_ImgZoom=0 beecon_eq1_BgRGB=4 beecon_eq1_ExtBgRGB=#ffffffff0000 beecon_eq1_ImgFilename=queen-beecon-appwrn.png beecon_ge2_ImgZoom=0 beecon_ge2_BgRGB=5 beecon_ge2_ExtBgRGB=#ffff00000000 beecon_ge2_ImgFilename=queen-beecon-apperr.png beecon_idxge2_ImgZoom=0 beecon_idxge2_BgRGB=11 beecon_idxge2_ExtBgRGB=#0000ffffffff beecon_idxge2_ImgFilename=queen-beecon-index.png widWidth=130 widHeight=130 instanceTitle=Test HotSpot instanceCmd=echo -e "Hot Spot\\nPressed!\\nIndex:\\n<span size='x-large' color='red'>$QBW_HOTSPOT_PRESS</span>"; exit 0 cmdImgFilename=queen-beecon.png cmdImgZoom=0 cmdFgRGB=1 cmdExtFgRGB=#000000000000 cmdTextAngle=0 cmdVisibilityPosition=2 cmdImgVisibilityPosition=9 cmdJustify=0 cmdExtFont=Tahoma bold italic 13 cmdFontName=3 cmdFontSize=12 resImgFilename=queen-beecon-resimg.png resImgZoom=0 resFgRGB=1 resExtFgRGB=#ffffffffffff resTextAngle=0 resVisibilityPosition=8 resImgVisibilityPosition=0 resJustify=2 resExtFont=Tahoma bold 11 resFontName=2 resFontSize=12 updOnStartup=false updOnClick=true updOnDesktop=false delayIndex=0 updNeworkPolicy=0 customIntervalSecs=0 updOnDBUS=0 updOnDBUSBus=0 updOnDBUSMatchRule=
|
2010-06-30
, 21:27
|
Posts: 76 |
Thanked: 4 times |
Joined on Apr 2010
|
#299
|
http://telepathy.freedesktop.org/spe..._Presence.html
This can be a start but I still haven't found how to translate a nickname/contact into the integer that the GetPresences method is looking for as a paramater
|
2010-07-02
, 16:01
|
Posts: 5 |
Thanked: 7 times |
Joined on Jul 2010
|
#300
|
Warning: don't put blanks around the equals sign. The shell doesn't like that.