#!/bin/sh # GnomePerf # Sun Ray Friendly Gnome Tweaks # These commands make your Gnome Desktop More Sun Ray Friendly # It should also help with performance on your Solaris workstation as well # # Written by Craig Bender Sun Ray Engineering # Uncomment the if/touch/fi statements of the script to run only once per user # #set -x if [ ! -f $HOME/.gnomeperf ];then if [ ! "GNOME_DESKTOP_SESSION_ID" = " " ];then # Turns on Wire Frame window drags (don't show contents of windows while dragging) gconftool-2 --type bool --set /apps/metacity/sun_extensions/wireframe_move_resize true # Don't show the Gnome splash page gconftool-2 --type bool --set /apps/gnome-session/options/show_splash_screen false # Don't show the text below the icon that describes the file gconftool-2 --type string --set /apps/nautilus/preferences/show_icon_text never # Don't count how many files and their sizes in the Nautilus windows gconftool-2 --type string --set /apps/nautilus/preferences/show_directory_item_counts never # Don't try to preview a sound gconftool-2 --type string --set /apps/nautilus/preferences/preview_sound never # Don't use wallpaper gconftool-2 --type string --set /desktop/gnome/background/picture_options none # Don't use a gradient backdrop gconftool-2 --type string --set /desktop/gnome/background/color_shading_type solid # Set the background color to Sun blue - Really purple :) gconftool-2 --type string --set /desktop/gnome/background/primary_color \#666699 # Don't start ESD - Sun Ray already has sound! gconftool-2 --type bool --set /desktop/gnome/sound/event_sounds false gconftool-2 --type bool --set /desktop/gnome/sound/enable_esd false # Don't show hidden files 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 # Create a hidden file to decide whether or not to run this script touch $HOME/.gnomeperf fi fi ############################################################################## ### This script is submitted to BigAdmin by a user of the BigAdmin community. ### Sun Microsystems, Inc. is not responsible for the ### contents or the code enclosed. ### ### ### Copyright Sun Microsystems, Inc. ALL RIGHTS RESERVED ### Use of this software is authorized pursuant to the ### terms of the license found at ### http://www.sun.com/bigadmin/common/berkeley_license.jsp ##############################################################################