|
|
2010-10-27
, 09:24
|
|
Posts: 208 |
Thanked: 220 times |
Joined on Apr 2010
|
#122
|
With Linux-powered N900..ANYTHING is possible
|
|
2010-10-27
, 10:02
|
|
Posts: 137 |
Thanked: 91 times |
Joined on Jun 2010
|
#123
|
|
|
2010-10-28
, 18:02
|
|
Posts: 208 |
Thanked: 220 times |
Joined on Apr 2010
|
#124
|
#!/bin/sh
TAB=${1}
QBW_HOTSPOT_PRESS=${2}
QBW_ID=${3}
LOC="/home/user"
remember_me()
{
run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"rememberMe" string:"$QBW_HOTSPOT_PRESS" string:"";
}
case $QBW_HOTSPOT_PRESS in
[123])
if [ "$QBW_HOTSPOT_PRESS" -ne "$TAB" ]; then
remember_me
fi
TAB=$QBW_HOTSPOT_PRESS;
;;
esac
echo -e "\n"
case $TAB in
1)
echo -e "Texas Instruments OMAP 3430:\n\tARM Cortex A8 (65-nm)\n\tPowerVR SGX530 GPU"
case $QBW_HOTSPOT_PRESS in
[456789])
osso-xterm -e "nohup conky -qdc $LOC/CPU_conky.conf & exit"
;;
esac
exit 0
;;
2)
echo -e "<span font = \"11\"><b>BL-5J 3.7V 1320mAh Li-Ion battery\n256 MB NAND (UBIFS)\n32GB eMMC:</b></span>"
echo -e "\t<span font = \"11\">* 768 MB swap * 2 GB /home (ext3)\n\t* 27 GB /home/user/MyDocs (VFAT)</span>"
case $QBW_HOTSPOT_PRESS in
[456789])
osso-xterm -e "nohup conky -qdc $LOC/Resource_conky.conf & exit"
;;
esac
exit 1
;;
3)
echo "WLAN 802.11 b/g (wl1251)"
case $QBW_HOTSPOT_PRESS in
[456789])
osso-xterm -e "nohup conky -qdc $LOC/Network_conky.conf & exit"
;;
esac
exit 2
;;
*)
echo "UNKNOWN TAB $TAB"
;;
esac
With Linux-powered N900..ANYTHING is possible
| The Following 2 Users Say Thank You to techie For This Useful Post: | ||
|
|
2010-10-29
, 11:39
|
|
|
Posts: 1,151 |
Thanked: 1,665 times |
Joined on Jan 2010
@ Denmark
|
#125
|

|
|
2010-10-29
, 16:31
|
|
Posts: 208 |
Thanked: 220 times |
Joined on Apr 2010
|
#126
|
@techie one question to this new orientation feature in queen beecon widgets, would it be possible for you to tweak your conky cmd/script widget to rotate and bring up conky wondows to fit the orientation the phone is in, portrait/landscape?
Maybe to much work but would be nice if you could (donīt know if itīs doable at all
(Was originally posted in the QBW thread, but removed and posted here instead. More relevence here).
With Linux-powered N900..ANYTHING is possible
| The Following User Says Thank You to techie For This Useful Post: | ||
|
|
2010-10-29
, 18:34
|
|
|
Posts: 1,151 |
Thanked: 1,665 times |
Joined on Jan 2010
@ Denmark
|
#127
|
|
|
2010-10-31
, 15:23
|
|
Posts: 33 |
Thanked: 8 times |
Joined on Oct 2009
|
#128
|
|
|
2010-11-01
, 08:14
|
|
Posts: 208 |
Thanked: 220 times |
Joined on Apr 2010
|
#129
|
I'm looking to get just the temperature displayed in a beecon widget. What do I need to edit from this widget to just get the temperature displayed? The 'Command'? Does anyone have an example command they could share?
echo `cat /sys/devices/platform/omap34xx_temp/temp1_input` °C
echo `cat /sys/class/power_supply/bq27200-0/temp` °C
sudo gainroot modprobe bq27x00_battery
echo bq27x00_battery >> /etc/modules
With Linux-powered N900..ANYTHING is possible
| The Following 2 Users Say Thank You to techie For This Useful Post: | ||
|
|
2010-11-03
, 01:22
|
|
Posts: 33 |
Thanked: 8 times |
Joined on Oct 2009
|
#130
|
echo `cat /sys/class/power_supply/bq27200-0/temp` °C
sudo gainroot modprobe bq27x00_battery
echo bq27x00_battery >> /etc/modules
: not foundacl.sh: line 4: : not foundacl.sh: line 5: : not foundacl.sh: line 8: { : not foundacl.sh: line 9: : not foundacl.sh: line 10: } : not foundacl.sh: line 11: /home/user/acl.sh: line 12: syntax error: word unexpected (expecting "in")