Bug 43173 - rss-glx screensavers don't work in KDE 3.2
Bug#: 43173 Product:  Gentoo Linux Version: 1.4 Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: liquidx@gentoo.org Reported By: dopey@moonteeth.com
Component: Applications
URL: 
Summary: rss-glx screensavers don't work in KDE 3.2
Keywords:  
Status Whiteboard: 
Opened: 2004-02-27 23:55 0000
Description:   Opened: 2004-02-27 23:55 0000
The rss-glx screensavers don't seem to work in KDE 3.2.  I've tracked it down
to a problem with the section of the ebuild that creates the kde *.desktop
files.

The ebuild uses as an argument to kxsrun/kxsconfig
/usr/lib/xscreensaver/[binary executable].  For some reason this doesn't work
in KDE 3.2 anymore.  Instead of a full qualified path to the binary, it now
only works if you use just the binary executable.  For example, the lines
should look like:

        if [ -n "`use kde`" ]; then
                find . -name '*.desktop' -exec \
                        sed -i \
                                -e 's:Exec=kxsrun \(.*\):Exec=kxsrun \1:g' \
                                -e 's:Exec=kxsconfig \(.*\):Exec=kxsconfig
\1:g' \
                                '{}' \

Specifically, aft        if [ -n "`use kde`" ]; then
                find . -name '*.desktop' -exec \
                        sed -i \
                                -e 's:Exec=kxsrun \(.*\):Exec=kxsrun \1:g' \
                                -e 's:Exec=kxsconfig \(.*\):Exec=kxsconfig
\1:g' \
                                '{}' \

------- Comment #1 From Alastair Tse (RETIRED) 2004-02-28 04:36:20 0000 -------
can you make a diff against the current ebuild?

------- Comment #2 From Andy Wang 2004-02-28 07:56:13 0000 -------
Created an attachment (id=26519) [details]
patch to allow the screensavers to work with KDE 3.2

My only concern with this is that I no longer have KDE 3.1 around and don't
know if this will work or not with 3.1 (i think it will, but have no way of
validating it).  Is supporting 3.1.x even a concern since 3.2 is stable?

------- Comment #3 From Alastair Tse (RETIRED) 2004-02-28 14:29:08 0000 -------
kde boys, does this work for you guys? i'm not familiar with what kde does with
screensavers. can you guys please have a look at this?

------- Comment #4 From Mike 2004-03-30 12:08:32 0000 -------
I tried the correction you recommended... it compiled fine, but still no luck
with getting the screen rss-glx savers running...

so no, the patch didn't work for me.  *shrug*

------- Comment #5 From Andy Wang 2004-03-30 16:05:52 0000 -------
http://forums.gentoo.org/viewtopic.php?t=80105

At least one other person got it to work with my proposed patch.  My guess is you're doing something wrong :).  Maybe post on that thread with your attempts and someone (maybe me) can try to help.

I've used my patch on 6 different computers all with positive results.

------- Comment #6 From David Blue 2004-06-27 10:59:50 0000 -------
Works for me on x86 with kde3.3alpha1 (haven't tried 3.2 yet)

------- Comment #7 From I.Borchert 2004-06-29 19:41:52 0000 -------
This patch works without problems for me after unmerging rss-glx and doing a
new merge based on the patched ebuild. :-) Now the the rss-glx screensavers
behaves like i expected them to behave in KDE/kcontrol. Beforehand they only
showed up in the list of selectable screensavers and it was not possible to
start them (nor to have a preview).
Now, after patching, all works fine, even the settings dialogs for each rss-glx
screensaver is working.
(Using KDE 3.2.2 + nvidia opengl)

------- Comment #8 From Niek Beernink 2004-06-30 03:31:34 0000 -------
I also use KDE 3.2.2 and have an Nvidia Geforce 4 ti4200.

The patched ebuild doesn't seem to work for me. It points to two programs, kxsrun and kxsconfig. Both are not on my harddrives. If it worked for  I.Borchert, he must have had those files on his system.

I can get them to run if I edit the .desktop files, but they use 100% cpu power then. That's a little too much for me. =)

Anyway, why am I missing those two programs? I'm quite sure I didn't delete them.


------- Comment #9 From Niek Beernink 2004-06-30 05:13:46 0000 -------
Okay I found out why it didn't work. You need to have xscreensavers installed
before you emerge kdeartwork, otherwise kdeartwork doesn't detect xscreensavers
and thus does not generate kxsrun and kxsconfig.

I posted another response with how to work around this in the forum thread.
http://forums.gentoo.org/viewtopic.php?p=1296480#1296480

------- Comment #10 From Alastair Tse (RETIRED) 2004-07-23 23:05:51 0000 -------
fixed finally in 0.7.6! sorry for the delay!