Notices


Reply
Thread Tools
Posts: 2,014 | Thanked: 1,581 times | Joined on Sep 2009
#391
Originally Posted by cddiede View Post
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....
Perhaps /home/user/.xscreensaver ?
__________________
Class .. : Power Poster, Potential Coder
Humor .. : [*********] Alignment: Chaotic Evil
Patience : [***-------] Weapon(s): +2 Logic Mace
Agro ... : |*****-----] Relic(s) : G1, N900

 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#392
Originally Posted by Bratag View Post
Perhaps /home/user/.xscreensaver ?
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.
 
Posts: 2,014 | Thanked: 1,581 times | Joined on Sep 2009
#393
Originally Posted by cddiede View Post
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.
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
__________________
Class .. : Power Poster, Potential Coder
Humor .. : [*********] Alignment: Chaotic Evil
Patience : [***-------] Weapon(s): +2 Logic Mace
Agro ... : |*****-----] Relic(s) : G1, N900

 

The Following User Says Thank You to Bratag For This Useful Post:
Posts: 1,137 | Thanked: 1,903 times | Joined on Apr 2007 @ Belarus
#394
Originally Posted by cddiede View Post
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....
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.
 

The Following 2 Users Say Thank You to vasvlad For This Useful Post:
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#395
Originally Posted by Bratag View Post
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
Aha! So the xscreensaver-demo command IS included in the Maemo packaged xscreensaver deb file? I thought this package just included the hacks and dumped them someplace where live wallpaper could see them.

This is great! We can configuring it just like the full xscreensaver for desktop Linux distros!

Thanks, I'm gonna go try this now.
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#396
Originally Posted by vasvlad View Post
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.

Thanks! I'm going to try and drop in some OpenGL xscreensaver hacks and see if Live Wallpaper can display them.
 
Posts: 1,137 | Thanked: 1,903 times | Joined on Apr 2007 @ Belarus
#397
Originally Posted by mass243 View Post
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...
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.
 
Posts: 24 | Thanked: 9 times | Joined on Jul 2010 @ Vicenza (Italy)
#398
Originally Posted by vasvlad View Post
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.
Hi, I've just installed live wallpaper 0.8 and I think it is really great.
I've tested all xscreensaver themes: do you mind if I edit http://wiki.maemo.org/Xscreensaver with some useful information about all themes:
- name
- working / not working
- type of cpu use (continuous / discontinuous)
- level of cpu use (low, medium, high - detected via cpumem-applet)
- comments (something I've noticed)

I'd also like to add a sample image for each theme, but I'll do it next time...

Thanks for your work
Michele
 

The Following 2 Users Say Thank You to mmichielin For This Useful Post:
Posts: 219 | Thanked: 21 times | Joined on May 2010
#399
SUPER WORK VLAD N TANYA !!
btw, a SMALL little pointer that would make tihs PERFECT.
when i slide to switch desktop, the background keeps playing/animating till that desktop is replaced by the other completely (which gives a continuous feel to the wallpaper..and is also awesome!)
is it possible for you to let it play/animate in the exact opposite scenario?
i.e let the background wallpaper play/animate as SOON as that desktop is seen ( i e a small part of it..then bigger untill it fills the whole screen.)
i ask this because currently, when i switch back or forth to one desktop, untill the desktop is COMPLETELY settled covering the whole screen, it does not move /animate.
hope you understood.
(i dont expact you to constantly let the screensaver animate when the desktop is not in use because i know it will simply drain the battery.)
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#400
ever since latest update, whenever i install or remove an app (thru fapman), I get an error:

...................
dpkg error processing libpam0g (--configure)
subprocess pst-installation script returned an error exit status 2
errors were encountered while processing:
libpam0g
..................
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:51.