Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
question about running screensaver in fluxbox
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
tSp
Apprentice
Apprentice


Joined: 19 Jan 2004
Posts: 214
Location: Maysville, KY

PostPosted: Wed Feb 22, 2006 4:51 pm    Post subject: question about running screensaver in fluxbox Reply with quote

I am trying to run a kde screensaver in fluxbox. If I run it manually using the command:

/usr/kde/3.5/bin/kcometen3.kss --root

it opens in a new windows with a border.

How can I get it to run like a normal screensaver after a few minutes and be password protected? Will I need the window id for fluxbox?

using xwininfo and clicking on the root window of fluxbox does the same thing - opens the screensave in a new window and has the border
_________________
tSp
http://www.rhpstudios.com
http://www.xtremewebhosts.com
http://www.maysville-linux-users-group.org
http://www.edwiget.name

Registered Linux User #162711
Back to top
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Wed Feb 22, 2006 5:25 pm    Post subject: Reply with quote

Does running xscreensaver do the same thing? The KDE screensaver is just a wrapper for xscreensaver, which is not recommended by the xscreensaver folks, since it's really buggy. I couldn't even get it to run under KDE.

I'd run xscreensaver to make sure it's not the KDE wrapper causing the problems. If you experience the same thing under xscreensaver, it's not a KDE screensaver problem.
_________________
Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance!
Back to top
View user's profile Send private message
tSp
Apprentice
Apprentice


Joined: 19 Jan 2004
Posts: 214
Location: Maysville, KY

PostPosted: Wed Feb 22, 2006 5:54 pm    Post subject: Reply with quote

ectospasm wrote:
Does running xscreensaver do the same thing? The KDE screensaver is just a wrapper for xscreensaver, which is not recommended by the xscreensaver folks, since it's really buggy. I couldn't even get it to run under KDE.

I'd run xscreensaver to make sure it's not the KDE wrapper causing the problems. If you experience the same thing under xscreensaver, it's not a KDE screensaver problem.


kcometen3 is a new opengl screensaver that does this 3 demensional box thing with your desktop background or a selected image, it also pans, moves, lightening. - http://www.kde-apps.org/content/show.php?content=30313

its not in xscreensaver-demo selection but the only reason I am interested in getting this to work, I have to give a presentation to the MLUG on March 04, and its some pretty good eye candy to show on the projector prior to the meeting with the mlug logo (images below that I just took)

here are some screenshots....
http://www.maysville-linux-users-group.org/images/kcometen3.png
http://www.maysville-linux-users-group.org/images/kcometen4.png
http://www.maysville-linux-users-group.org/images/kcometen5.png

you would really have to see it in action to see how cool it is.

By the way, the gentoo portage overlay ebuild at the kde-apps link above will fail, but if you manually download the source and use a user prefix or /usr/kde/3.5 it will build just fine
_________________
tSp
http://www.rhpstudios.com
http://www.xtremewebhosts.com
http://www.maysville-linux-users-group.org
http://www.edwiget.name

Registered Linux User #162711
Back to top
View user's profile Send private message
tSp
Apprentice
Apprentice


Joined: 19 Jan 2004
Posts: 214
Location: Maysville, KY

PostPosted: Thu Feb 23, 2006 12:46 am    Post subject: Reply with quote

well....when you can't figure it out....you hack it::

1 - copy /usr/kde/3.5/bin/kcometen3.kss to /usr/lib/misc/xscreensaver/kcometen3

2 - copy /usr/share/xscreensaver/config/glmatrix.xml to /usr/share/xscreensaver/config/kcometen3.xml

3 - modify above file to include:

<?xml version="1.0" encoding="ISO-8859-1"?>

<screensaver name="kcometen3" _label="KCometen3">

<command arg="-root"/>
<select id="color">
<option id="red" _label="Red" arg-set="-red"/>
<option id="blue" _label="Blue" arg-set="-blue"/>
<option id="green" _label="Green" arg-set="-green"/>
<option id="all" _label="All Colors" arg-set="-all"/>
<option id="random" _label="Random Colors" arg-set="-random"/>
</select>

<number id="interval" type="spinbutton" arg="-interval %"
_label="Interval" low="0.10" high="10.00" default="1.00"/>

<number id="fps" type="spinbutton" arg="-fps %"
_label="Max FPS" low="30" high="999" default="100"/>

<boolean id="desktop" _label="Desktop" arg-unset="-no-desktop"/>

<file id="image" _label="Image File" arg="-image %"/>

<select id="size">
<option id="128" _label="128x128" arg-set="-128"/>
<option id="256" _label="256x256" arg-set="-256"/>
<option id="512" _label="512x512" arg-set="-512"/>
<option id="real" _label="Real Size" arg-set="-real"/>
</select>

<boolean id="lightning" _label="Lightening" arg-unset="-no-lightening"/>
<boolean id="camera" _label="Camera Rotation" arg-unset="-no-camera"/>
<boolean id="slowmotion" _label="Slowmotion" arg-unset="-no-slowmotion"/>

<_description>
http://www.garage-interactive.org
or
http://www.kde-apps.org/content/show.php?content=30313

Written by Peter Mueller
mail: pmueller (at) cs.tu-berlin.de
</_description>
</screensaver>
-----------------------------------------------------------------------------------

4 - Modify main xscreensaver config file located at /usr/lib/X11/app-defaults/XScreenSaver to add config line to include kcometen3 in the *programs section:

!
*programs: \
GL: "Cyclone" cyclone --root \n\
GL: "Euphoria" euphoria --root \n\
GL: "Fieldlines" fieldlines --root \n\
GL: "Flocks" flocks --root \n\
GL: "Flux" flux --root \n\
GL: "Helios" helios --root \n\
GL: "Hyperspace" hyperspace --root \n\
GL: "KCometen3" kcometen3 --root \n\
GL: "Lattice" lattice --root \n\
GL: "Plasma" plasma --root \n\

5 - test it -
5a - run xscreensaver-demo
5b - select KCometen3
5c - configure to your liking
5d - preview it.
5e - apply it as default screensaver......


Still not sure about all the configuration variables (I have emailed the author to find out for sure)...but this works real well in the meantime:

/usr/lib/misc/xscreensaver/kcometen3 --setup
_________________
tSp
http://www.rhpstudios.com
http://www.xtremewebhosts.com
http://www.maysville-linux-users-group.org
http://www.edwiget.name

Registered Linux User #162711
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum