LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 15-Oct-2009, 01:20 AM
Cool Solutions RSS Poster
 
Join Date: Sep 2007
Posts: 20
Cool Solutions 1-9 reputation points
Default Performance Scripting for GNOME Desktop

Performance Scripting for GNOME Desktop
14-Oct-2009 04:42 PM

This shell script optimizes some of the Gnome configuration options for simplicity and performance. The last two steps also reapply these settings making them the defaults forced on every start of a Gnome session.

1. Create shell script

$ vi /etc/profile.d/gnome-perf.sh#!/bin/sh # Gnome Performance of SUSE Linux# By: Sontaya Photibut, , 2009# Website: http://www.susethailand.com# Path Schemas "/etc/gconf/schemas"### gnome-session.schemas ### Don't show the Gnome splash page (Default=false)gconftool-2 --type bool --set /apps/gnome-session/options/show_splash_screen false## apps_nautilus_preferences.schemas ### Don't count how many files and their sizes in the Nautilus windows (Default=local_only)gconftool-2 --type string --set /apps/nautilus/preferences/show_directory_item_counts never# Don't try to preview a sound (Default=local_only)gconftool-2 --type string --set /apps/nautilus/preferences/preview_sound neve# Don't show the text below the icon that describes the file (Default=local_only)gconftool-2 --type string --set /apps/nautilus/preferences/show_icon_text never## desktop_gnome_background.schemas ### Don't use wallpaper (Default=zoom)gconftool-2 --type string --set /desktop/gnome/background/picture_options none# Don't use a gradient backdrop (Default=solid)gconftool-2 --type string --set /desktop/gnome/background/color_shading_type solid# Set the background color to blue - Really purple :) (Default=#66ba00)gconftool-2 --type string --set /desktop/gnome/background/primary_color \#666699# Disable desktop picture backgroundgconftool-2 --type bool --set /desktop/gnome/background/draw_background false## desktop_gnome_interface.schemas ## # Set the Icon theme to gnomegconftool-2 --type string --set /desktop/gnome/interface/icon_theme gnome# Set the GTK them to Sample (Default=>Clearlooks)gconftool-2 --type string --set /desktop/gnome/interface/gtk_theme Simple## desktop_gnome_sound.schemas ### Don't start ESD (Default=false)gconftool-2 --type bool --set /desktop/gnome/sound/event_sounds falsegconftool-2 --type bool --set /desktop/gnome/sound/enable_esd false## apps_nautilus_preferences.schemas ### Don't show hidden files (Default=false)gconftool-2 --type bool --set /desktop/gnome/file_views/show_hidden_files false# Don't show backup files (those marked with a ~)gconftool-2 --type bool --set /desktop/gnome/file_views/show_backup_files false2. Setting permission

$ chmod 755 /etc/profile.d/gnome-perf.sh3. Restart system

$ rebootEND.



More...
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 08:20 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2