FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Server Development

 
 
LinkBack Thread Tools
 
Old 04-28-2010, 04:59 PM
Ales Kozumplik
 
Default 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
 

Thread Tools




All times are GMT. The time now is 02:23 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org