Prev | Current Page 198 | Next

Chris Tyler

"X Power Tools"


GNOME is usually used with the Metacity window manager, but it can be used with
others. In order to provide some flexibility, gnome-wm is a script that can be customized
to use a different window manager. You can select a specific window manager
by placing its name in the WINDOW_MANAGER environment variable, or you can place line
setting that variable near the top of the gnome-wm script:
WINDOW_MANAGER=mwm
Using a window manager other than Metacity or Compiz sometimes
results in a much longer startup time for GNOME.
To start an X server and the GNOME desktop by hand:
$ export DISPLAY=:1
$ X $DISPLAY &
$ gnome-session
You can specify a specific session name by using the --choose-session option:
$ gnome-session --choose-session SessionName
Alternately, you can also specify that the default.session file be used by specifying the
--failsafe option.
8.4
124 Chapter 8: Session Managers, Desktop Environments, and Window Managers
When the user exits from the GNOME desktop, he is presented with a dialog as
shown in Figure 8-5; this dialog may have options for reboot, shutdown, or hibernation
in some cases. The checkbox labeled Save Current Settings controls whether the
session is saved??”if that box is checked, and the user clicks the OK button, then
the current clients are queried using XSMP, and the session information is written
to ~/.


Pages:
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210
Szkolenia elektroniczne praca Lubin wycieczki egipt kasy fiskalne bilety lotnicze