Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

1.2. Setting System-Wide Default and Mandatory Preferences

You can set system-wide settings using either the graphical GConf editor or the command line utility, gconftool-2. Examples of each method are given below.

CautionCaution
 

You should make sure that all users are logged out before changing any system-wide default or mandatory preference settings.

1.2.1. Using GConf Editor

When logged in as root, you can use GConf editor to set system-wide default and system-wide mandatory settings by opening a special GConf editor window. For example, to set mandatory system-wide settings, run GConf editor and choose New Mandatory Window from the File menu as shown in Figure 1-2.

Figure 1-2. Mandatory Settings Using GConf Editor

TipTip
 

Refer to the Configuration Editor Manual (available through the online help system) for more detailed information on using the GConf editor.

1.2.2. Using the gconftool-2 Utility

For example, using gconftool-2 you can set the system-wide default number of workspaces to 5 by issuing the command:

# gconftool-2 --direct --config-source \
  xml:readwrite:/etc/gconf/gconf.xml.defaults \
  xml:readwrite:/etc/gconf/gconf.xml.defaults --type int --set \
  /apps/metacity/general/num_workspaces 5

TipTip
 

Refer to the GConf Section of the GNOME Desktop System Administration Guide (available through the online help system) for more detailed information regarding the use of gconftool-2.

 
 
  Published under the terms of the GNU General Public License Design by Interspire