#!/bin/sh
# Gnome Performance of SUSE Linux
# By: Sontaya Potibut, <susethailand.com(at)gmail(dot)com>, 12/10/2010
# Website: SuSE Thailland | SUSE Linux Networking & Community
# For OpenSUSE11, SLEx11
# Schemas path "/usr/share/gconf/schemas/"
# How to use: Copy this script to "/etc/profile.d" and set execute it.

### 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 never

# 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

# Don't show image thumbnails
gconftool-2 --type string --set /apps/nautilus/preferences/show_image_thumbnails never
gconftool-2 --type Integer --set /apps/nautilus/preferences/thumbnail_limit 512000

## 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 background
gconftool-2 --type bool --set /desktop/gnome/background/draw_background false

## desktop_gnome_interface.schemas ##
# Set the Icon theme to gnome
gconftool-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 false
gconftool-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 false

echo "Finished"