I took the time to sit down and work through this on relatively clean
installs of Ubuntu 6.10 and Debian Etch.

Currently the Edgy electricsheep package puts .desktop files in the following 
locations
/usr/share/control-center/Desktop/
/usr/share/applnk/System/ScreenSavers/
/usr/share/gnome-screensaver/themes/

The Etch package puts them in
/usr/share/control-center/Desktop/
/usr/share/applnk/System/ScreenSavers/

In Edgy and Etch after installing gnome and kde's screensavers and
electricsheep I found screensaver related .desktop files in the
following locations:

/usr/share/applications/screensavers/ - holds many screensaver desktop entries 
in Edgy, doesn't exist in Etch
/usr/share/applnk/System/ScreenSavers/ - holds entries for kscreensaver in Edgy 
and Etch
/usr/share/gnome-screensaver/themes/ - empty in Ubuntu except for 
electrichseep, used in Etch for gnome screensavers (ie not xscreensaver hacks)
/usr/share/control-center/Desktop/ - empty in Ubuntu and Etch except for 
electricsheep
/usr/share/app-install/desktop/ - many desktop files for applications and 
screensavers in Edgy, doesn't exist in Etch

I'm ignoring the KDE-related ones. To find out where gnome-screensaver
looks, I removed all the .desktop files electricsheep installed but one
and moved that file through each directory. Each time I moved it I
restarted gnome-screensaver and checked to see if electricsheep appeared
in the list of screensavers.

/usr/share/gnome-screensaver/themes/ - Edgy no, Etch yes
/usr/share/applications/screensavers/ - Edgy yes, Etch no
/usr/share/control-center/Desktop/ - Edgy no, Etch no
/usr/share/app-install/desktop/ - Edgy no, Etch no

Next I looked for where the actual screensaver executables were located

/usr/lib/gnome-screensaver/gnome-screensaver/ - holds gnome screenavers in Edgy 
and Etch
/usr/lib/xscreensaver/ - holds xscreensaver hacks in Edgy, doesn't exist in Etch
/usr/bin/ - holds electricsheep

I modified electricsheep.desktop to refer to a wrapper script that
simply called electricsheep with a few options, and moved the wrapper
script through the above folders to see which locations gnome-
screensaver checked when launching a screensaver.

/usr/lib/gnome-screensaver/gnome-screensaver/ - Edgy yes, Etch yes
/usr/lib/xscreensaver/ - Edgy yes, Etch yes
/usr/bin - Edgy no, Etch no

-- 
Recent changes seem to have broken electricsheep
https://launchpad.net/bugs/5823

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to