Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256338 - x11-misc/electricsheep: add .desktop file for kde4
Summary: x11-misc/electricsheep: add .desktop file for kde4
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-25 18:05 UTC by Ivan D Vasin
Modified: 2016-11-09 10:34 UTC (History)
4 users (show)

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


Attachments
proposed .desktop file for kde4 (electricsheep.desktop,7.87 KB, application/x-desktop)
2009-01-25 18:07 UTC, Ivan D Vasin
Details
proposed .desktop for Gnome (electricsheep.desktop,1.04 KB, text/plain)
2009-11-20 23:09 UTC, Philipp Riegger
Details
proposed wrapper script (esheep.sh,116 bytes, text/plain)
2009-11-20 23:09 UTC, Philipp Riegger
Details
fixed .desktop for current version (electricsheep.desktop,7.87 KB, text/plain)
2010-02-23 07:29 UTC, Thomas S. Howard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan D Vasin 2009-01-25 18:05:22 UTC
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:
Comment 1 Ivan D Vasin 2009-01-25 18:07:19 UTC
Created attachment 179690 [details]
proposed .desktop file for kde4
Comment 2 Philipp Riegger 2009-11-20 23:06:16 UTC
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.
Comment 3 Philipp Riegger 2009-11-20 23:09:17 UTC
Created attachment 210751 [details]
proposed .desktop for Gnome

I put this in /usr/share/applications/screensavers/.
Comment 4 Philipp Riegger 2009-11-20 23:09:58 UTC
Created attachment 210753 [details]
proposed wrapper script

I put this in /usr/libexec/gnome-screensaver/.
Comment 5 Thomas S. Howard 2010-02-23 07:29:34 UTC
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.
Comment 6 Pacho Ramos gentoo-dev 2016-11-09 10:34:40 UTC
removed