Notices


Reply
Thread Tools
moudy91's Avatar
Posts: 165 | Thanked: 18 times | Joined on Jun 2010
#1081
hey guys i need some help with something and i hope that someone will help me, i need to create beecon command.
about me i use xterm to ping access points, but it takes me time to ping it i mean when i want to work i open the xterm then i type root then i type ping xxx.xxx.xxx.xxx but this method take time so i need a command that i can put it on the beecon so i will work fast, so any help guys ???
 
moudy91's Avatar
Posts: 165 | Thanked: 18 times | Joined on Jun 2010
#1082
hey guys i need some help with this command so if can any one fix it for me
dbus-send --print-reply --type=method_call --dest=com.nokia.xterm / com.nokia.xterm.run_command string:"ping -q -c 3 192.168.0.1"

thnak you
 
Posts: 94 | Thanked: 61 times | Joined on Feb 2010 @ Shoreham
#1083
Clock Displayed as Text instead of numbers

This is posted here http://talk.maemo.org/showthread.php...e+clock&page=3

But though it made sense to put it with the other QBW stuff

Its a bit rough around the edges and could do with some tweaks, I would be interested to see any changes that people make

QBW code

Code:
[queen-beecon-header]
version=1.000000
checksum=19217036
[queen-beecon-exported-instance]
widgetType=1
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=
beecon_eq0_ImgZoom=0
beecon_eq0_BgRGB=3
beecon_eq0_ExtBgRGB=#0000ffff0000
beecon_eq0_ImgFilename=
beecon_eq1_ImgZoom=0
beecon_eq1_BgRGB=4
beecon_eq1_ExtBgRGB=#ffffffff0000
beecon_eq1_ImgFilename=
beecon_ge2_ImgZoom=0
beecon_ge2_BgRGB=5
beecon_ge2_ExtBgRGB=#ffff00000000
beecon_ge2_ImgFilename=
beecon_idxge2_ImgZoom=0
beecon_idxge2_BgRGB=11
beecon_idxge2_ExtBgRGB=#0000ffffffff
beecon_idxge2_ImgFilename=
widWidth=555
widHeight=110.24539877300613
instanceTitle=TextTime
instanceCmd=# echo -e "`date +'<span font=\\"15\\">%l:%M</span>%p - %A, %B %d'`"\n\nHR="`date +'%l'`"\nMIN="`date +'%M'`"\nMIN1="`date +'%p'`"\n\n# Convert HR no to text\nif [ $HR = 0 ] ; then HR="Zero"\nelif [ $HR = 1 ] ; then HR="One"\nelif [ $HR = 2 ] ; then HR="Two"\nelif [ $HR = 3 ] ; then HR="Three"\nelif [ $HR = 4 ] ; then HR="Four"\nelif [ $HR = 5 ] ; then HR="Five"\nelif [ $HR = 6 ] ; then HR="Six"\nelif [ $HR = 7] ; then HR="Seven"\nelif [ $HR = 8 ] ; then HR="Eight"\nelif [ $HR = 9 ] ; then HR="Nine"\nelif [ $HR = 10 ] ; then HR="Ten"\nelif [ $HR = 11 ] ; then HR="Eleven"\nelif [ $HR = 12 ] ; then HR="Twelve"\nfi\n\n# Convert MIN no to text\nif [ $MIN = 00 ] ; then MIN="Zero"\nelif [ $MIN = 01 ] ; then MIN="One"\nelif [ $MIN = 02 ] ; then MIN="Two"\nelif [ $MIN = 03 ] ; then MIN="Three"\nelif [ $MIN = 04 ] ; then MIN="Four"\nelif [ $MIN = 05 ] ; then MIN="Five"\nelif [ $MIN = 06 ] ; then MIN="Six"\nelif [ $MIN = 07 ] ; then MIN="Seven"\nelif [ $MIN = 08 ] ; then MIN="Eight"\nelif [ $MIN = 09 ] ; then MIN="Nine"\nelif [ $MIN = 10 ] ; then MIN="Ten"\nelif [ $MIN = 11 ] ; then MIN="Eleven"\nelif [ $MIN = 12 ] ; then MIN="Twelve"\nelif [ $MIN = 13 ] ; then MIN="Thirteen"\nelif [ $MIN = 14 ] ; then MIN="Foreteen"\nelif [ $MIN = 15 ] ; then MIN="Fifteen"\nelif [ $MIN = 16 ] ; then MIN="Sixteen"\nelif [ $MIN = 17 ] ; then MIN="Seventeen"\nelif [ $MIN = 18 ] ; then MIN="Eighteen"\nelif [ $MIN = 19 ] ; then MIN="Nineteen"\nelif [ $MIN = 20 ] ; then MIN="Twenty"\nelif [ $MIN = 21 ] ; then MIN="TwentyOne"\nelif [ $MIN = 22 ] ; then MIN="TwentyTwo"\nelif [ $MIN = 23 ] ; then MIN="TwentyThree"\nelif [ $MIN = 24 ] ; then MIN="TwentyFour"\nelif [ $MIN = 25 ] ; then MIN="TwentyFive"\nelif [ $MIN = 26 ] ; then MIN="TwentySix"\nelif [ $MIN = 27 ] ; then MIN="TwentySeven"\nelif [ $MIN = 28 ] ; then MIN="TwentyEight"\nelif [ $MIN = 29 ] ; then MIN="TwentyNine"\nelif [ $MIN = 30 ] ; then MIN="Thirty"\nelif [ $MIN = 31 ] ; then MIN="ThirtyOne"\nelif [ $MIN = 32 ] ; then MIN="ThirtyTwo"\nelif [ $MIN = 33 ] ; then MIN="ThirtyThree"\nelif [ $MIN = 34 ] ; then MIN="ThirtyFour"\nelif [ $MIN = 35 ] ; then MIN="ThirtyFive"\nelif [ $MIN = 36 ] ; then MIN="ThirtySix"\nelif [ $MIN = 37 ] ; then MIN="ThirtySeven"\nelif [ $MIN = 38 ] ; then MIN="ThirtyEight"\nelif [ $MIN = 39 ] ; then MIN="ThirtyNine"\nelif [ $MIN = 40 ] ; then MIN="Forty"\nelif [ $MIN = 41 ] ; then MIN="FortyOne"\nelif [ $MIN = 42 ] ; then MIN="FortyTwo"\nelif [ $MIN = 43 ] ; then MIN="FortyThree"\nelif [ $MIN = 44 ] ; then MIN="FortyFour"\nelif [ $MIN = 45 ] ; then MIN="FortyFive"\nelif [ $MIN = 46 ] ; then MIN="FortySix"\nelif [ $MIN = 47 ] ; then MIN="FortySeven"\nelif [ $MIN = 48 ] ; then MIN="FortyEight"\nelif [ $MIN = 49 ] ; then MIN="FortyNine"\nelif [ $MIN = 50 ] ; then MIN="Fifty"\nelif [ $MIN = 51 ] ; then MIN="FiftyOne"\nelif [ $MIN = 52 ] ; then MIN="FiftyTwo"\nelif [ $MIN = 53 ] ; then MIN="FiftyThree"\nelif [ $MIN = 54 ] ; then MIN="FiftyFour"\nelif [ $MIN = 55 ] ; then MIN="FiftyFive"\nelif [ $MIN = 56 ] ; then MIN="FiftySix"\nelif [ $MIN = 57 ] ; then MIN="FiftySeven"\nelif [ $MIN = 58 ] ; then MIN="FiftyEight"\nelif [ $MIN = 59 ] ; then MIN="FiftyNine"\n\nfi\necho  "${HR}${MIN}${MIN1}"
rememberMe=
cmdImgFilename=
cmdImgAngle=0
cmdImgZoom=0
cmdFgRGB=1
cmdExtFgRGB=#ffffffffffff
cmdTextAngle=0
cmdVisibilityPosition=0
cmdImgVisibilityPosition=5
cmdJustify=0
cmdExtFont=Nokia Sans bold italic 12
cmdFontName=3
cmdFontSize=12
resImgFilename=
resImgAngle=0
resImgZoom=0
resFgRGB=1
resExtFgRGB=#c7c7c7c7c7c7
resTextAngle=0
resVisibilityPosition=5
resImgVisibilityPosition=3
resJustify=0
resExtFont=Hand Of Sean 50
resFontName=16
resFontSize=10
resWrapLongLines=false
progressAnimationFrames=4
progressAnimationTimer=4
progressAnimationPos=2
progressAnimationAtClickXY=false
progressAnimationBasename=
updOnStartup=true
updOnClick=true
multiClick=false
updOnDesktop=true
updOnSight=false
updOnOrientation=false
delayIndex=1
customIntervalSecs=0
updNeworkPolicy=0
GPSsettings=0
updOnDBUS=0
updOnDBUSBus=0
updOnDBUSMatchRule=
Attached Images
 
 

The Following 3 Users Say Thank You to Raif For This Useful Post:
moudy91's Avatar
Posts: 165 | Thanked: 18 times | Joined on Jun 2010
#1084
Originally Posted by No!No!No!Yes! View Post
Sorry ... there are currently limitations in the Hildon-Home plugins architecture which cannot be easily circumvented, further, documentation is very limited and time to figure out things by reversing sources does not fit in my current scheduling.

However, flipclock setup is just a one-shot operation and instructions are very thorough and detailed.

This is the price for extreme flexibility
hi.
please can you help me with this command because i cant figure out how to make it.
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;


but i want it to enable and disable bluetooth in beecon with on click
thank you and regards
 
seasharkvvv's Avatar
Posts: 77 | Thanked: 34 times | Joined on Jan 2011
#1085
does anyone have day/night working 24/7?? mine works about 10 hours a day maximum
 
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#1086
Originally Posted by moudy91 View Post
hi.
please can you help me with this command because i cant figure out how to make it.
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;


but i want it to enable and disable bluetooth in beecon with on click
thank you and regards
PHP Code:
if [ "$QBW_EXEC_REASON== "QBW_STARTUP_UPDATE" ]; then
#    add here switch on instructions
    
dbus-send --system --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez org.bluez.Manager.ListAdapters awk -F'"' '/at/ {print $2}'org.bluez.Adapter.SetProperty string:Powered variant:boolean:true
    
echo "ON";
    exit 
1;
fi;

if [ 
"$QBW_CURRENT_RESULTS_TEXT== "ON" ]; then
#    add here switch off instructions
    
dbus-send --system --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez org.bluez.Manager.ListAdapters awk -F'"' '/at/ {print $2}'org.bluez.Adapter.SetProperty string:Powered variant:boolean:false
    
echo "OFF";
    exit 
0;
else
#    add here switch on instructions
    
dbus-send --system --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez org.bluez.Manager.ListAdapters awk -F'"' '/at/ {print $2}'org.bluez.Adapter.SetProperty string:Powered variant:boolean:true
    
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:
NightShift79's Avatar
Posts: 417 | Thanked: 200 times | Joined on Apr 2010 @ Germany
#1087
how should the above code look to set the caller id on/off ?
 
moudy91's Avatar
Posts: 165 | Thanked: 18 times | Joined on Jun 2010
#1088
Originally Posted by No!No!No!Yes! View Post
PHP Code:
if [ "$QBW_EXEC_REASON== "QBW_STARTUP_UPDATE" ]; then
#    add here switch on instructions
    
dbus-send --system --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez org.bluez.Manager.ListAdapters awk -F'"' '/at/ {print $2}'org.bluez.Adapter.SetProperty string:Powered variant:boolean:true
    
echo "ON";
    exit 
1;
fi;

if [ 
"$QBW_CURRENT_RESULTS_TEXT== "ON" ]; then
#    add here switch off instructions
    
dbus-send --system --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez org.bluez.Manager.ListAdapters awk -F'"' '/at/ {print $2}'org.bluez.Adapter.SetProperty string:Powered variant:boolean:false
    
echo "OFF";
    exit 
0;
else
#    add here switch on instructions
    
dbus-send --system --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez org.bluez.Manager.ListAdapters awk -F'"' '/at/ {print $2}'org.bluez.Adapter.SetProperty string:Powered variant:boolean:true
    
echo "ON";
    exit 
1;
fi

your the man dude really your the creator, thank you so much.
 
arvind's Avatar
Posts: 59 | Thanked: 4 times | Joined on Jul 2010
#1089
Is it Doable with QBW:
I have a unique problem with my N900 (With touch screen). I will describe my problem first and suggustion a solution if its doable !

.I have all the four desktop screens loaded with shortcuts & widgets.
.My friends & collegues many times takes my N900 from me for exploring the phone features
or I have to offer my phone to family; like If I am on a call with my mother & my mother wishes to speak to my wife or brother, I give my phone to them for talking to my mother.

.Many of them are not very familiar with Touch screen sensitivity.
. I have now developed slow touch movement and judgement how to use phone so it does not displaces/activates shortcuts while scrolling of screens; or activates desktop editing mode.
. Once desktop goes in editing mode or if accidentally shortcut gets activated; A new user (Non touch screen or Non N900 user) increases his effort to put things in order, which creates a big mess.

Only suggestion I could think of is:
- To make a shortcut & place it on desktop screen.
- Unless I touch & activate this particular shortcut, desktop screens would only SCROLL and Answer incoming calls. No matter whoever touches, wherever; or how fast or slow; long touch or multiple tappings etc.
- Only After activating that particular shortcut; Phone should go into full (Normal) usability mode.

Guys do you think it is doable?
I am not a programmer nor I can write scripts. I am just a plain user.
If its a doable. I would really appreciate your help in making such a shortcut

With kind regards and thanks,
Arvind
__________________
N900: I'm Loving It.
 
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#1090
Originally Posted by arvind View Post
Is it Doable with QBW:
I have a unique problem with my N900 (With touch screen). I will describe my problem first and suggustion a solution if its doable !

.I have all the four desktop screens loaded with shortcuts & widgets.
.My friends & collegues many times takes my N900 from me for exploring the phone features
or I have to offer my phone to family; like If I am on a call with my mother & my mother wishes to speak to my wife or brother, I give my phone to them for talking to my mother.

.Many of them are not very familiar with Touch screen sensitivity.
. I have now developed slow touch movement and judgement how to use phone so it does not displaces/activates shortcuts while scrolling of screens; or activates desktop editing mode.
. Once desktop goes in editing mode or if accidentally shortcut gets activated; A new user (Non touch screen or Non N900 user) increases his effort to put things in order, which creates a big mess.

Only suggestion I could think of is:
- To make a shortcut & place it on desktop screen.
- Unless I touch & activate this particular shortcut, desktop screens would only SCROLL and Answer incoming calls. No matter whoever touches, wherever; or how fast or slow; long touch or multiple tappings etc.
- Only After activating that particular shortcut; Phone should go into full (Normal) usability mode.

Guys do you think it is doable?
I am not a programmer nor I can write scripts. I am just a plain user.
If its a doable. I would really appreciate your help in making such a shortcut

With kind regards and thanks,
Arvind
To my knowledge there is no easy/noob way to do that.
There are partial solutions:
http://talk.maemo.org/showthread.php?t=50724
http://talk.maemo.org/showthread.php?t=59390
but require advanced tweaking with your phone.
__________________
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
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:35.