Comment 12 for bug 1764417

Jani Uusitalo (uusijani) wrote :

...except that --debug isn't one of gsd-color's recognized parameters, and adding it caused GDM to fail to start. I changed it to --verbose which is available.

    10.08 jani@saegusa:~$ LC_ALL=C /usr/lib/gnome-settings-daemon/gsd-color --help-all
    Usage:
      gsd-color [OPTION?] color

    Help Options:
      -h, --help Show help options
      --help-all Show all help options
      --help-gtk Show GTK+ Options

    GTK+ Options
      --class=CLASS Program class as used by the window manager
      --name=NAME Program name as used by the window manager
      --gdk-debug=FLAGS GDK debugging flags to set
      --gdk-no-debug=FLAGS GDK debugging flags to unset
      --gtk-module=MODULES Load additional GTK+ modules
      --g-fatal-warnings Make all warnings fatal
      --gtk-debug=FLAGS GTK+ debugging flags to set
      --gtk-no-debug=FLAGS GTK+ debugging flags to unset

    Application Options:
      --exit-time Exit after n seconds time
      --dummy-name Name when using the dummy daemon
      -v, --verbose Verbose
      --display=DISPLAY X display to use

There's also --gtk-debug and --gdk-debug, but I could do with a little help for what to select for those, as just giving 'all' seems a little counterproductive (for instance, "touchscreen" and "interactive" don't seem very useful here).

    10.03 jani@saegusa:~$ LC_ALL=C /usr/lib/gnome-settings-daemon/gsd-color --gtk-debug help
    Supported debug values: misc plugsocket text tree updates keybindings multihead modules geometry icontheme printing builder size-request no-css-cache baselines pixel-cache no-pixel-cache interactive touchscreen actions resize layout all help

    10.04 jani@saegusa:~$ LC_ALL=C /usr/lib/gnome-settings-daemon/gsd-color --gdk-debug help
    Supported debug values: events misc dnd xim nograbs input cursor multihead xinerama draw eventloop frames settings opengl all help
    Error parsing option --gdk-debug

(Looks like --gdk-debug reports an error with 'help', despite having just listed it as one of the options.)