#DBUS

Ralph Plawetzkipurejava@floss.social
2026-01-02

So I decided to make a #Java library for managing #secrets on Linux using the secret service #DBus interface. This could also replace GnomeKeyringKeychainAccess and KDEWalletKeychainAccess with a new KeychainAccess for my favorite app to keep my documents encrypted in the cloud: @cryptomator. The library implements the latest Secret Service API Draft 0.2.

github.com/purejava/secret-ser

Entité terrestre auto-critiques4mdf0o1@piaille.fr
2025-12-29

J'avais regardé pour hacker ma machine à laver (non connectée, mais avec des trucs qui clignotent et des bips qui me les c*ssent !)
Besoin d'un analyseur logique, de record temps réel, etc
-Mouais...
Mais ces c*ns-là font des machines connectées avec du D-bus (comme ma caméra proprio PTZ que j'ai hackée avec accès ssh maintenu pour des commandes D-Bus, finalement passées via MQTT)
Bon bein : dont Hack ! (elle est bonne 🙂 )
hackaday.com/2025/12/29/39c3-h

#Hack #DBus #WashingMachine

2025-12-29

I think I'm going to use sdbus instead of QtDBus because the API looks easier to use. Changing standard strings into QStrings and stuff like that is easy to do and I already do that a lot so I'm not worried. Instead of maintaining XML files for the interfaces though, I'm just going to document what the paths are and what types they expect since the "turning XML into code" thing confuses me and I'll wait to do that until I have to do stuff with wayland-scanner.

#dbus #Qt #sdbus #qtdbus

रञ्जित (Ranjit Mathew)rmathew
2025-12-20
N-gated Hacker Newsngate
2025-12-15

🐧🔧 Oh boy, another discovers that software written a mere 20 years ago isn't perfect, 👴 like X from the Jurassic period. The revelation? is a "disgrace" but should totally infest more apps because, you know, why not spread the . 🙄🚂
blog.vaxry.net/articles/2025-d

2025-12-05

So ive been messing around with dbus trying to make it so my videos play in the corner over minecraft without issue...
That's been complicated.
Basically i right click "always on top" once for an instance of a video player but then when the window is closed and reopened it needs to be redone. So im using dbus to send a signal to the window which is a lot more complicated then it sounds...
With the help of my dad tonight I have round out that Mutter is sorta not installed correctly or something...
And even when I fix everything I'm not sure that its gonna work...
So I think what I need to do that may be more likely to work is to make a javascript web page that keeps the video player open so I just right click it to be always on top once and move it around and resize it as I like...
I think that will work...
Maybe less likely to break my system.
I think I need to open it up and put a second ssd because im running out of space and can't update...

#tech #linux #dbus #Wayland #gnome #mutter #pictureinpicture #music #kpop #Firefox #video #programming

2025-12-04

Мониторинг SSSD через D-Bus: создаем собственный Ansible-модуль вместо sssctl

Привет, Хабр! Сегодня хочу поделиться опытом того, как я отказался от стандартной утилиты мониторинга SSSD в пользу прямого общения с демоном через D-Bus и создал полнофункциональный Ansible-модуль. Избавиться от зависимости!

habr.com/ru/companies/astralin

#ansible #freeipa #sssd #dbus #dbusmonitor #activedirectory #ansible_roles #opensource #шина_данных

2025-12-03

How to read desktop notifications in the terminal #commandline #scripts #python3 #notification #dbus

askubuntu.com/q/1560426/612

Jari PennanenCiantic@twit.social
2025-11-17

I'm trying to detect when #KDE desktop becomes not visible and visible again. Basically:

- When user suspends computer, and resumes
- When user switches to different TTY, and returns
- When monitor goes to sleep and wakes-up

So far haven't figured out anything simple, trying to decipher something from the #DBUS with dbus-monitor, it generates so many messages that it's difficult to say if there is already API for these.

#KDE #Linux

2025-11-06

If you're in need of a thread-safe, native #C++, implementation of #DBus I recommend DBus-ASIO. (As seen at #FOSDEM!)
github.com/dbus-asio/dbus-asio #disclaimer #imadethis

Katzenmann / Catmankatzenmann@c3d2.social
2025-11-03

Is there a modern alternative to dbus-monitor? Something where the output is just a little more readable?

#linux #linuxdesktop #dbus #rust

i was about to quickly implement a system tray icon for one of my projects. thought it would be a swift task. turned out things are pretty grim on this one. #gtk dropped the support for system trays in v4, and all other libraries are either outdated or broken (haven't tried qt, but it is too heavy for this small task). ended up writing my own solution.

so, this baby talks with dbus directly, no other dependencies, single-file clib, zig wrapper, mit, works in every environment that supports the freedesktop standard!

github.com/charlesrocket/libst

#dbus #c #zig #xdg

Ralph Plawetzkipurejava@floss.social
2025-10-27

Implementing the Secret Service #API requires to secure the calls to #DBus, as collections can get locked at any time. #Java #coding

Collection.java 
src > main > java > org > purejava > secret > api > J Collection.java > {} org.purejava.secret.api

public class Collection extends DBusMessageHandler<org-purejava.secret.interfaces.Collection> {

/**
* Search for items in this collection matching the lookup attributes.
*
* @param attributes Attributes to match.
* @return In case the DBus call succeeded: results
amdash; Items that matched the attributes, the DBus error
* otherwise.
* @see DBusPath
*/
public DBusResult<List<DBusPath»> searchItems (Map<String, String» attributes) { return dBusCall(operation:"SearchItems", getDBusPath(), () -> remote.SearchItems(attributes));
}
Zygmunt Krynickizygoon@fosstodon.org
2025-10-06

I'm looking at the #DBus spec and this sentence seems unusual:

> Any signals emitted from a D-Bus object have the service’s unique bus name associated with them, rather than its well-known name. This means that recipients of the signals must rely entirely on the signal name and object path to work out which interface the signal originated from.

(Edited to spellcheck cleanly).

Does anyone who worked on the original spec know why this was done like that?

Zygmunt Krynickizygoon@fosstodon.org
2025-10-06

Late night debugging session on #snapd, #apparmor and #dbus.

Back and white photograph of terminal screen showing progress from system integration tests.
2025-09-06

If you're in need of a thread-safe, native #C++, implementation of #DBus I recommend DBus-ASIO. (As seen at #FOSDEM!)
github.com/dbus-asio/dbus-asio #disclaimer #imadethis

2025-08-29

oh but hold up... there is *both*

- a /usr/share/dbus-1/system-services/org.freedesktop.RealtimeKit1.service, and
- rtkit-daemon.service with BusName=org.freedesktop.RealtimeKit1

which prevails??? any #systemd or #dbus boffins know?

Pavel 🇪🇺m7v
2025-08-20

Finally DBus error occurred in a real bus!

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst