x11-misc/electricsheep-2.6.8-r1 currently provides a electricsheep.desktop file for kde3, but does not provide one for kde4. with this default configuration, electricsheep cannot be selected as the screensaver within the kde4 screen saver applet in systemsettings. using the electricsheep.desktop file for kde3 and the .desktop files in $KDEDIR/share/kde4/services/ScreenSavers/ as a starting point, i have written an electricsheep.desktop file for kde4. when placed in $KDEDIR/share/kde4/services/ScreenSavers/, this file creates an ElectricSheep entry in the Fractals category of the kde4 screensavers applet. when selected here, the electricsheep screen saver turns on as expected. it can be previewed using the Test button, and with electricsheep-2.7 (not yet in portage), the Setup... button launches electricsheep-preferences. Reproducible: Always Steps to Reproduce:
Created attachment 179690 [details] proposed .desktop file for kde4
Although this bug is about KDE 4, I want to add the same proposal for Gnome. I found some howto in the internet, added a wrapper script and a .desktop file and now I can use electricsheep as screensaver for Gnome. I will add the .desktop file and the wrapper script.
Created attachment 210751 [details] proposed .desktop for Gnome I put this in /usr/share/applications/screensavers/.
Created attachment 210753 [details] proposed wrapper script I put this in /usr/libexec/gnome-screensaver/.
Created attachment 220799 [details] fixed .desktop for current version This desktop won't work with the current version You just get a blank screen. Easy fix though. Under [Desktop Action Root] change this: Exec=electricsheep --root 1 --zoom 1 to this: Exec=electricsheep -window-id %w Anyway, it breaks because the '--zoom' option doesn't exist anymore. Also, just truncating to '--root 1' won't work either. You won't even get a blank screen, just a static snapshot of the desktop at the time the screensaver should have activated (at least you will in KDE 4.4). For convenience, I'll attach my .desktop.
removed