summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kscreensaver/kxsconfig/ScreenSavers/cubicgrid.desktop25
-rw-r--r--kscreensaver/kxsconfig/ScreenSavers/hypnowheel.desktop25
-rw-r--r--kscreensaver/kxsconfig/ScreenSavers/lcdscrub.desktop23
-rw-r--r--kscreensaver/kxsconfig/ScreenSavers/photopile.desktop25
-rw-r--r--kscreensaver/kxsconfig/ScreenSavers/skytentacles.desktop25
-rwxr-xr-xkscreensaver/kxsconfig/update_hacks.sh18
6 files changed, 141 insertions, 0 deletions
diff --git a/kscreensaver/kxsconfig/ScreenSavers/cubicgrid.desktop b/kscreensaver/kxsconfig/ScreenSavers/cubicgrid.desktop
new file mode 100644
index 00000000..b9817506
--- /dev/null
+++ b/kscreensaver/kxsconfig/ScreenSavers/cubicgrid.desktop
@@ -0,0 +1,25 @@
+[Desktop Entry]
+Encoding=UTF-8
+Exec=cubicgrid
+Icon=kscreensaver
+Type=Application
+Actions=InWindow,Root,Setup
+Name=CubicGrid
+TryExec=xscreensaver
+X-KDE-Category=OpenGL Screen Savers
+X-KDE-Type=OpenGL
+
+[Desktop Action Setup]
+Exec=kxsconfig cubicgrid
+Name=Setup...
+
+[Desktop Action InWindow]
+Exec=kxsrun cubicgrid -- -window-id %w
+Name=Display in Specified Window
+NoDisplay=true
+
+[Desktop Action Root]
+Exec=kxsrun cubicgrid -- -root
+Name=Display in Root Window
+NoDisplay=true
+
diff --git a/kscreensaver/kxsconfig/ScreenSavers/hypnowheel.desktop b/kscreensaver/kxsconfig/ScreenSavers/hypnowheel.desktop
new file mode 100644
index 00000000..f24ab261
--- /dev/null
+++ b/kscreensaver/kxsconfig/ScreenSavers/hypnowheel.desktop
@@ -0,0 +1,25 @@
+[Desktop Entry]
+Encoding=UTF-8
+Exec=hypnowheel
+Icon=kscreensaver
+Type=Application
+Actions=InWindow,Root,Setup
+Name=Hypnowheel
+TryExec=xscreensaver
+X-KDE-Category=OpenGL Screen Savers
+X-KDE-Type=OpenGL
+
+[Desktop Action Setup]
+Exec=kxsconfig hypnowheel
+Name=Setup...
+
+[Desktop Action InWindow]
+Exec=kxsrun hypnowheel -- -window-id %w
+Name=Display in Specified Window
+NoDisplay=true
+
+[Desktop Action Root]
+Exec=kxsrun hypnowheel -- -root
+Name=Display in Root Window
+NoDisplay=true
+
diff --git a/kscreensaver/kxsconfig/ScreenSavers/lcdscrub.desktop b/kscreensaver/kxsconfig/ScreenSavers/lcdscrub.desktop
new file mode 100644
index 00000000..ff7e7a85
--- /dev/null
+++ b/kscreensaver/kxsconfig/ScreenSavers/lcdscrub.desktop
@@ -0,0 +1,23 @@
+[Desktop Entry]
+Encoding=UTF-8
+Exec=lcdscrub
+Icon=kscreensaver
+Type=Application
+Actions=InWindow,Root,Setup
+Name=LCDscrub
+TryExec=xscreensaver
+
+[Desktop Action Setup]
+Exec=kxsconfig lcdscrub
+Name=Setup...
+
+[Desktop Action InWindow]
+Exec=kxsrun lcdscrub -- -window-id %w
+Name=Display in Specified Window
+NoDisplay=true
+
+[Desktop Action Root]
+Exec=kxsrun lcdscrub -- -root
+Name=Display in Root Window
+NoDisplay=true
+
diff --git a/kscreensaver/kxsconfig/ScreenSavers/photopile.desktop b/kscreensaver/kxsconfig/ScreenSavers/photopile.desktop
new file mode 100644
index 00000000..af666c97
--- /dev/null
+++ b/kscreensaver/kxsconfig/ScreenSavers/photopile.desktop
@@ -0,0 +1,25 @@
+[Desktop Entry]
+Encoding=UTF-8
+Exec=photopile
+Icon=kscreensaver
+Type=Application
+Actions=InWindow,Root,Setup
+Name=Photopile
+TryExec=xscreensaver
+X-KDE-Category=OpenGL Screen Savers
+X-KDE-Type=OpenGL
+
+[Desktop Action Setup]
+Exec=kxsconfig photopile
+Name=Setup...
+
+[Desktop Action InWindow]
+Exec=kxsrun photopile -- -window-id %w
+Name=Display in Specified Window
+NoDisplay=true
+
+[Desktop Action Root]
+Exec=kxsrun photopile -- -root
+Name=Display in Root Window
+NoDisplay=true
+
diff --git a/kscreensaver/kxsconfig/ScreenSavers/skytentacles.desktop b/kscreensaver/kxsconfig/ScreenSavers/skytentacles.desktop
new file mode 100644
index 00000000..23e7d5de
--- /dev/null
+++ b/kscreensaver/kxsconfig/ScreenSavers/skytentacles.desktop
@@ -0,0 +1,25 @@
+[Desktop Entry]
+Encoding=UTF-8
+Exec=skytentacles
+Icon=kscreensaver
+Type=Application
+Actions=InWindow,Root,Setup
+Name=SkyTentacles
+TryExec=xscreensaver
+X-KDE-Category=OpenGL Screen Savers
+X-KDE-Type=OpenGL
+
+[Desktop Action Setup]
+Exec=kxsconfig skytentacles
+Name=Setup...
+
+[Desktop Action InWindow]
+Exec=kxsrun skytentacles -- -window-id %w
+Name=Display in Specified Window
+NoDisplay=true
+
+[Desktop Action Root]
+Exec=kxsrun skytentacles -- -root
+Name=Display in Root Window
+NoDisplay=true
+
diff --git a/kscreensaver/kxsconfig/update_hacks.sh b/kscreensaver/kxsconfig/update_hacks.sh
new file mode 100755
index 00000000..5068e5b5
--- /dev/null
+++ b/kscreensaver/kxsconfig/update_hacks.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+scsvs=`cd /usr/lib/xscreensaver/ && ls -1 | grep -v config`
+echo $scsvs
+for name in $scsvs; do
+ if test -f /usr/lib/xscreensaver/$name && test -f /usr/share/xscreensaver/config/$name.xml && test ! -f ScreenSavers/$name.desktop; then
+ echo "name: $name"
+ label=`grep '<screensaver.*_label' /usr/share/xscreensaver/config/$name.xml | sed -e 's#^.*_label=\"\(.*\)\".*$#\1#'`
+ echo "label: $label"
+ f=ScreenSavers/$name.desktop
+ sed -e "s#@NAME@#$name#; s#@LABEL@#$label#" ScreenSavers/xscreensaver.template > $f
+ if ldd /usr/lib/xscreensaver/$name 2>&1 | grep libGL; then
+ sed -e "s,@GL1@,X-KDE-Category=OpenGL Screen Savers,; s,@GL2@,X-KDE-Type=OpenGL," $f > $f.new
+ else
+ grep -v @GL $f > $f.new
+ fi
+ mv $f.new $f
+ fi
+done