|
|
2010-07-05
, 19:31
|
|
Posts: 150 |
Thanked: 80 times |
Joined on Dec 2009
|
#321
|
|
|
2010-07-05
, 19:36
|
|
Posts: 146 |
Thanked: 54 times |
Joined on Apr 2010
@ Switzerland
|
#322
|
|
|
2010-07-05
, 19:45
|
|
Posts: 150 |
Thanked: 80 times |
Joined on Dec 2009
|
#323
|
osso-xterm -e "mupen64plus MyDocs/n64 roms/super-Mario-64.z64" &
| The Following User Says Thank You to Sash For This Useful Post: | ||
|
|
2010-07-05
, 19:49
|
|
Posts: 146 |
Thanked: 54 times |
Joined on Apr 2010
@ Switzerland
|
#324
|
|
|
2010-07-05
, 19:53
|
|
Posts: 146 |
Thanked: 54 times |
Joined on Apr 2010
@ Switzerland
|
#325
|
|
|
2010-07-06
, 14:18
|
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#326
|


[queen-beecon-header]
version=1,000000
checksum=4422022
[queen-beecon-exported-instance]
widgetType=0
widgetVisible=1
operationalStatus=0
hideCanvas=true
snippetBgRGB=0
snippetExtBgRGB=#ffffffffffff
beecon_lt0_ImgZoom=0
beecon_lt0_BgRGB=2
beecon_lt0_ExtBgRGB=#808080808080
beecon_lt0_ImgFilename=queen-beecon-syserr.png
beecon_eq0_ImgZoom=1
beecon_eq0_BgRGB=3
beecon_eq0_ExtBgRGB=#0000ffff0000
beecon_eq0_ImgFilename=/tmp/qbwflickr0.jpg
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=490
widHeight=330
instanceTitle=FlickrImages
instanceCmd=if [ "_$QBW_HOTSPOT_PRESS" == "_9" ] ; then run-standalone.sh dbus-send --system --print-reply --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"$QBW_CURRENT_RESULTS_TEXT"; else a=`dd if=/dev/urandom bs=1 count=1 | od -i | head -n 1 | cut -f2- -d' '`;x=`expr $a % 24`;wget -t 1 -T 10 -q -U "Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.2a1pre) Gecko/20091127 Firefox/3.5 Maemo Browser 1.5.6 RX-51 N900" -O - "http://m.flickr.com/explore/interesting/"|awk -v i=$x 'BEGIN{FS="[\\"]+";n=0}/^\\t\\t<a href=.+>/{u[n]=$2;}/<img src=.+class="pc_img">/{gsub(/_s\\.jpg/,"_m.jpg",$4);s[n]=$4;n++;}END{r=system("wget -t 1 -T 5 -q -O /tmp/qbwflickr0.jpg \\""s[i]"\\"");print "http://m.flickr.com"u[i];exit r;}';fi
cmdImgFilename=queen-beecon.png
cmdImgZoom=0
cmdFgRGB=1
cmdExtFgRGB=#ffffffffffff
cmdTextAngle=0
cmdVisibilityPosition=0
cmdImgVisibilityPosition=0
cmdJustify=0
cmdExtFont=Nokia Sans Italic Bold 12
cmdFontName=3
cmdFontSize=12
resImgFilename=;/tmp/qbwflickr0.jpg
resImgZoom=1
resFgRGB=1
resExtFgRGB=#ffffffffffff
resTextAngle=0
resVisibilityPosition=0
resImgVisibilityPosition=5
resJustify=0
resExtFont=Nokia Sans Bold 12
resFontName=2
resFontSize=12
updOnStartup=true
updOnClick=true
updOnDesktop=true
delayIndex=4
customIntervalSecs=10
updNeworkPolicy=1
updOnDBUS=0
updOnDBUSBus=0
updOnDBUSMatchRule=
rememberMe=
if [ "_$QBW_HOTSPOT_PRESS" == "_9" ] ; then
run-standalone.sh dbus-send --system --print-reply --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url
string:"$QBW_CURRENT_RESULTS_TEXT";
else
a=`dd if=/dev/urandom bs=1 count=1 | od -i | head -n 1 | cut -f2- -d' '`;x=`expr $a % 24`;
wget -t 1 -T 10 -q -U "Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.2a1pre) Gecko/20091127 Firefox/3.5 Maemo Browser 1.5.6 RX-51 N900" -O - "http://m.flickr.com/explore/interesting/"
(-q), setting our identity as if we were MicroB browser to retreive the lightest possible page (-U "Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.2a1pre) Gecko/20091127 Firefox/3.5 Maemo Browser 1.5.6 RX-51 N900"), sending the "http://m.flickr.com/explore/interesting/" page source to standard out (-O -) ready to be piped to next command| awk -v i=$x
'BEGIN {
FS="[\"]+"
;n=0
}
/^\t\t<a href=.+>/ {
u[n]=$2;
}
/<img src=.+class="pc_img">/ {
gsub(/_s\.jpg/,"_m.jpg",$4);
s[n]=$4;
n++;
}
END {
r=system("wget -t 1 -T 5 -q -O /tmp/qbwflickr0.jpg \""s[i]"\"");
print "http://m.flickr.com"u[i];
exit r;
}';
fi
| The Following User Says Thank You to No!No!No!Yes! For This Useful Post: | ||
|
|
2010-07-07
, 02:16
|
|
Posts: 18 |
Thanked: 4 times |
Joined on May 2010
|
#327
|
|
|
2010-07-07
, 06:10
|
|
|
Posts: 700 |
Thanked: 846 times |
Joined on Nov 2009
|
#328
|
Hi, I am new and I am using beacon for switching between my Overclock profiles. I have snippets for loading profiles and a snippet to show the minimum and maximum frequency. I would like to update the command of my loading profile snippet that when it is clicked, It will also click or update my snippet that shows min/max freq. Can anyone please help me on this?
I have an idea already but do not have enough knowledge on how to do it on code.
Overclock Snippet Command:
sudo /usr/sbin/kernel-config load MyConf
I would like to change it to something like
sudo /usr/sbin/kernel-config load MyConf
dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:"<MY BEACON OVERCLOCK SNIPPET ID NAME???>"
I do not know if this idea of mine is right but the code I am trying to add is the code I found to launch desktop applications. Please help. Thanks
|
|
2010-07-07
, 07:58
|
|
Posts: 12 |
Thanked: 15 times |
Joined on Oct 2009
|
#329
|
|
|
2010-07-07
, 10:01
|
|
Posts: 12 |
Thanked: 15 times |
Joined on Oct 2009
|
#330
|