|
2012-04-20
, 16:14
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#22
|
The Following User Says Thank You to Estel For This Useful Post: | ||
|
2012-04-20
, 19:50
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#23
|
#!/bin/sh echo 0 > /sys/class/graphics/fb0/blank echo 2 > /sys/class/backlight/acx565akm/brightness text2screen -c -B 0x000000 while true do LOCK=$(dbus-send --system --type=method_call --dest="com.nokia.mce" --print-reply "/com/nokia/mce/request" com.nokia.mce.request.get_tklock_mode|awk -F "\"" '/g/ {print $2}') if [ $LOCK != "locked" ] then break; fi d=`date '+%H:%M'` text2screen -t "$d" -s 19 -T 0xFFFFFF -B 0x000000 -x 35 -y 0 sleep 60 done
/home/user/dbusIdle.sh * * com.nokia.mce.signal tklock_mode_ind locked
The Following 5 Users Say Thank You to qwazix For This Useful Post: | ||
|
2012-04-20
, 23:56
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#24
|
The Following 8 Users Say Thank You to woody14619 For This Useful Post: | ||
|
2012-04-21
, 09:28
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#25
|
The Following 3 Users Say Thank You to qwazix For This Useful Post: | ||
|
2012-04-22
, 16:34
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#26
|
The Following 3 Users Say Thank You to MohammadAG For This Useful Post: | ||
|
2012-04-23
, 12:48
|
Posts: 539 |
Thanked: 518 times |
Joined on May 2010
@ nanaurbusiness
|
#27
|
The QBW widget I setup is here:
Code:[queen-beecon-header] version=1.000000 checksum=3330600 [queen-beecon-exported-instance] widgetType=0 widgetVisible=0 operationalStatus=0 hideCanvas=true hideClickCanvas=true 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 Nokia-N900-42-11:~/scripts# more scrclock.beecon [queen-beecon-header] version=1.000000 checksum=3330600 [queen-beecon-exported-instance] widgetType=0 widgetVisible=0 operationalStatus=0 hideCanvas=true hideClickCanvas=true 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=64.509316770186331 widHeight=64.551083591331263 instanceTitle=screen-time instanceCmd=/root/scripts/scrlockclock.sh rememberMe= cmdImgFilename=queen-beecon.png cmdImgAngle=0 cmdImgZoom=0 cmdFgRGB=1 cmdExtFgRGB=#ffffffffffff cmdTextAngle=0 cmdVisibilityPosition=2 cmdImgVisibilityPosition=5 cmdJustify=0 cmdExtFont=Nokia Sans bold italic 12 cmdFontName=3 cmdFontSize=12 resImgFilename=queen-beecon-resimg.png resImgAngle=0 resImgZoom=0 resFgRGB=1 resExtFgRGB=#ffffffffffff resTextAngle=0 resVisibilityPosition=8 resImgVisibilityPosition=3 resJustify=0 resExtFont=Nokia Sans Cn 10 resFontName=16 resFontSize=10 resWrapLongLines=false progressAnimationFrames=4 progressAnimationTimer=4 progressAnimationPos=4 progressAnimationAtClickXY=false progressAnimationBasename=queen-beecon-progress updOnStartup=false updOnClick=false multiClick=false updOnDesktop=false updOnSight=false updOnOrientation=false delayIndex=1 customIntervalSecs=0 updNeworkPolicy=0 GPSsettings=0 updOnDBUS=1 updOnDBUSBus=0 updOnDBUSMatchRule=type='signal',path='/com/nokia/mce/signal',interface='com.nokia.mce.signal',member='tklock_mode_ind'
The Following 4 Users Say Thank You to J4ZZ For This Useful Post: | ||
|
2012-04-23
, 20:16
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#28
|
Why there are two [queen-beecon-header] parts in your code? Is that a mistake?
Also this command 'Nokia-N900-42-11:~/scripts# more scrclock.beecon' seems to be strange...
Edit: Ok got it. I removed the blue part and qbw got imported successfully.
Regards,
J4ZZ
The Following 4 Users Say Thank You to woody14619 For This Useful Post: | ||
|
2012-04-24
, 19:56
|
Posts: 34 |
Thanked: 13 times |
Joined on Aug 2007
@ Bulgaria - Vidin
|
#29
|
The Following 2 Users Say Thank You to apple2 For This Useful Post: | ||
|
2012-04-25
, 22:48
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#30
|
If you'd like a sample of how do to that, check out the scripts Alfred & I worked on. We used imagemagik for changing the lock screen to include weather and such. (I still use this as well.)
Currently I've having an issue with the QBW script, in that after a while QBW stops calling the script on close events. I updated the script to change it's timeout via dbus, which seems to be semi-broken and is probably the cause of it breaking after 10 or so hours of use.
If I get that stable, I'll post the widget and script again. I may eventually bite the bullet and see about creating an honest app out of it in C, since it seems like a good/small project to get into the devel stuff with, which I've been wanting to do for a while (and may actually have some time for in the near future.)