From fff4ecc82f2bcfa7427596e7ad9c3769fcab040b Mon Sep 17 00:00:00 2001 From: Perberos Date: Fri, 4 Nov 2011 22:16:15 -0300 Subject: first commit --- data/Makefile.am | 116 +++++ data/images/Makefile.am | 14 + data/images/cosmos/CREDITS | 29 ++ data/images/cosmos/Makefile.am | 54 +++ data/images/cosmos/background-1.xml.in | 92 ++++ data/images/cosmos/blue-marble-west.jpg | Bin 0 -> 456110 bytes data/images/cosmos/cloud.jpg | Bin 0 -> 1379759 bytes data/images/cosmos/comet.jpg | Bin 0 -> 141297 bytes data/images/cosmos/cosmos.xml.in.in | 11 + data/images/cosmos/earth-horizon.jpg | Bin 0 -> 210180 bytes data/images/cosmos/galaxy-ngc3370.jpg | Bin 0 -> 460107 bytes data/images/cosmos/helix-nebula.jpg | Bin 0 -> 138039 bytes data/images/cosmos/jupiter.jpg | Bin 0 -> 44528 bytes data/images/cosmos/sombrero.jpg | Bin 0 -> 552723 bytes data/images/cosmos/whirlpool.jpg | Bin 0 -> 659143 bytes data/images/mate-logo-white.svg | 14 + data/lock-dialog-default.ui | 505 ++++++++++++++++++++++ data/mate-screensaver | 15 + data/mate-screensaver-command.1 | 70 +++ data/mate-screensaver-preferences.1 | 37 ++ data/mate-screensaver-preferences.desktop.in | 13 + data/mate-screensaver-preferences.ui | 620 +++++++++++++++++++++++++++ data/mate-screensaver.1 | 41 ++ data/mate-screensaver.directory.in | 8 + data/mate-screensaver.pc.in | 17 + data/mate-screensaver.schemas.in | 257 +++++++++++ data/mate-screensavers.menu.in | 20 + data/migrate-xscreensaver-config.sh | 34 ++ data/org.mate.ScreenSaver.service.in | 3 + data/xscreensaver-config.xsl | 27 ++ 30 files changed, 1997 insertions(+) create mode 100644 data/Makefile.am create mode 100644 data/images/Makefile.am create mode 100644 data/images/cosmos/CREDITS create mode 100644 data/images/cosmos/Makefile.am create mode 100644 data/images/cosmos/background-1.xml.in create mode 100644 data/images/cosmos/blue-marble-west.jpg create mode 100644 data/images/cosmos/cloud.jpg create mode 100644 data/images/cosmos/comet.jpg create mode 100644 data/images/cosmos/cosmos.xml.in.in create mode 100644 data/images/cosmos/earth-horizon.jpg create mode 100644 data/images/cosmos/galaxy-ngc3370.jpg create mode 100644 data/images/cosmos/helix-nebula.jpg create mode 100644 data/images/cosmos/jupiter.jpg create mode 100644 data/images/cosmos/sombrero.jpg create mode 100644 data/images/cosmos/whirlpool.jpg create mode 100644 data/images/mate-logo-white.svg create mode 100644 data/lock-dialog-default.ui create mode 100644 data/mate-screensaver create mode 100644 data/mate-screensaver-command.1 create mode 100644 data/mate-screensaver-preferences.1 create mode 100644 data/mate-screensaver-preferences.desktop.in create mode 100644 data/mate-screensaver-preferences.ui create mode 100644 data/mate-screensaver.1 create mode 100644 data/mate-screensaver.directory.in create mode 100644 data/mate-screensaver.pc.in create mode 100644 data/mate-screensaver.schemas.in create mode 100644 data/mate-screensavers.menu.in create mode 100755 data/migrate-xscreensaver-config.sh create mode 100644 data/org.mate.ScreenSaver.service.in create mode 100644 data/xscreensaver-config.xsl (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 0000000..1bae8e9 --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1,116 @@ +SUBDIRS = \ + images + +NULL = + +man_MANS = \ + mate-screensaver.1 \ + mate-screensaver-command.1 \ + mate-screensaver-preferences.1 \ + $(NULL) + +@INTLTOOL_SCHEMAS_RULE@ + +schemasdir = @MATECONF_SCHEMA_FILE_DIR@ +schemas_in_files = mate-screensaver.schemas.in +schemas_DATA = $(schemas_in_files:.schemas.in=.schemas) + +@INTLTOOL_DESKTOP_RULE@ + +desktopdir = $(datadir)/applications +desktop_in_files = mate-screensaver-preferences.desktop.in +desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) + +@INTLTOOL_DIRECTORY_RULE@ + +directorydir = $(datadir)/desktop-directories +directory_in_files = \ + mate-screensaver.directory.in \ + $(NULL) +directory_DATA = $(directory_in_files:.directory.in=.directory) + +menudir = $(sysconfdir)/xdg/menus +menu_DATA = \ + mate-screensavers.menu \ + $(NULL) + +gtkbuilderdir = $(pkgdatadir) +gtkbuilder_DATA = \ + mate-screensaver-preferences.ui \ + lock-dialog-default.ui \ + $(NULL) + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = mate-screensaver.pc + +dbussessionservicedir = $(DBUS_SESSION_SERVICE_DIR) +dbussessionservice_DATA = org.mate.ScreenSaver.service + +EXTRA_DIST = \ + $(schemas_in_files) \ + $(desktop_in_files) \ + $(directory_in_files) \ + $(gtkbuilder_DATA) \ + $(man_MANS) \ + mate-screensaver \ + mate-screensaver.pc.in \ + org.mate.ScreenSaver.service.in\ + xscreensaver-config.xsl \ + migrate-xscreensaver-config.sh \ + $(NULL) + +DISTCLEANFILES = \ + $(schemas_DATA) \ + $(desktop_DATA) \ + $(directory_DATA) \ + $(NULL) + +MAINTAINERCLEANFILES = \ + *~ \ + Makefile.in + +if MATECONF_SCHEMAS_INSTALL +# don't do this if we are building in eg. rpm +install-data-local: $(schemas_DATA) + if test -z "$(DESTDIR)" ; then \ + for p in $(schemas_DATA) ; do \ + MATECONF_CONFIG_SOURCE=$(MATECONF_SCHEMA_CONFIG_SOURCE) $(MATECONFTOOL) --makefile-install-rule $(top_builddir)/data/$$p ; \ + done \ + fi +else +install-data-local: +endif + +install-data-hook: + @system=`uname`; \ + if test -f /usr/include/security/pam_appl.h; then \ + if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \ + $(mkinstalldirs) $(DESTDIR)$(PAM_PREFIX)/pam.d; \ + chmod 755 $(DESTDIR)$(PAM_PREFIX)/pam.d; \ + fi; \ + if test $$system = Linux; then \ + if test '!' -f $(DESTDIR)$(PAM_PREFIX)/pam.d/mate-screensaver; then \ + $(INSTALL_DATA) mate-screensaver $(DESTDIR)$(PAM_PREFIX)/pam.d/mate-screensaver; \ + fi; \ + if test "x$(PAM_PREFIX)" != "x/etc/pam.d"; then \ + echo "***" ; \ + echo "*** Warning: mate-screensaver has been compiled with support for" ; \ + echo "*** Pluggable Authentication Modules (PAM). However, you may need to" ; \ + echo "*** manually install $(PAM_PREFIX)/pam.d/mate-screensaver" ; \ + echo "*** to /etc/pam.d/mate-screensaver. Otherwise, unlocking might" ; \ + echo "*** not work." ; \ + echo "***" ; \ + echo "*** Note: If you are using SuSE/Novell you may have to modify this file." ; \ + echo "***" ; \ + fi; \ + fi; \ + if test $$system = SunOS; then \ + echo "***" ; \ + echo "*** Warning: mate-screensaver has been compiled with support for" ; \ + echo "*** Pluggable Authentication Modules (PAM). However, you" ; \ + echo "*** need to manually add authentication for mate-screensaver in" ; \ + echo "*** $(PAM_PREFIX)/pam.conf or /etc/pam.conf." ; \ + echo "*** Otherwise, unlocking might not work." ; \ + echo "***" ; \ + fi; \ + fi diff --git a/data/images/Makefile.am b/data/images/Makefile.am new file mode 100644 index 0000000..e23dc87 --- /dev/null +++ b/data/images/Makefile.am @@ -0,0 +1,14 @@ +NULL = + +SUBDIRS = \ + cosmos \ + $(NULL) + +imagedir = $(datadir)/pixmaps +image_DATA = \ + mate-logo-white.svg \ + $(NULL) + +EXTRA_DIST = \ + $(image_DATA) \ + $(NULL) diff --git a/data/images/cosmos/CREDITS b/data/images/cosmos/CREDITS new file mode 100644 index 0000000..6ecc9ab --- /dev/null +++ b/data/images/cosmos/CREDITS @@ -0,0 +1,29 @@ +All of these images are in the public domain courtesy of NASA. + +blue-marble-west.jpg: +http://visibleearth.nasa.gov/view_rec.php?id=2429 + +cloud.jpg: +www.spacetelescope.org/images/html/heic0601a.html + +comet.jpg: +http://hubblesite.org/newscenter/newsdesk/archive/releases/2004/52/ + +earth-horizon.jpg: +http://spaceflight.nasa.gov/gallery/images/station/crew-7/html/iss007e16249.html + +galaxy-ngc3370.jpg: +http://hubblesite.org/newscenter/newsdesk/archive/releases/2003/24/ + +helix-nebula.jpg: +http://hubblesite.org/newscenter/newsdesk/archive/releases/2003/11/ + +jupiter.jpg: +http://hubblesite.org/newscenter/newsdesk/archive/releases/1999/29/ + +sombrereo.jpg: +http://hubblesite.org/newscenter/newsdesk/archive/releases/2003/28/ + +whirlpool.jpg: +http://hubblesite.org/newscenter/newsdesk/archive/releases/2005/12/image/a + diff --git a/data/images/cosmos/Makefile.am b/data/images/cosmos/Makefile.am new file mode 100644 index 0000000..6cc80d8 --- /dev/null +++ b/data/images/cosmos/Makefile.am @@ -0,0 +1,54 @@ +NULL = + +BACKGROUNDS = \ + blue-marble-west.jpg \ + cloud.jpg \ + comet.jpg \ + earth-horizon.jpg \ + galaxy-ngc3370.jpg \ + helix-nebula.jpg \ + jupiter.jpg \ + sombrero.jpg \ + whirlpool.jpg \ + $(NULL) + +imagesdir = $(SLIDESHOW_COSMOS_DIR) +images_DATA = \ + $(BACKGROUNDS) \ + background-1.xml \ + $(NULL) + +cosmos.xml.in: cosmos.xml.in.in Makefile + $(edit) $< >$@ + +background-1.xml: background-1.xml.in Makefile + $(edit) $< >$@ + +metadata_in_files = cosmos.xml.in +metadatadir = $(datadir)/mate-background-properties +metadata_DATA = $(metadata_in_files:.xml.in=.xml) +@INTLTOOL_XML_RULE@ + +edit = sed \ + -e 's|@IMAGESDIR[@]|$(imagesdir)|g' + +EXTRA_DIST = \ + CREDITS \ + $(BACKGROUNDS) \ + background-1.xml.in \ + cosmos.xml.in.in \ + $(NULL) + +CLEANFILES = \ + cosmos.xml.in \ + $(NULL) + +DISTCLEANFILES = \ + cosmos.xml \ + background-1.xml \ + $(NULL) + +MAINTAINERCLEANFILES = \ + *~ \ + Makefile.in \ + $(NULL) diff --git a/data/images/cosmos/background-1.xml.in b/data/images/cosmos/background-1.xml.in new file mode 100644 index 0000000..698b4b5 --- /dev/null +++ b/data/images/cosmos/background-1.xml.in @@ -0,0 +1,92 @@ + + + 2009 + 08 + 04 + 00 + 00 + 00 + + + + 1795.0 + @IMAGESDIR@/cloud.jpg + + + 5.0 + @IMAGESDIR@/cloud.jpg + @IMAGESDIR@/comet.jpg + + + 1795.0 + @IMAGESDIR@/comet.jpg + + + 5.0 + @IMAGESDIR@/comet.jpg + @IMAGESDIR@/earth-horizon.jpg + + + 1795.0 + @IMAGESDIR@/earth-horizon.jpg + + + 5.0 + @IMAGESDIR@/earth-horizon.jpg + @IMAGESDIR@/blue-marble-west.jpg + + + 1795.0 + @IMAGESDIR@/blue-marble-west.jpg + + + 5.0 + @IMAGESDIR@/blue-marble-west.jpg + @IMAGESDIR@/galaxy-ngc3370.jpg + + + 1795.0 + @IMAGESDIR@/galaxy-ngc3370.jpg + + + 5.0 + @IMAGESDIR@/galaxy-ngc3370.jpg + @IMAGESDIR@/helix-nebula.jpg + + + 1795.0 + @IMAGESDIR@/helix-nebula.jpg + + + 5.0 + @IMAGESDIR@/helix-nebula.jpg + @IMAGESDIR@/jupiter.jpg + + + 1795.0 + @IMAGESDIR@/jupiter.jpg + + + 5.0 + @IMAGESDIR@/jupiter.jpg + @IMAGESDIR@/sombrero.jpg + + + 1795.0 + @IMAGESDIR@/sombrero.jpg + + + 5.0 + @IMAGESDIR@/sombrero.jpg + @IMAGESDIR@/whirlpool.jpg + + + 1795.0 + @IMAGESDIR@/whirlpool.jpg + + + 5.0 + @IMAGESDIR@/whirlpool.jpg + @IMAGESDIR@/cloud.jpg + + diff --git a/data/images/cosmos/blue-marble-west.jpg b/data/images/cosmos/blue-marble-west.jpg new file mode 100644 index 0000000..7cd8be1 Binary files /dev/null and b/data/images/cosmos/blue-marble-west.jpg differ diff --git a/data/images/cosmos/cloud.jpg b/data/images/cosmos/cloud.jpg new file mode 100644 index 0000000..066e983 Binary files /dev/null and b/data/images/cosmos/cloud.jpg differ diff --git a/data/images/cosmos/comet.jpg b/data/images/cosmos/comet.jpg new file mode 100644 index 0000000..5de37cf Binary files /dev/null and b/data/images/cosmos/comet.jpg differ diff --git a/data/images/cosmos/cosmos.xml.in.in b/data/images/cosmos/cosmos.xml.in.in new file mode 100644 index 0000000..b9cf666 --- /dev/null +++ b/data/images/cosmos/cosmos.xml.in.in @@ -0,0 +1,11 @@ + + + + + + <_name>Cosmos + @IMAGESDIR@/background-1.xml + zoom + + diff --git a/data/images/cosmos/earth-horizon.jpg b/data/images/cosmos/earth-horizon.jpg new file mode 100644 index 0000000..1abefd2 Binary files /dev/null and b/data/images/cosmos/earth-horizon.jpg differ diff --git a/data/images/cosmos/galaxy-ngc3370.jpg b/data/images/cosmos/galaxy-ngc3370.jpg new file mode 100644 index 0000000..46113b2 Binary files /dev/null and b/data/images/cosmos/galaxy-ngc3370.jpg differ diff --git a/data/images/cosmos/helix-nebula.jpg b/data/images/cosmos/helix-nebula.jpg new file mode 100644 index 0000000..19f02b2 Binary files /dev/null and b/data/images/cosmos/helix-nebula.jpg differ diff --git a/data/images/cosmos/jupiter.jpg b/data/images/cosmos/jupiter.jpg new file mode 100644 index 0000000..396af35 Binary files /dev/null and b/data/images/cosmos/jupiter.jpg differ diff --git a/data/images/cosmos/sombrero.jpg b/data/images/cosmos/sombrero.jpg new file mode 100644 index 0000000..6d7d2ff Binary files /dev/null and b/data/images/cosmos/sombrero.jpg differ diff --git a/data/images/cosmos/whirlpool.jpg b/data/images/cosmos/whirlpool.jpg new file mode 100644 index 0000000..4fe2ff8 Binary files /dev/null and b/data/images/cosmos/whirlpool.jpg differ diff --git a/data/images/mate-logo-white.svg b/data/images/mate-logo-white.svg new file mode 100644 index 0000000..b8ee84d --- /dev/null +++ b/data/images/mate-logo-white.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + diff --git a/data/lock-dialog-default.ui b/data/lock-dialog-default.ui new file mode 100644 index 0000000..5dfa8a2 --- /dev/null +++ b/data/lock-dialog-default.ui @@ -0,0 +1,505 @@ + + + + + True + 0 + 0.5 + GTK_SHADOW_OUT + + + 12 + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 0 + 0 + + + 18 + True + False + 0 + + + True + False + False + GTK_POS_TOP + False + False + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 0 + 0 + + + True + False + 12 + + + True + 0.5 + 1 + 0 + 0 + + + 0 + True + True + + + + + True + False + 0 + + + True + <span size="x-large">%R</span> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + True + <span size="small">%U on %h</span> + False + True + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + 0 + True + True + + + + + True + + False + False + GTK_JUSTIFY_LEFT + True + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + True + True + + + + + True + False + 0 + + + True + False + 6 + + + + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + True + True + False + 0 + + True + True + + + 0 + True + True + + + + + True + False + 0 + + + + + + 0 + False + True + + + + + 0 + True + True + + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + 0 + True + True + + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + True + GTK_BUTTONBOX_END + 6 + + + True + True + True + _Leave Message + True + GTK_RELIEF_NORMAL + False + + + + + True + True + True + _Switch User + True + GTK_RELIEF_NORMAL + False + + + + + True + True + True + _Log Out + True + GTK_RELIEF_NORMAL + False + + + + + True + True + True + _Cancel + True + GTK_RELIEF_NORMAL + False + + + + + True + True + True + _Unlock + True + GTK_RELIEF_NORMAL + True + + + + + 0 + True + True + + + + + + + False + True + + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + + + True + False + 10 + + + True + <b>Leave a message for %R:</b> + False + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + True + True + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + True + True + True + False + True + GTK_JUSTIFY_LEFT + GTK_WRAP_WORD + True + 0 + 0 + 0 + 0 + 0 + 0 + + + + + 0 + True + True + + + + + True + GTK_BUTTONBOX_END + 6 + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + + + + + True + True + True + gtk-save + True + GTK_RELIEF_NORMAL + True + + + + + 0 + False + False + + + + + False + True + + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + + + 0 + True + True + + + + + + + + + + + diff --git a/data/mate-screensaver b/data/mate-screensaver new file mode 100644 index 0000000..4bd6427 --- /dev/null +++ b/data/mate-screensaver @@ -0,0 +1,15 @@ +#%PAM-1.0 + +# Fedora Core +auth include system-auth +auth optional pam_mate_keyring.so +account include system-auth +password include system-auth +session include system-auth + +# SuSE/Novell +#auth include common-auth +#auth optional pam_mate_keyring.so +#account include common-account +#password include common-password +#session include common-session diff --git a/data/mate-screensaver-command.1 b/data/mate-screensaver-command.1 new file mode 100644 index 0000000..34fb95a --- /dev/null +++ b/data/mate-screensaver-command.1 @@ -0,0 +1,70 @@ +.\" Copyright (C) 2007 Sven Arvidsson +.\" +.\" This is free software; you may redistribute it and/or modify +.\" it under the terms of the GNU General Public License as +.\" published by the Free Software Foundation; either version 2, +.\" or (at your option) any later version. +.\" +.\" This is distributed in the hope that it will be useful, but +.\" WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\"You should have received a copy of the GNU General Public License along +.\"with this program; if not, write to the Free Software Foundation, Inc., +.\"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +.TH mate-screensaver-command 1 "2007\-09\-27" "MATE" +.SH NAME +mate-screensaver-command \- controls MATE screensaver +.SH SYNOPSIS +.B mate-screensaver-command +.RI [ OPTION... ] +.SH DESCRIPTION +mate-screensaver-command is a tool for controlling an already +running instance of mate-screensaver. +.SH OPTIONS +.TP +.B \-\-exit +Causes the screensaver to exit gracefully +.TP +.B \-q, \-\-query +Query the state of the screensaver +.TP +.B \-t, \-\-time +Query the length of time the screensaver has been active +.TP +.B \-l, \-\-lock +Tells the running screensaver process to lock the screen immediately +.TP +.B \-c, \-\-cycle +If the screensaver is active then switch to another graphics demo +.TP +.B \-a, \-\-activate +Turn the screensaver on (blank the screen) +.TP +.B \-d, \-\-deactivate +If the screensaver is active then deactivate it (un-blank the screen) +.TP +.B \-p, \-\-poke +Poke the running screensaver to simulate user activity +.TP +.B \-i, \-\-inhibit +Inhibit the screensaver from activating. Command blocks while inhibit +is active. +.TP +.B \-n, \-\-application-name +The calling application that is inhibiting the screensaver +.TP +.B \-r, \-\-reason +The reason for inhibiting the screensaver +.TP +.B \-V, \-\-version +Version of this application +.SH AUTHORS +.B mate-screensaver-command +is written by William Jon McCann . +.P +This manual page was written by Sven Arvidsson . +.SH SEE ALSO +.BR "mate-screensaver" (1) + diff --git a/data/mate-screensaver-preferences.1 b/data/mate-screensaver-preferences.1 new file mode 100644 index 0000000..b00176c --- /dev/null +++ b/data/mate-screensaver-preferences.1 @@ -0,0 +1,37 @@ +.\" Copyright (C) 2007 Sven Arvidsson +.\" +.\" This is free software; you may redistribute it and/or modify +.\" it under the terms of the GNU General Public License as +.\" published by the Free Software Foundation; either version 2, +.\" or (at your option) any later version. +.\" +.\" This is distributed in the hope that it will be useful, but +.\" WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\"You should have received a copy of the GNU General Public License along +.\"with this program; if not, write to the Free Software Foundation, Inc., +.\"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +.TH mate-screensaver-preferences 1 "2007\-09\-27" "MATE" +.SH NAME +mate-screensaver-preferences \- configure MATE Screensaver +.SH SYNOPSIS +.B mate-screensaver-preferences +.RI [ OPTIONS... ] +.SH DESCRIPTION +Manages preferences for the MATE screen saver. +.SH OPTIONS +This program only accepts the standard GTK options. +.SH AUTHORS +.B mate-screensaver-preferences +is written by William Jon McCann . +.P +This manual page was written by Sven Arvidsson . +.SH SEE ALSO +.BR "mate-screensaver" (1), +.BR "gtk-options" (7) +.P +The online documentation available through the program's +.I Help +menu. diff --git a/data/mate-screensaver-preferences.desktop.in b/data/mate-screensaver-preferences.desktop.in new file mode 100644 index 0000000..9800ad8 --- /dev/null +++ b/data/mate-screensaver-preferences.desktop.in @@ -0,0 +1,13 @@ +[Desktop Entry] +_Name=Screensaver +_Comment=Set your screensaver preferences +Icon=preferences-desktop-screensaver +Exec=mate-screensaver-preferences +Terminal=false +Type=Application +Categories=GTK;MATE;Settings;DesktopSettings; +OnlyShowIn=MATE; +StartupNotify=true +X-MATE-Bugzilla-Bugzilla=MATE +X-MATE-Bugzilla-Product=mate-screensaver +X-MATE-Bugzilla-Component=general diff --git a/data/mate-screensaver-preferences.ui b/data/mate-screensaver-preferences.ui new file mode 100644 index 0000000..cfa6ccd --- /dev/null +++ b/data/mate-screensaver-preferences.ui @@ -0,0 +1,620 @@ + + + + + gtk-fullscreen + 4 + + + gtk-jump-to + 4 + + + 120 + 1 + 10 + 1 + 0 + 10 + + + 5 + True + Screensaver Preferences + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + 600 + 400 + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_DIALOG + GDK_GRAVITY_NORTH_WEST + True + False + False + + + vertical + True + False + 2 + + + True + GTK_BUTTONBOX_END + + + True + True + True + gtk-help + True + GTK_RELIEF_NORMAL + True + + + + + True + True + True + GTK_RELIEF_NORMAL + True + power_image + Power _Management + True + + + + + True + True + True + gtk-close + True + GTK_RELIEF_NORMAL + True + + + + + 0 + False + True + GTK_PACK_END + + + + + vertical + 5 + True + False + 12 + + + True + False + 12 + + + vertical + True + False + 6 + + + True + _Screensaver theme: + True + True + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + True + False + 0 + + + True + 2 + 2 + False + 6 + 6 + + + True + True + GTK_POLICY_NEVER + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + True + True + False + False + False + True + False + False + False + + + + + + + + 0 + 1 + 0 + 1 + fill + + + + + + + 1 + 2 + 0 + 2 + + + + + True + GTK_BUTTONBOX_START + 0 + + + True + True + True + GTK_RELIEF_NORMAL + True + preview_image + _Preview + True + + + + + 0 + 1 + 1 + 2 + fill + fill + + + + + 0 + True + True + + + + + 0 + True + True + + + + + 0 + True + True + + + + + 0 + True + True + + + + + True + False + 0 + + + vertical + True + False + 0 + + + True + False + 0 + + + vertical + True + False + 0 + + + vertical + True + False + 6 + + + True + False + 12 + + + True + Regard the computer as _idle after: + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + True + False + 6 + + + True + True + True + GTK_POS_TOP + 0 + GTK_UPDATE_CONTINUOUS + False + adjustment1 + + + 0 + True + True + + + + + 0 + True + True + + + + + 0 + False + True + + + + + True + True + _Activate screensaver when computer is idle + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + True + True + _Lock screen when screensaver is active + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + False + False + + + + + <b>Warning: the screen will not be locked for the root user.</b> + False + True + GTK_JUSTIFY_LEFT + True + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + 0 + True + True + + + + + 0 + True + True + + + + + 0 + True + True + + + + + 0 + True + True + + + + + 0 + False + True + + + + + 0 + True + True + + + + + + helpbutton1 + gpm_button + button1 + + + + True + True + Screensaver Preview + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_CENTER + True + True + True + False + True + True + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + vertical + True + False + 0 + + + True + False + 0 + + + True + gtk-dialog-warning + 4 + 0.5 + 0.5 + 10 + 0 + + + 0 + False + False + + + + + True + <b>Screensaver preview</b> + False + True + GTK_JUSTIFY_FILL + True + False + 0 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + True + + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + True + True + + + + + True + True + GTK_RELIEF_NORMAL + True + + + True + gtk-go-back + 4 + 0.5 + 0.5 + 0 + 0 + + + + + 0 + False + False + + + + + True + True + GTK_RELIEF_NORMAL + True + + + True + gtk-go-forward + 4 + 0.5 + 0.5 + 0 + 0 + + + + + 0 + False + False + + + + + True + True + gtk-leave-fullscreen + True + GTK_RELIEF_NORMAL + True + + + 0 + False + False + + + + + 0 + False + False + + + + + True + + + 0 + True + True + + + + + + diff --git a/data/mate-screensaver.1 b/data/mate-screensaver.1 new file mode 100644 index 0000000..a9539a0 --- /dev/null +++ b/data/mate-screensaver.1 @@ -0,0 +1,41 @@ +.\" Copyright (C) 2007 Sven Arvidsson +.\" +.\" This is free software; you may redistribute it and/or modify +.\" it under the terms of the GNU General Public License as +.\" published by the Free Software Foundation; either version 2, +.\" or (at your option) any later version. +.\" +.\" This is distributed in the hope that it will be useful, but +.\" WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\"You should have received a copy of the GNU General Public License along +.\"with this program; if not, write to the Free Software Foundation, Inc., +.\"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +.TH mate-screensaver 1 "2007\-09\-27" "MATE" +.SH NAME +mate-screensaver \- screen saver and locker +.SH SYNOPSIS +.B mate-screensaver +.RI [ OPTIONS... ] +.SH DESCRIPTION +MATE Screensaver is the default screen saver and locker in a MATE +desktop. It is designed with simplicity and security in mind. +.SH OPTIONS +.TP +.B \-\-no\-daemon +Don't become a daemon +.TP +.B \-\-debug +Enable debugging code +.P +This program also accepts the standard GTK options. +.SH AUTHORS +.B mate-screensaver +is written by William Jon McCann . +.P +This manual page was written by Sven Arvidsson . +.SH SEE ALSO +.BR "gtk-options" (7) + diff --git a/data/mate-screensaver.directory.in b/data/mate-screensaver.directory.in new file mode 100644 index 0000000..3733bbd --- /dev/null +++ b/data/mate-screensaver.directory.in @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +_Name=Screensavers +_Comment=Screensaver themes +Icon=screensaver +Type=Directory +OnlyShowIn=MATE; +NoDisplay=false diff --git a/data/mate-screensaver.pc.in b/data/mate-screensaver.pc.in new file mode 100644 index 0000000..4294e22 --- /dev/null +++ b/data/mate-screensaver.pc.in @@ -0,0 +1,17 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +libexecdir=@libexecdir@ +includedir=@includedir@ +datadir=@datadir@ + +privlibexecdir=@privlibexecdir@ +privdatadir=@privdatadir@ +themesdir=@themesdir@ + +Name: mate-screensaver +Description: mate screensaver +Version: @VERSION@ +Requires: +Libs: +Cflags: diff --git a/data/mate-screensaver.schemas.in b/data/mate-screensaver.schemas.in new file mode 100644 index 0000000..5767b17 --- /dev/null +++ b/data/mate-screensaver.schemas.in @@ -0,0 +1,257 @@ + + + + + /schemas/apps/mate-screensaver/idle_activation_enabled + /apps/mate-screensaver/idle_activation_enabled + mate-screensaver + bool + TRUE + + Activate when idle + + Set this to TRUE to activate the screensaver + when the session is idle. + + + + + + /schemas/apps/mate-screensaver/lock_enabled + /apps/mate-screensaver/lock_enabled + mate-screensaver + bool + TRUE + + Lock on activation + + Set this to TRUE to lock the screen when the screensaver + goes active. + + + + + + /schemas/apps/mate-screensaver/mode + /apps/mate-screensaver/mode + mate-screensaver + string + blank-only + + Screensaver theme selection mode + + The selection mode used by screensaver. May be "blank-only" + to enable the screensaver without using any theme on activation, + "single" to enable screensaver using only one theme on activation + (specified in "themes" key), and "random" to enable the + screensaver using a random theme on activation. + + + + + + /schemas/apps/mate-screensaver/themes + /apps/mate-screensaver/themes + mate-screensaver + list + string + [] + + Screensaver themes + + This key specifies the list of themes to be used by the + screensaver. It's ignored when "mode" key is + "blank-only", should provide the theme name when "mode" is + "single", and should provide a list of themes when "mode" is + "random". + + + + + + /schemas/apps/mate-screensaver/idle_delay + /apps/mate-screensaver/idle_delay + mate-screensaver + int + 10 + + Time before session is considered idle + + The number of minutes of inactivity before the + session is considered idle. + + + + + + /schemas/apps/mate-screensaver/power_management_delay + /apps/mate-screensaver/power_management_delay + mate-screensaver + int + 30 + + Time before power-management baseline + + The number of seconds of inactivity before signalling + to power-management. This key is set and maintained + by the session power-management agent. + + + + + + /schemas/apps/mate-screensaver/cycle_delay + /apps/mate-screensaver/cycle_delay + mate-screensaver + int + 10 + + Time before theme change + + The number of minutes to run before changing the + screensaver theme. + + + + + + /schemas/apps/mate-screensaver/lock_delay + /apps/mate-screensaver/lock_delay + mate-screensaver + int + 0 + + Time before locking + + The number of minutes after screensaver activation + before locking the screen. + + + + + + /schemas/apps/mate-screensaver/embedded_keyboard_enabled + /apps/mate-screensaver/embedded_keyboard_enabled + mate-screensaver + bool + FALSE + + Allow embedding a keyboard into the window + + Set this to TRUE to allow embedding a keyboard into the + window when trying to unlock. The "keyboard_command" key + must be set with the appropriate command. + + + + + + /schemas/apps/mate-screensaver/embedded_keyboard_command + /apps/mate-screensaver/embedded_keyboard_command + mate-screensaver + string + + + Embedded keyboard command + + The command that will be run, if the "embedded_keyboard_enabled" key + is set to TRUE, to embed a keyboard widget into the window. + This command should implement an XEMBED plug interface and + output a window XID on the standard output. + + + + + + /schemas/apps/mate-screensaver/logout_enabled + /apps/mate-screensaver/logout_enabled + mate-screensaver + bool + FALSE + + Allow logout + + Set this to TRUE to offer an option in unlock dialog to + logging out after a delay. The Delay is specified in the + "logout_delay" key. + + + + + + /schemas/apps/mate-screensaver/logout_delay + /apps/mate-screensaver/logout_delay + mate-screensaver + int + 120 + + Time before logout option + + The number of minutes after the screensaver activation + before a logout option will appear in unlock dialog. This + key has effect only if the "logout_enable" key is set to TRUE. + + + + + + /schemas/apps/mate-screensaver/logout_command + /apps/mate-screensaver/logout_command + mate-screensaver + string + + + Logout command + + The command to invoke when the logout button is clicked. This + command should simply log the user out without any interaction. + This key has effect only if the "logout_enable" key is set to TRUE. + + + + + + /schemas/apps/mate-screensaver/user_switch_enabled + /apps/mate-screensaver/user_switch_enabled + mate-screensaver + bool + TRUE + + Allow user switching + + Set this to TRUE to offer an option in the unlock dialog to + switch to a different user account. + + + + + + /schemas/apps/mate-screensaver/lock_dialog_theme + /apps/mate-screensaver/lock_dialog_theme + mate-screensaver + string + default + + Theme for lock dialog + + Theme to use for the lock dialog. + + + + + + /schemas/apps/mate-screensaver/status_message_enabled + /apps/mate-screensaver/status_message_enabled + mate-screensaver + bool + TRUE + + Allow the session status message to be displayed + + Allow the session status message to be displayed when the screen is locked. + + + + + + diff --git a/data/mate-screensavers.menu.in b/data/mate-screensavers.menu.in new file mode 100644 index 0000000..881a28a --- /dev/null +++ b/data/mate-screensavers.menu.in @@ -0,0 +1,20 @@ + + + + + Screensavers + mate-screensaver.directory + + + + + + + + + + Screensaver + + + diff --git a/data/migrate-xscreensaver-config.sh b/data/migrate-xscreensaver-config.sh new file mode 100755 index 0000000..860a0d5 --- /dev/null +++ b/data/migrate-xscreensaver-config.sh @@ -0,0 +1,34 @@ +#!/bin/sh + +DIST_BIN=`dirname "$0"` + +CMD=xsltproc +XSL=${DIST_BIN}/xscreensaver-config.xsl + +if test "x$1" = "x" -o "x$1" = "x-h" -o "x$1" = "x--help"; then + echo "usage: $0 [file] ..." + exit 1 +fi + +if [ ! -r ${XSL} ]; then + echo "Cannot find XSLT file" + exit 1 +fi + +FILES="$@" +for FILE in $FILES; do + echo "${FILE}" | grep ".xml$" > /dev/null + if [ $? -ne 0 ]; then + echo "Skipping non-xml file: ${FILE}" + continue + fi + + d=`dirname ${FILE}` + b=`basename ${FILE} .xml` + + outfile="${b}.desktop" + echo "Creating: ${outfile}" + ${CMD} -o ${outfile} ${XSL} ${FILE} +done + + exit 0 diff --git a/data/org.mate.ScreenSaver.service.in b/data/org.mate.ScreenSaver.service.in new file mode 100644 index 0000000..412ddfa --- /dev/null +++ b/data/org.mate.ScreenSaver.service.in @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=org.mate.ScreenSaver +Exec=@EXPANDED_BINDIR@/mate-screensaver --no-daemon diff --git a/data/xscreensaver-config.xsl b/data/xscreensaver-config.xsl new file mode 100644 index 0000000..089193b --- /dev/null +++ b/data/xscreensaver-config.xsl @@ -0,0 +1,27 @@ + + + + + + +[Desktop Entry] +Encoding=UTF-8 +Name= +Comment= + +TryExec= +Exec= + + +TryExec= +Exec= + +StartupNotify=false +Terminal=false +Type=Application +Categories=Screensaver; +OnlyShowIn=MATE; + + + -- cgit v1.2.1