|
|
2012-05-08
, 03:18
|
|
|
Posts: 236 |
Thanked: 95 times |
Joined on Jan 2012
@ Ecuador
|
#762
|

|
|
2012-05-08
, 07:29
|
|
|
Posts: 533 |
Thanked: 1,341 times |
Joined on Dec 2010
@ Italy
|
#763
|
/opt/qtlockscreen/sysinfo.sh
|
|
2012-05-08
, 07:48
|
|
|
Posts: 236 |
Thanked: 95 times |
Joined on Jan 2012
@ Ecuador
|
#764
|
Did you set the script's execute permission?
What happens if you launch the script from the terminal?
Code:/opt/qtlockscreen/sysinfo.sh
|
|
2012-05-08
, 07:56
|
|
|
Posts: 533 |
Thanked: 1,341 times |
Joined on Dec 2010
@ Italy
|
#765
|
root chmod a+x /opt/qtlockscreen/sysinfo.sh
| The Following User Says Thank You to sakya For This Useful Post: | ||
|
|
2012-05-08
, 08:01
|
|
|
Posts: 236 |
Thanked: 95 times |
Joined on Jan 2012
@ Ecuador
|
#766
|
Use the attached script (rename it sysinfo.sh)
Give the file execute permission:
Code:root chmod a+x /opt/qtlockscreen/sysinfo.sh

|
|
2012-05-09
, 10:23
|
|
Posts: 539 |
Thanked: 518 times |
Joined on May 2010
@ nanaurbusiness
|
#768
|
|
|
2012-05-09
, 10:30
|
|
|
Posts: 533 |
Thanked: 1,341 times |
Joined on Dec 2010
@ Italy
|
#769
|
start on started hildon-desktop respawn script exec su - user -c "exec /usr/bin/qtlockscreen" end script
| The Following User Says Thank You to sakya For This Useful Post: | ||
|
|
2012-05-09
, 14:05
|
|
Posts: 539 |
Thanked: 518 times |
Joined on May 2010
@ nanaurbusiness
|
#770
|
The autostart script is /etc/event.d/qtlockscreen
It should be like this:
Code:exec su - user -c "exec /usr/bin/qtlockscreen"
Maemo applications must be run with the run-standalone.sh script" qtlockscreen: cannot connect to X server
#!/bin/sh echo `awk '{print $1/1000" MHz"}' /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq` echo `awk '/mT/ {memttl = $2}; /mF/ {memfre = $2}; /Bu/ {membff = $2}; $1 == "Cached:" {memcch = $2} END {printf ("%.1f MB\n",(memttl-memfre-membff-memcch)/1024)}' /proc/meminfo` CONN=$(/sbin/route | awk '/default/ {print $NF}') IP="-" if [ "$CONN" == "wlan0" ]; then IP=$(/sbin/ifconfig wlan0 | awk -F "[: ]" '/Bc/ {print $13}') fi if [ "$CONN" == "gprs0" ]; then IP=$(/sbin/ifconfig gprs0 | awk -F "[: ]" '/P-t-P/ {print $13}') fi echo -n $IPhttp://wiki.maemo.org/QtLockscreen
My projects: smssend, groupsms, volumecontroldaemon, vodafone190, vodafone190 desktop widget, QtBatteryWidget, QtLockscreen, Lone Wolf
Donations are welcome
Last edited by sakya; 2012-05-07 at 21:32.