Results 1 to 3 of 3

Thread: how does gconftool-2 work ?

  1. #1
    Join Date
    Nov 2007
    Location
    india
    Beans
    485
    Distro
    Ubuntu 8.04 Hardy Heron

    how does gconftool-2 work ?

    i have frequently used the commands like:
    gconftool-2 --get /desktop/gnome/background/picture_filename
    or
    gconftool-2 --type bool --set /apps/nautilus/desktop/volumes_visible 'false'

    but i unable to find the location of the files to be passed as an argument, like:
    /apps/nautilus/desktop....or /desktop/gnome/....

    this way i am unable to utilize this command properly.
    does anyone try finding that "which" location is to be passed as an argument ?

  2. #2
    Join Date
    Jun 2007
    Location
    UK
    Beans
    1,386
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: how does gconftool-2 work ?

    If you run the gconf-editor manually then you can browse through the keys.

    Code:
    gconf-editor
    Or you can enable it on your menu under Applications->System Tools (right-click on "Applications" then select "Edit Menus")

  3. #3
    Join Date
    Dec 2006
    Beans
    1,133
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how does gconftool-2 work ?

    It is confusing if you are expecting actual files, but the gconf tool uses the / character to designate branches in the configuration key database heirarchy. The arguments to gconftool are not actual file names, but are used to locate a specific key in the gconf database. Conceptually it is somewhat like a filesystem, with directories and subdirectories but these keys are all stored in a single database, not separate files.
    There are no dumb questions, just dumb answers.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •