View Single Post
Posts: 208 | Thanked: 220 times | Joined on Apr 2010
#447
Originally Posted by No!No!No!Yes! View Post
One more thingie...
Try to avoid use of "\n" newline in beecon command:
Actually I was editing the code on the device itself with indentation so it inserted \n automatically, I didn't.Will get rid of it if it makes a difference.

i spent some time on your OC QBW... I have another suggestion for a possibile optimization of the script ...
instead of changing QBW icons/images via dbus-send commands, why not use the beecon exit status features and images indexing
Also alpha transparency could be used in images masks to obtain cool effects for the final widget.

See Poker Dice Roller or O'clocker for example.
Thank You for your time! I looked at the above examples and must admit that is a smart way, I didn't know the app could read images based on index extensions, the more I learn of the capabilities of this app the more it impresses me and intrigues me how much work you put into this,kudos to you! (btw dd is a scary command esp since the first explanatory example I stumbled upon was
if=: /dev/zero: of=:/dev/hda: )
Will work on implementing your suggestions.
Another thing, although I try my best that minimum statements have to be executed, there is no conclusive statistical reading that I can check, so can you please possibly point me to some tool that I can use to compare how much optimized is one set of code to another.

I noticed that the the rollem deck has a boundary when pressed but I couldn't figure how it was done as there is no other image for it.So how is this done?And what is meant by alpha transparency?

Also No!No!No!Yes! can you check (maybe after you get back) if there is an issue with setting timer update interval using dbus.
It seems 0 (timer disable) can't be set but other values do(haven't checked all) including 9 (custom with interval 0 sec also works).And yes I did do reset_rearm_timer
__________________
With Linux-powered N900..ANYTHING is possible
 

The Following User Says Thank You to techie For This Useful Post: