Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu Server Development (http://www.linux-archive.org/ubuntu-server-development/)
-   -   gui: no close buttons etc. in window decoration (#582645) (http://www.linux-archive.org/ubuntu-server-development/363295-gui-no-close-buttons-etc-window-decoration-582645-a.html)

Ales Kozumplik 04-28-2010 04:59 PM

gui: no close buttons etc. in window decoration (#582645)
 
This is done through changing the default gconf values.
---
scripts/upd-instroot | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 5ca1f11..169a9ba 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -934,6 +934,26 @@ cat > $DEST/.gconf/desktop/gnome/interface/%gconf.xml <<EOF
</gconf>
EOF

+# anaconda needs to change a couple of the default gconf entries
+GCONF_RULES_FILE=$DEST/etc/gconf/gconf.xml.defaults/anaconda.rules
+cat > $GCONF_RULES_FILE <<EOF
+<?xml version="1.0"?>
+<gconfentryfile>
+
+ <entrylist base="/apps">
+ <entry>
+ <key>metacity/general/button_layout</key>
+ <schema_key>/schemas/apps/metacity/general/button_layout</schema_key>
+ <value>
+ <string>:</string>
+ </value>
+ </entry>
+ </entrylist>
+
+</gconfentryfile>
+EOF
+gconftool-2 --direct --config-source="xml:readwrite:$DEST/etc/gconf/gconf.xml.defaults" --load $GCONF_RULES_FILE
+
rm -rf $YUMDIR

chown -R root:root $DEST
--
1.6.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 06:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.