{"id":20597216,"url":"https://github.com/cathive/fx-dconf","last_synced_at":"2026-03-16T22:31:34.455Z","repository":{"id":9771161,"uuid":"11741597","full_name":"cathive/fx-dconf","owner":"cathive","description":null,"archived":false,"fork":false,"pushed_at":"2013-10-01T11:40:08.000Z","size":193,"stargazers_count":0,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T00:08:23.251Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cathive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-29T14:28:53.000Z","updated_at":"2015-10-19T19:24:26.000Z","dependencies_parsed_at":"2022-07-12T15:03:44.811Z","dependency_job_id":null,"html_url":"https://github.com/cathive/fx-dconf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cathive%2Ffx-dconf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cathive%2Ffx-dconf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cathive%2Ffx-dconf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cathive%2Ffx-dconf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cathive","download_url":"https://codeload.github.com/cathive/fx-dconf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248981267,"owners_count":21193147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T08:21:11.155Z","updated_at":"2026-03-16T22:31:34.411Z","avatar_url":"https://github.com/cathive.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"dconf integration for Java and JavaFX\n=====================================\n\n\nIntroduction\n------------\n\nThis library provides an easy way to integrate dconf into\nyour Java / JavaFX applications.\n\nIt uses the \u003ca href=\"https://github.com/cathive/fx-glib\"\u003efx-glib\u003c/a\u003e GLib bindings\nto map native java objects to GVariant pointers and vice versa.\n\n\nHighlights\n----------\n\n*   Native bindings to libdconf via BridJ (no need to install any native libraries)\n*   Nice object-oriented API\n*   Supported platforms: Linux, possibly others (untested)\n\n\nRequirements\n------------\n\n*   libdconf, libglib2,.... whatever is needed to interact with dconf\n*   Running D-Bus instance (the default dconf client interacts with libdconf via D-Bus)\n*   Oracle Java SE 7 Runtime (possibly OpenJDK 7 works, haven't tested)\n\nUsually every modern Linux distribution should meet the first of the two requirements mentioned above.\n\n\nFeatures\n--------\n\nBelow you'll find a list of already existing features as well as features that are planned for\nfuture releases:\n\n- [x] Bindings to the C-API of dconf (libdconf) -  about 95% done\n- [x] Support for synchronous calls\n- [ ] Support for asynchronous calls\n- [ ] Nice JavaFX API using Workers, Services, Callbacks and Properties\n- [x] java.util.prefs.Preferences implementation that uses dconf as it's backend - No listener support, otherwise usable\n\n\nExample Usage\n-------------\n\nThe Java code below shows how to play around with a few configuration keys.:\n\n```java\n// Obtains a new dconf client instance.\nfinal org.gnome.dconf.Client dconfClient = org.gnome.dconf.Client.create();\n\n// Use the client to write some config entries...\ndconfClient.writeBoolean(\"/com/example/ExampleApp/exampleBoolean\", true);\ndconfClient.writeString(\"/com/example/ExampleApp/exampleString\", \"Hello, World!\")\n\n// Retrieve some config values...\nfinal boolean exampleBoolean = dconfClient.readBoolean(\"/com/example/ExampleApp/exampleBoolean\");\nfinal String exampleString = dconfClient.readString(\"/com/example/ExampleApp/exampleString\");\n```\n\n\nBugs and Open Issues\n--------------------\n\n- Unless the \u003ca href=\"https://github.com/cathive/fx-glib\"\u003efx-glib\u003c/a\u003e GLib bindings don't offer proper mapping of\n  GObject signal mapping it is not possible to provide the desired listener functionality to this library. :-(\n- The example app that ships with this library (dconf Editor) is not feature-complete (yet)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcathive%2Ffx-dconf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcathive%2Ffx-dconf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcathive%2Ffx-dconf/lists"}