Clone this repo:
  1. a8ac15b Merge pull request #427 from dims/drop-unused-import-in-windows-specific-code by Georg Reinke · 2 days ago master v5.2.2
  2. e638c72 Drop ununsed import in windows specific code by Davanum Srinivas · 11 days ago
  3. 20d95a3 Merge pull request #422 from kolyshkin/homedir by Georg Reinke · 12 days ago v5.2.1
  4. d3fc3b5 Fix and simplify getHomeDir by Kir Kolyshkin · 12 days ago
  5. 88ce463 Merge pull request #419 from kolyshkin/golangci-v2 by Georg Reinke · 12 days ago

Build Status

dbus

dbus is a simple library that implements native Go client bindings for the D-Bus message bus system.

Features

  • Complete native implementation of the D-Bus message protocol
  • Go-like API (channels for signals / asynchronous method calls, Goroutine-safe connections)
  • Subpackages that help with the introspection / property interfaces

Installation

This packages requires Go 1.20 or later. It can be installed by running the command below:

go get github.com/godbus/dbus/v5

Usage

The complete package documentation and some simple examples are available at pkg.go.dev. Also, the _examples directory gives a short overview over the basic usage.

Projects using godbus

  • fyne a cross platform GUI in Go inspired by Material Design.
  • fynedesk a full desktop environment for Linux/Unix using Fyne.
  • go-bluetooth provides a bluetooth client over bluez dbus API.
  • iwd go bindings for the internet wireless daemon “iwd”.
  • notify provides desktop notifications over dbus into a library.
  • playerbm a bookmark utility for media players.
  • rpic lightweight web app and RESTful API for managing a Raspberry Pi

Please note that the API is considered unstable for now and may change without further notice.

License

go.dbus is available under the Simplified BSD License; see LICENSE for the full text.

Nearly all of the credit for this library goes to github.com/guelfey/go.dbus.