个人工具

UbuntuHelp:UbuntuLTSP/GnomeOptimize

来自Ubuntu中文

跳转至: 导航, 搜索
This page is specific to Ubuntu versions 8.04

If you find this information applicable to additional versions/releases, please edit this page and modify this header to reflect that. Please also include any necessary modifications for this information to apply to the additional versions.


This page is dedicated to optimizing the Gnome environment for thin-client usage. There are some neat tweaks that we can perform to make Gnome much more suitable for a multi-user environment, and we will explain some things below.

  • First off, you'll probably want to Install|the gnome-watchdog package to perform clean-up of user sessions after logout (as some applications and processes do not cleanly exit in an LTSP environment).

Using GConf to secure Gnome

GConf is Gnome's configuration subsystem. It acts as a central configuration repository for many Gnome-based applications, their settings, and the overall Gnome experience. It includes security and lockdown mechanisms, and is pretty extensive. Here's the information I've found so far on GConf that is relevant to LTSP:

LOCKDOWN

Set these keys as MANDATORY for it to be effective

  • /apps/panel/global: locked_down
  • /apps/metacity/global_keybindings: Go here to disable/set keybindings (such as removing the default ALT+F2 = run dialogue so students cannot arbitrarily run any program on the system)
  • /apps/gnome_settings_daemon/screensaver: start_screensaver
  • /desktop/gnome/background: picture_filename /home/share/backgrounds/picture.jpg
  • /desktop/gnome/lockdown: disable_lock_screen
  • /desktop/gnome/lockdown: disable_user_switching

Niceties

Use these gconf keys to clean up the user interface and provide some nice features for multi-user sessions

  • /apps/panel/global/disabled_applets: A list of applets you can disable. This was relevant when removing fast-user-switch and deskbar applets, as Gnome would complain upon login of every user that it couldn't load the applet (they are defaulted to load even when the packages are removed) (see image here)
  • /apps/panel/toplevels/*/background: Will be good for setting panel translucency/color for administrator accounts
  • /desktop/gnome/interface/enable_animations: Will enable/disable animations in various aspects of Gnome, which can be sludgy in LTSP environments

NOTE: If you are not familiar with GConf, please read up on it via the links below to understand how it works and how to set mandatory keys, as this is important if you want to lock down settings for all users.

URLs