Notices


Reply
Thread Tools
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#811
Originally Posted by Dousan View Post
I take the text you want is this (hope):

Code:
[queen-beecon-header]
version=1,000000
checksum=5357960
[queen-beecon-exported-instance]
widgetType=0
widgetVisible=1
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=#00005cfc0000
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=11
beecon_idxge2_BgRGB=11
beecon_idxge2_ExtBgRGB=#0000ffffffff
beecon_idxge2_ImgFilename=terminal.png
widWidth=156
widHeight=156
instanceTitle=xterm 
instanceCmd=app="osso-xterm"\nmove="false";\nlaxy="0,292";poxy="644,292";laixy="644,56";poixy="0,56"\nif [ "$QBW_EXEC_REASON" == "QBW_CLICK" ];then\n   dbus-send --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:"$app"\nfi\n\ncase "$QBW_ORIENTATION_MODE" in\n   "portrait")             xy=$poxy;xt=4 ;;\n   "landscape (inverted)") xy=$laixy;xt=5 ;;\n   "portrait (inverted)")  xy=$poixy;xt=6 ;;\n   *)                      xy=$laxy;xt=3 ;;\nesac\nif [ "$move" == "true" ];then dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_position int32:"`echo $xy|cut -d, -f1`" int32:"`echo $xy|cut -d, -f2`";fi;\nexit $xt\n
rememberMe=
cmdImgFilename=terminal.png
cmdImgAngle=0
cmdImgZoom=11
cmdFgRGB=1
cmdExtFgRGB=#ffffffffffff
cmdTextAngle=0
cmdVisibilityPosition=0
cmdImgVisibilityPosition=0
cmdJustify=2
cmdExtFont=Nokia Sans 10
cmdFontName=3
cmdFontSize=12
resImgFilename=queen-beecon-resimg.png
resImgAngle=0
resImgZoom=0
resFgRGB=1
resExtFgRGB=#ffff00000000
resTextAngle=0
resVisibilityPosition=0
resImgVisibilityPosition=5
resJustify=0
resExtFont=Nokia Sans bold italic 18
resFontName=2
resFontSize=12
progressAnimationFrames=5
progressAnimationTimer=2
progressAnimationPos=4
progressAnimationAtClickXY=false
progressAnimationBasename=browser-frame
updOnStartup=true
updOnClick=true
updOnDesktop=false
updOnSight=false
delayIndex=0
customIntervalSecs=0
updNeworkPolicy=0
updOnDBUS=0
updOnDBUSBus=0
updOnDBUSMatchRule=
resWrapLongLines=false
multiClick=false
updOnOrientation=true
GPSsettings=0
And .png's in the zip:
Attachment 15125
Edit Cmd ... Try and add "sleep 1" here:
Code:
...
fi
sleep 1
case "$QBW_ORIENTATION_MODE" in
...
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras
 

The Following User Says Thank You to No!No!No!Yes! For This Useful Post:
Dousan's Avatar
Posts: 1,161 | Thanked: 1,707 times | Joined on Jan 2010 @ Denmark
#812
@No!No!No!Yes! Thanks for your answer once again, the problem lies in app windows opning to quick so the animation gets covered/stopped in the process, as you mentioned as a possibility I tried to set it to sleep 10 and then open/close the app quick and the animation goes on for a while (after app closes), the same thing when turning phone to portrait/landscape So the animation works just fine, no problems

Could the animation be set to start when pushed instead of when released or would that take a recoding of QBW?

Cheers mate

So far i'm keeping 'sleep' at 1
__________________
My Procreate art:
https://folio.procreate.art/dousan

My Søciety6:
http://society6.com/Dousan
 
D4rKlar's Avatar
Posts: 675 | Thanked: 923 times | Joined on Apr 2010 @ London
#813
@ JonWW thanks mate, but I'm trying to get a different background on the same desktop for each way up I hold the phone,

Kind Regards,
D4rKlar
__________________
_________________________
_________________________________
_
* D4rKlar on DeviantART * Maemo5 on DeviantART *
_
* M4riNa D4rK Theme and Iconset *
_

Last edited by D4rKlar; 2010-10-30 at 14:58.
 
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#814
Originally Posted by Dousan View Post
@No!No!No!Yes! Thanks for your answer once again, the problem lies in app windows opning to quick so the animation gets covered/stopped in the process, as you mentioned as a possibility I tried to set it to sleep 10 and then open/close the app quick and the animation goes on for a while (after app closes), the same thing when turning phone to portrait/landscape So the animation works just fine, no problems

Could the animation be set to start when pushed instead of when released or would that take a recoding of QBW?

Cheers mate

So far i'm keeping 'sleep' at 1
Sorry, because when you press with stylus or finger you could always drift away from the widget and release event will never be triggered. this is why event is triggered when you release tap over widget only.
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras
 

The Following User Says Thank You to No!No!No!Yes! For This Useful Post:
shazosbourne's Avatar
Posts: 257 | Thanked: 205 times | Joined on Jan 2010 @ Sydney, Australia
#815
Thanks alot for this great widget!

I am on a bit of a customising crusade at the moment, and have got myself an FMTX enabled and FMTX disabled icon to use with the widget. I have added && between the on/off command and the transmitt power command so I hope that is right, but I would like my icons to change from one to the other on enable/disable but cannot work out how to do it.

I thought I was smart and put the image for disabled in =0 in Beecon Status and the image for on in the Command Results, but all I have managed to do is display the off image all the time.

Could someone offer some advice please?

Thanks.
__________________
Everybody wants to go to heaven..............but nobody wants to go now.
 
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#816
Originally Posted by shazosbourne View Post
Thanks alot for this great widget!

I am on a bit of a customising crusade at the moment, and have got myself an FMTX enabled and FMTX disabled icon to use with the widget. I have added && between the on/off command and the transmitt power command so I hope that is right, but I would like my icons to change from one to the other on enable/disable but cannot work out how to do it.

I thought I was smart and put the image for disabled in =0 in Beecon Status and the image for on in the Command Results, but all I have managed to do is display the off image all the time.

Could someone offer some advice please?

Thanks.
Have a look at THIS ... maybe you have to invert the widget "on" on startup logic for not having fmtx active by default on phone startup.
But maybe someone already have a customized FMTX off/on button
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras
 

The Following User Says Thank You to No!No!No!Yes! For This Useful Post:
shazosbourne's Avatar
Posts: 257 | Thanked: 205 times | Joined on Jan 2010 @ Sydney, Australia
#817
Originally Posted by No!No!No!Yes! View Post
Have a look at THIS ... maybe you have to invert the widget "on" on startup logic for not having fmtx active by default on phone startup.
But maybe someone already have a customized FMTX off/on button
Okay I have the 2 states button working a treat, but I don't know where in "Instance command" to put the code to make it start the transmitter and pump up the power.
Beggin for a few more clues please...seeing as though I have no clue....
__________________
Everybody wants to go to heaven..............but nobody wants to go now.
 
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#818
Originally Posted by shazosbourne View Post
Okay I have the 2 states button working a treat, but I don't know where in "Instance command" to put the code to make it start the transmitter and pump up the power.
Beggin for a few more clues please...seeing as though I have no clue....
Open Advance Settings and Tools Dialog box and edit command (then save):
Command for fmtx go here:
PHP Code:
if [ "$QBW_EXEC_REASON== "QBW_STARTUP_UPDATE" ]; then
#    add here switch on instructions
    
echo "ON";
    exit 
1;
fi;

if [ 
"$QBW_CURRENT_RESULTS_TEXT== "ON" ]; then
#    add here switch off instructions
    
echo "OFF";
    exit 
0;
else
#    add here switch on instructions
    
echo "ON";
    exit 
1;
fi
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras
 

The Following User Says Thank You to No!No!No!Yes! For This Useful Post:
shazosbourne's Avatar
Posts: 257 | Thanked: 205 times | Joined on Jan 2010 @ Sydney, Australia
#819
I have no coding experience at all but will have a stab.

Will the code below come close? AM I on the right track?
In honesty I am guessing.

PHP Code:
if [ "$QBW_EXEC_REASON== "QBW_STARTUP_UPDATE" ]; then
/usr/bin/fmtx_client -p$(if [ $(cut -d. -f1 /proc/uptime ) -lt 100 ]; then echo 0; else /usr/bin/fmtx_client | /bin/grep -'^state=enabled' ; echo $? ; fi) | /usr/bin/awk -"=" '($1=="state") {print $2}' && echo "echo 118 > /sys/class/i2c-adapter/i2c-2/2-0063/power_level" sudo gainroot | echo ""

    
echo "OFF";
    exit 
0;
fi;

if [ 
"$QBW_CURRENT_RESULTS_TEXT== "ON" ]; then
/usr/bin/fmtx_client -p$(if [ $(cut -d. -f1 /proc/uptime ) -lt 100 ]; then echo 0; else /usr/bin/fmtx_client | /bin/grep -'^state=enabled' ; echo $? ; fi) | /usr/bin/awk -"=" '($1=="state") {print $2}'

    
echo "on";
    exit 
1;
else
/
usr/bin/fmtx_client -p$(if [ $(cut -d. -f1 /proc/uptime ) -lt 100 ]; then echo 0; else /usr/bin/fmtx_client | /bin/grep -'^state=enabled' ; echo $? ; fi) | /usr/bin/awk -"=" '($1=="state") {print $2}'

    
echo "OFF";
    exit 
0;
fi
I apologise for my lack of programming knowledge, 41 years young and learning a lot.
__________________
Everybody wants to go to heaven..............but nobody wants to go now.
 
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#820
Originally Posted by shazosbourne View Post
I have no coding experience at all but will have a stab.

Will the code below come close? AM I on the right track?
In honesty I am guessing.
Why not:
PHP Code:
if [ "$QBW_EXEC_REASON== "QBW_STARTUP_UPDATE" ]; then
/usr/bin/fmtx_client -p$(if [ $(cut -d. -f1 /proc/uptime ) -lt 100 ]; then echo 0; else /usr/bin/fmtx_client | /bin/grep -'^state=enabled' ; echo $? ; fi) | /usr/bin/awk -"=" '($1=="state") {print $2}' && echo "echo 118 > /sys/class/i2c-adapter/i2c-2/2-0063/power_level" sudo gainroot | echo ""

    
echo "OFF";
    exit 
0;
fi;

if [ 
"$QBW_CURRENT_RESULTS_TEXT== "ON" ]; then
/usr/bin/fmtx_client -p$(if [ $(cut -d. -f1 /proc/uptime ) -lt 100 ]; then echo 0; else /usr/bin/fmtx_client | /bin/grep -'^state=enabled' ; echo $? ; fi) | /usr/bin/awk -"=" '($1=="state") {print $2}'

    
echo "OFF";
    exit 
0;
else
/
usr/bin/fmtx_client -p$(if [ $(cut -d. -f1 /proc/uptime ) -lt 100 ]; then echo 0; else /usr/bin/fmtx_client | /bin/grep -'^state=enabled' ; echo $? ; fi) | /usr/bin/awk -"=" '($1=="state") {print $2}'

    
echo "ON";
    exit 
1;
fi
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras
 

The Following User Says Thank You to No!No!No!Yes! For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 05:45.