|
2010-08-17
, 17:45
|
|
Posts: 1,034 |
Thanked: 784 times |
Joined on Dec 2007
@ Annapolis, MD
|
#392
|
|
2010-08-17
, 18:10
|
Posts: 2,014 |
Thanked: 1,581 times |
Joined on Sep 2009
|
#393
|
Nah, the .xscreensaver file is the correct place for flags and configs as read by the full xscreensaver process when it executes xscreensaver delivered hacks.
Hacks are self contained binaries that display different animations to the X desktop and are individually coded with flags and arguments just like any other Linux binary.
Currently on Maemo5, the xscreensaver package just seems to dump a bunch of these hacks into a directory where the Live-Wallpaper process can access them. They then execute with the default flags and arguments. Perhaps I could find a .livewallpaper that could do the same thing....
Of course, finding where the xscreensaver.deb file dumps the hacks onto the N900 would help in testing what flags and arguments are accepted by running them individually.
The Following User Says Thank You to Bratag For This Useful Post: | ||
|
2010-08-17
, 18:17
|
Posts: 1,137 |
Thanked: 1,903 times |
Joined on Apr 2007
@ Belarus
|
#394
|
Just updated live wallpapaer and installed the xscreensaver package. Works great!
Some questions about xscreensaver:
Is there any way to modify the arguments on the hacks? Like you can run xmatrix, but is there a way to use the standard xscreensaver xmatrix flags such as -small or -density or -delay ?
Also I was wondering where on the N900 does the xscreensaver deb files dump the hacks? I was hoping to add a few hacks to that directory that weren't included in the .deb file.
I was thinking of adding some of the GL based xscreensaver hacks, but now that I think about it, they would need to be re-compiled to include openGL ES support. I'm unsure if the standard OpenGL hacks would work on the N900....
|
2010-08-17
, 18:17
|
|
Posts: 1,034 |
Thanked: 784 times |
Joined on Dec 2007
@ Annapolis, MD
|
#395
|
I know that when I changed the text location for some of the screensavers in xscreensaver-demo - the change was reflected in lWP as well
|
2010-08-17
, 18:19
|
|
Posts: 1,034 |
Thanked: 784 times |
Joined on Dec 2007
@ Annapolis, MD
|
#396
|
Hi
This the way for hack:
in directory /usr/share/livewp/extrnal_theme you can find xml file.
For example in xmatrix.xml you can find the next string:
<exec_path>/usr/lib/xscreensaver/xmatrix</exec_path>
Add after matrix necessary parameter for example "-small" and try to use it
We are going to do possibility to use all parameters via livewallpaper settings. But I and Tanya don't have any free time for this feature.
You can find source code of Xscreensaver here https://garage.maemo.org/scm/?group_id=1797
Good hack.
Vlad.
|
2010-08-17
, 18:23
|
Posts: 1,137 |
Thanked: 1,903 times |
Joined on Apr 2007
@ Belarus
|
#397
|
Seems like not much improvement on this area has happened.
Power hungry for sure.
May I suggest that for next Vlad would concentrate on optimizing the code? I'm sure there is something you can do with that to make this more enjoyable and useful! Not eating so much resources, that is.
PS. I must confirm that best video format for live wallpaper seems to be mp4 - runs the smoothiest I've experienced so far...
|
2010-08-17
, 20:40
|
Posts: 24 |
Thanked: 9 times |
Joined on Jul 2010
@ Vicenza (Italy)
|
#398
|
We think about it. But I think man problem are placed in hildon-desktop. Processes /usr/bin/Xorg and hildon-home is main CPU enemies.
Vlad.
|
2010-08-17
, 21:34
|
Posts: 219 |
Thanked: 21 times |
Joined on May 2010
|
#399
|
|
2010-08-18
, 00:41
|
|
Posts: 4,365 |
Thanked: 2,467 times |
Joined on Jan 2010
@ Australia Mate
|
#400
|
...................
dpkg error processing libpam0g (--configure)
subprocess pst-installation script returned an error exit status 2
errors were encountered while processing:
libpam0g
..................
Class .. : Power Poster, Potential Coder
Humor .. : [*********] Alignment: Chaotic Evil
Patience : [***-------] Weapon(s): +2 Logic Mace
Agro ... : |*****-----] Relic(s) : G1, N900