[X2Go-Commits] [x2gothinclient] 04/06: Tweak MATE minidesktop via GScheme overrides.
git-admin at x2go.org
git-admin at x2go.org
Tue Aug 5 16:50:55 CEST 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gothinclient.
commit e510a7f11613b8768b0edc229aa65cb7fdda50ec
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Tue Aug 5 16:49:23 2014 +0200
Tweak MATE minidesktop via GScheme overrides.
---
debian/changelog | 1 +
debian/x2gothinclient-minidesktop-mate.install | 5 +-
debian/x2gothinclient-minidesktop-mate.postinst | 40 +++++
.../background/x2gotce-minidesktop-background.svg | 158 ++++++++++++++++++++
.../x2gothinclient-minidesktop-mate.layout | 68 +++++++++
...2gothinclient-minidesktop-mate.gschema.override | 16 ++
6 files changed, 287 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 77dc243..295ee4a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ x2gothinclient (1.1.0.3-0x2go1) UNRELEASED; urgency=low
- Avoid error message in x2gothinclient_shell if the chroot does not have
a file-or-symlink /etc/resolv.conf.
- Use resolv.conf file from host system when running x2gothinclient_upgrade.
+ - Tweak MATE minidesktop via GScheme overrides.
-- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Thu, 27 Feb 2014 12:03:00 +0100
diff --git a/debian/x2gothinclient-minidesktop-mate.install b/debian/x2gothinclient-minidesktop-mate.install
index c4e8bb3..9eba321 100644
--- a/debian/x2gothinclient-minidesktop-mate.install
+++ b/debian/x2gothinclient-minidesktop-mate.install
@@ -1 +1,4 @@
-x2gothinclient-minidesktop/preseed_nodm usr/share/x2gothinclient/minidesktop/
+x2gothinclient-minidesktop/seeds/preseed_nodm usr/share/x2gothinclient/minidesktop/
+x2gothinclient-minidesktop/schema-overrides/* usr/share/glib-2.0/schemas/
+x2gothinclient-minidesktop/mate-panel-layouts/* usr/share/mate-panel/layouts/
+x2gothinclient-minidesktop/background/*.svg usr/share/images/
\ No newline at end of file
diff --git a/debian/x2gothinclient-minidesktop-mate.postinst b/debian/x2gothinclient-minidesktop-mate.postinst
new file mode 100755
index 0000000..cbd1ac9
--- /dev/null
+++ b/debian/x2gothinclient-minidesktop-mate.postinst
@@ -0,0 +1,40 @@
+#!/bin/sh
+# postinst script for x2gothinclient-minidesktop-mate
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+THIS_PACKAGE=x2gothinclient-minidesktop-mate
+
+case "$1" in
+ configure)
+ glib-compile-schemas /usr/share/glib-2.0/schemas/
+ ;;
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/x2gothinclient-minidesktop/background/x2gotce-minidesktop-background.svg b/x2gothinclient-minidesktop/background/x2gotce-minidesktop-background.svg
new file mode 100644
index 0000000..e3c6580
--- /dev/null
+++ b/x2gothinclient-minidesktop/background/x2gotce-minidesktop-background.svg
@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ version="1.0"
+ width="361.04999"
+ height="271.92001"
+ viewBox="0 0 361.244 270.933"
+ id="svg2"
+ xml:space="preserve"
+ inkscape:version="0.47 r22583"
+ sodipodi:docname="bg-anim.svg"><metadata
+ id="metadata30"><rdf:RDF><cc:Work
+ rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1598"
+ inkscape:window-height="879"
+ id="namedview28"
+ showgrid="false"
+ inkscape:zoom="2"
+ inkscape:cx="132.20018"
+ inkscape:cy="132.38275"
+ inkscape:window-x="0"
+ inkscape:window-y="19"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg2" />
+ <defs
+ id="defs4"><inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 135.96001 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="361.04999 : 135.96001 : 1"
+ inkscape:persp3d-origin="180.52499 : 90.640004 : 1"
+ id="perspective32" /><linearGradient
+ id="linearGradient2802"><stop
+ style="stop-color:#ffffff;stop-opacity:1"
+ offset="0"
+ id="stop2804" /><stop
+ style="stop-color:#ffffff;stop-opacity:0"
+ offset="1"
+ id="stop2806" /></linearGradient><linearGradient
+ id="linearGradient2852"><stop
+ style="stop-color:#ffffff;stop-opacity:1"
+ offset="0"
+ id="stop2854" /><stop
+ style="stop-color:#6699ff;stop-opacity:0"
+ offset="1"
+ id="stop2856" /></linearGradient><linearGradient
+ id="linearGradient2844"><stop
+ style="stop-color:#deeaed;stop-opacity:1"
+ offset="0"
+ id="stop2846" /><stop
+ style="stop-color:#ffffff;stop-opacity:1"
+ offset="1"
+ id="stop2848" /></linearGradient><linearGradient
+ id="linearGradient1948"><stop
+ style="stop-color:#b2856b;stop-opacity:0.4235808;"
+ offset="0"
+ id="stop1950" /><stop
+ style="stop-color:#6699ff;stop-opacity:0"
+ offset="1"
+ id="stop1952" /></linearGradient>
+ <style
+ type="text/css"
+ id="style6" />
+ <linearGradient
+ x1="202.494"
+ y1="135.464"
+ x2="207.00999"
+ y2="135.464"
+ id="id0"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ style="stop-color:#000000;stop-opacity:1"
+ offset="0"
+ id="stop9" />
+ <stop
+ style="stop-color:#6e707f;stop-opacity:1"
+ offset="1"
+ id="stop11" />
+ </linearGradient>
+
+
+
+
+
+
+
+
+
+ <linearGradient
+ x1="202.494"
+ y1="135.464"
+ x2="207.00999"
+ y2="135.464"
+ id="linearGradient1942"
+ xlink:href="#id0"
+ gradientUnits="userSpaceOnUse" /><linearGradient
+ x1="107.24445"
+ y1="268.11078"
+ x2="107.64762"
+ y2="207.717"
+ id="linearGradient1954"
+ xlink:href="#linearGradient1948"
+ gradientUnits="userSpaceOnUse" /><linearGradient
+ x1="278.59366"
+ y1="-49.590809"
+ x2="133.85397"
+ y2="120.54888"
+ id="linearGradient2808"
+ xlink:href="#linearGradient2802"
+ gradientUnits="userSpaceOnUse" /></defs>
+
+
+ <rect
+ style="fill:#800000;fill-opacity:1"
+ id="hintergrund"
+ height="270.92899"
+ width="361.23801"
+ y="0.00456294"
+ x="-361.23801"
+ class="fil0"
+ transform="scale(-1,1)">
+ <animateColor
+ attributeName="fill"
+ attributeType="XML"
+ from="#000000"
+ to="#246ed8"
+ begin="0s"
+ dur="4s"
+ fill="freeze"
+ id="animateColor24" />
+ </rect>
+
+
+ <path
+ d="M 162.557,0.0045 L 0,0.0045 L 0,57.8027 C 0,146.6071 334.145,182.1287 334.145,270.9327 L 334.145,270.9327 C 334.145,182.1283 162.557,88.8087 162.557,0.0037 L 162.557,0.0045 z "
+ style="fill:url(#linearGradient2808);fill-opacity:1"
+ id="path19" />
+
+
+</svg>
\ No newline at end of file
diff --git a/x2gothinclient-minidesktop/mate-panel-layout/x2gothinclient-minidesktop-mate.layout b/x2gothinclient-minidesktop/mate-panel-layout/x2gothinclient-minidesktop-mate.layout
new file mode 100644
index 0000000..802b3a5
--- /dev/null
+++ b/x2gothinclient-minidesktop/mate-panel-layout/x2gothinclient-minidesktop-mate.layout
@@ -0,0 +1,68 @@
+[Toplevel bottom]
+expand=true
+orientation=bottom
+size=24
+
+[Object menu]
+object-type=menu
+toplevel-id=bottom
+position=0
+locked=true
+
+[Object shutdown]
+object-type=action
+action-type=shutdown
+toplevel-id=bottom
+position=10
+locked=true
+
+[Object logout]
+object-type=action
+action-type=logout
+toplevel-id=bottom
+position=20
+locked=true
+
+[Object workspace-switcher]
+object-type=applet
+applet-iid=WnckletFactory::WorkspaceSwitcherApplet
+toplevel-id=bottom
+position=30
+locked=true
+
+[Object show-desktop]
+object-type=applet
+applet-iid=WnckletFactory::ShowDesktopApplet
+toplevel-id=bottom
+position=40
+locked=true
+
+[Object web-browser]
+object-type=launcher
+launcher-location=/usr/share/applications/x-www-browser.desktop
+toplevel-id=bottom
+position=50
+locked=true
+
+[Object file-manager]
+object-type=launcher
+launcher-location=/usr/share/applications/caja.desktop
+toplevel-id=bottom
+position=60
+locked=true
+
+[Object notification-area]
+object-type=applet
+applet-iid=NotificationAreaAppletFactory::NotificationArea
+toplevel-id=bottom
+position=10
+panel-right-stick=true
+locked=true
+
+[Object clock]
+object-type=applet
+applet-iid=ClockAppletFactory::ClockApplet
+toplevel-id=bottom
+position=0
+panel-right-stick=true
+locked=true
diff --git a/x2gothinclient-minidesktop/schema-overrides/20_x2gothinclient-minidesktop-mate.gschema.override b/x2gothinclient-minidesktop/schema-overrides/20_x2gothinclient-minidesktop-mate.gschema.override
new file mode 100644
index 0000000..e46552b
--- /dev/null
+++ b/x2gothinclient-minidesktop/schema-overrides/20_x2gothinclient-minidesktop-mate.gschema.override
@@ -0,0 +1,16 @@
+[org.mate.background]
+picture-filename='/usr/share/images/x2gotce-minidesktop-background.svg'
+
+[org.mate.panel]
+default-layout="x2gothinclient-minidesktop-mate"
+
+[org.mate.interface]
+icon-theme='Nuvola'
+gtk-theme='Clearlooks'
+
+[org.mate.Marco.general]
+theme='Nuvola'
+
+[org.mate.caja.preferences]
+always-use-browser=true
+click-policy='single'
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gothinclient.git
More information about the x2go-commits
mailing list