If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > Gnome Performance Script for openSUSE11

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-27-10, 07:43
sles sles is offline
Registered User
 
Join Date: Sep 2010
Posts: 3
Gnome Performance Script for openSUSE11

#!/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"
Reply With Quote
Reply

Tags
novell, opensuse

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On