diff options
author | Brian Cameron <brian.cameron@sun.com> | 2006-01-06 23:41:06 +0000 |
---|---|---|
committer | Brian Cameron <bcameron@src.gnome.org> | 2006-01-06 23:41:06 +0000 |
commit | 4f46297e6f173ce8912ce932b21265fe73aa5f7c (patch) | |
tree | a8c7158e48158e6e18d6b3e222b0dd9194f06b5b /config | |
parent | 168d9d0530721e17f9c3d76bbbf76a15ada4d019 (diff) | |
download | gdm-4f46297e6f173ce8912ce932b21265fe73aa5f7c.tar.gz |
Fix Prefetch command so that there is a needed "@" before the argument to
2006-01-04 Brian Cameron <brian.cameron@sun.com>
* configure.ac, docs/C/gdm.xml, config/gdm.conf.in: Fix
Prefetch command so that there is a needed "@" before the
argument to gdmprefetch. Padraid O'Briain pointed out this
oversight. Made docs a bit more clear to highlight the usage
of this "@" character.
* gui/greeter.c, gui/greeter/greeter_item.c,
gui/greeter/greeter_system.c: Now call gdm_working_command_exists
for halt/reboot/suspend/configurator once at startup and cache
the values in globals so we don't have to keep calling this
function over and over while gdmgreeter runs. Padraig noticed
that this function causes a large number of calls to stat which
are easily avoided by caching.
Diffstat (limited to 'config')
-rw-r--r-- | config/gdm.conf.in | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/config/gdm.conf.in b/config/gdm.conf.in index dec27bca..6bf20c09 100644 --- a/config/gdm.conf.in +++ b/config/gdm.conf.in @@ -439,9 +439,13 @@ GraphicalThemedColor=#76848F #SoundOnLoginFailure=false #SoundOnLoginFailureFile= # Specifies a program to be called by the greeter/login program when the -# initial screen is displayed. The purpose is to provide a hook -# where files used after login can be preloaded to speed performance for -# the user. The program will only be called once. +# initial screen is displayed. The purpose is to provide a hook where files +# used after login can be preloaded to speed performance for the user. The +# program will only be called once only, the first time a greeter is displayed. +# The gdmprefetch command may be used. This utility will load any libraries +# passed in on the command line, or if the argument starts with a "@" +# character, it will process the file assuming it is an ASCII file containing a +# list of libraries, one per line, and load each library in the file. PreFetchProgram=@GDMPREFETCHCMD@ # The chooser is what's displayed when a user wants an indirect XDMCP session, |