Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43173 - rss-glx screensavers don't work in KDE 3.2
Summary: rss-glx screensavers don't work in KDE 3.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-27 23:55 UTC by Andy Wang
Modified: 2004-07-23 23:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to allow the screensavers to work with KDE 3.2 (rss-glx-0.7.6.kde3.2.diff,539 bytes, patch)
2004-02-28 07:56 UTC, Andy Wang
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Wang 2004-02-27 23:55:28 UTC
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 Alastair Tse (RETIRED) gentoo-dev 2004-02-28 04:36:20 UTC
can you make a diff against the current ebuild?
Comment 2 Andy Wang 2004-02-28 07:56:13 UTC
Created attachment 26519 [details, diff]
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 Alastair Tse (RETIRED) gentoo-dev 2004-02-28 14:29:08 UTC
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 Mike 2004-03-30 12:08:32 UTC
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 Andy Wang 2004-03-30 16:05:52 UTC
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 David Blue 2004-06-27 10:59:50 UTC
Works for me on x86 with kde3.3alpha1 (haven't tried 3.2 yet)
Comment 7 I.Borchert 2004-06-29 19:41:52 UTC
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 Niek Beernink 2004-06-30 03:31:34 UTC
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 Niek Beernink 2004-06-30 05:13:46 UTC
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 Alastair Tse (RETIRED) gentoo-dev 2004-07-23 23:05:51 UTC
fixed finally in 0.7.6! sorry for the delay!