Notices


Reply
Thread Tools
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#701
OK, I added support to animated gif as background (just set an animated gif as BackGroundImageP/BackGroundImageL and it will work).
This is slow, I'd never use this as my lockscreen but maybe someone wants to (probably using a light gif with little animations).
The next update will have support to animated gif.
Please don't come here to say "It's slow" after having set a 2Mb gif as background.
 

The Following 4 Users Say Thank You to sakya For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#702
1. is it possible to have the stock lockscreen as an option in configurator without having to kill qtlockscreen? maybe it could be done just as an entry with pkill pause
2. @sakyu: maybe you could do conf utility as an entry in settings, not as an entry in menu
 
Posts: 509 | Thanked: 522 times | Joined on Aug 2010 @ indonesia
#703
do u have idea to reduce amount of ram it take more than 20 mb ram, thanx anyway .love ur app
__________________
Nokia N900
PR 1.3 CSSU
64 GB
Triple Booting : maemo, power kernel 47, nitdroid umay 2,3,4

make ur desktop look awesome use symbian-anna-icons and harmattan icon pack

thanx button if u wanna say thanx dont use reply to save space loo
 
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#704
Originally Posted by cloud596 View Post
do u have idea to reduce amount of ram it take more than 20 mb ram, thanx anyway .love ur app
I don't think I can do much.
Attached you can find the pmap output (I'm using the default theme).

As you can see most of the memory comes from the Qt libs like:
Code:
40234000   11204    1053       0       0  r-xp  /opt/lib/libQtGui.so.4.7.0
While the heap memory is:
Code:
0007f000    3336    2180    1984     972  rw-p  [heap]
Attached Files
File Type: zip pmap.zip (3.2 KB, 86 views)
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#705
is it possible to have the stock lockscr as an option in configurator?

The way I see it it could be a dbus-script

[code]start on started qtlockscreen
stop on stopping qtlockscreen

script

pkill -STOP qtlockscreen

end script
[\code]

or something like that

and something that would reenable would be pkill -CONT qtlockscreen

Am I right?
 
Alfred's Avatar
Posts: 855 | Thanked: 612 times | Joined on Oct 2010 @ Germany
#706
Sakya, thanks for gif. One quick question, will you be adding gif support to all images or just background?
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>
 
Posts: 561 | Thanked: 75 times | Joined on Jan 2010 @ Spain
#707
I love how you are staying. Even batterypatch uninstalled it for use with the best performance.

I wish we had the option of listening to FM from this application to not be unlocked to phone or you can control the change of stations in the radio application you are using. I am using "C FM Radio".

Another improvement would be not to lose the play list of songs when we have used the media player for watching videos. At this point if you view a video, QtLockscreen happens to have the list of videos and songs to play.

Thank you for your application.
 
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#708
Uploaded now version 0.1.19

Changelog:
* Added support to animated gif as background (slow, don't abuse of it)
* Added TextCommand widget: displays text from an external command

To use a gif as background simply set the animated gif as you normally do. Don't abuse of this feature: animated gif are cpu heavy, I think you can safely use some "light" animated gif.

The TextCommand simply displays the text output of a command (or a script).
Here's an example that displays the current cpu clock (remember to escape the quotes inside the command):
Code:
...
Widgets\25\Name="TextCommand.CPUFreq"
Widgets\Size=25

[CPUFreq]
PosL="730;52"
PosP="410;52"
SizeP="64;40"
SizeL="64;40"
Font=";12;normal;0"
Command="awk '{print $1/1000\" MHz\"}' /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq"
UpdateIntervalSeconds=1

Last edited by sakya; 2011-10-12 at 19:35.
 

The Following 5 Users Say Thank You to sakya For This Useful Post:
Alfred's Avatar
Posts: 855 | Thanked: 612 times | Joined on Oct 2010 @ Germany
#709
I wonder, if the author of the iPhone theme could make "Slide to Unlock" text as a GIF background.... so it'll be the real deal
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>
 
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#710
Uploaded now version 0.1.20

Changelog:
* Added Multiline setting to Text and TextCommand widget
* Fixed TextCommand update

Set the multiline setting to 1 if the text you want to display is multiline.

Example of a multiline string in a TextCommand widget (screenshot attached):
Code:
...
Widgets\25\Name="Rect.SystemInfoBackground"
Widgets\26\Name="TextCommand.SystemInfo"
Widgets\27\Name="Text.SystemInfoText"
...

[SystemInfoBackground]
PosL="5;220"
PosP="5;220"
SizeP="120;70"
SizeL="120;70"
Radius=5
Color="0;0;0;150"

[SystemInfoText]
PosL="8;220"
PosP="8;220"
SizeP="120;70"
SizeL="120;70"
Font=";12;normal;0"
Alignment="left;center"
Multiline=1
Text="CPU:\nIP:\nMem:"
UpdateIntervalSeconds=1

[SystemInfo]
PosL="5;220"
PosP="5;220"
SizeP="117;70"
SizeL="117;70"
Font=";12;normal;0"
Alignment="right;center"
Multiline=1
Command="/opt/qtlockscreen/sysinfo.sh"
UpdateIntervalSeconds=1
and this is the script sysinfo.sh
Code:
#!/bin/sh
echo `awk '{print $1/1000" MHz"}' /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq`

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 $IP

echo -n `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`
Attached Images
 

Last edited by sakya; 2011-10-16 at 20:18.
 

The Following 8 Users Say Thank You to sakya For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 21:07.