Questions tagged [dbus]

D-BUS is a messaging system used by applications to talk to each other.

Filter by
Sorted by
Tagged with
0
votes
0answers
35 views

Dell XPS 7390 with Dual boot Windows/Ubuntu 20.04 freezes randomly

I have a Dell XPS 13 7390 with dual boot Windows 10 and Ubuntu 20.04. A few weeks ago I was prompted to update the bios by a dell application in windows so I let it update it to version 1.7. Ever ...
0
votes
0answers
44 views

Capturing sleep/hibernate/wakeup events on Linux desktop and laptop environments

Explored 2 options to capture these power events, but unfortunately none of them worked as expected. DBus works on Desktop but these events also need to be captured on Laptops and Linux environments ...
0
votes
0answers
29 views

** socat[8592] E connect(5, AF=1 “\0/tmp/dbus-6LCOz2lgUY”, 23): Connection refused**

I am a BEGINNER with Ubuntu (Linux). I am trying to create an independant network namespace (that I downloaded here : https://github.com/Lekensteyn/netns) in order to capture Internet traffic without ...
0
votes
0answers
262 views

ModuleNotFoundError: No module named '_dbus_bindings'

When I try to open the "Software & update" program, it doesn't launch and when i check the log, it give me this error. ModuleNotFoundError: No module named '_dbus_bindings'. Then I try ...
0
votes
0answers
61 views

daemon.cpp:61@run org.freedesktop.DBus.Error.Disconnected Failed to flush bus on opening (connection reset by peer)

I'm trying to run Anbox on my jetson nano arm64. Below you can see how I have installed anbox : Step 1: We need /dev/binder and /dev/ashmem devices for android support. Because the kernel is 4.9.140, ...
2
votes
2answers
74 views

How to disable auto suspend temporary (reset idle time)

In Ubuntu 20.04.2 LTS(default GNOME desktop). I enable auto suspend on Ubuntu GNOME desktop, but, If only running my program, I want to disable auto suspend. My program running in a second, and loop ...
0
votes
0answers
14 views

Signal when PulseAudio load/unload modules

There is a way to know if PulseAudio has loaded/unloaded a module? Like a signal from PulseAudio? I know how to query for modules: pactl list sinks but I need some sort of IPC signal mechanism from ...
0
votes
0answers
15 views

dbus signal when screen goes on standby

Does anybody know if there is a dbus event that trigger when the screen turns on or off? There is a DBUS event that triggers when the screen lock is activated/deactivated¹, but this is not really the ...
0
votes
0answers
30 views

Solved: Annoying UDisks2VolumeMonitor/GUI behaviour (udev, dbus, gtk)

I am dealing with a 20.04.1 system (mainly Ubuntu Server + Xubuntu Core). I am trying to set up an "IT" external SSD (USB3), so that when I insert it, some maintenance actions will be ...
0
votes
0answers
46 views

How to trigger a Wi-Fi access point signal information update

I've found many sources which describe how to get the signal strength of the current (connected to) or other Wi-Fi access points, but in most of them, the tools just show the last available ...
2
votes
2answers
4k views

How to run systemctl command inside docker container?

I would like to run a docker container which will have the ability to run systemctl commands on its host. Following this question I didn't find a solution that would work for me. I have no hard limits ...
1
vote
0answers
44 views

Xubuntu 20.04 LTS, Softwate and Updates not opening

Whenever I click on Software & Updates, it does nothing. When I tried from the terminal it gives me the following output. Please help, I shifted from windows 7 to Xubuntu. I don't know anything ...
1
vote
1answer
982 views

Failed to connect to bus

So I have been trying to fix this for a couple of days. I found some solutions but they result in another problem: Launcher helper exited with unknown exit code 1. Every time I do something ...
0
votes
1answer
93 views

After upgrading to 20.10, the Jetbrains Space desktop app crashes on startup due to a snap Dbus error

Yesterday, I signed up for the Jetbrains Space beta and started setting up projects with the desktop app, which worked normally. Today, I upgraded to Ubuntu 20.10. Now, whenever I try to launch the ...
2
votes
2answers
399 views

qpaeq no module named dbus

NOTE: This question is not relevant to the dbus problem I am experiencing as described below. I tried to run qpaeq after installing. It asks for dbus. Other posts say to install python-dbus. It ...
0
votes
0answers
41 views

DBus KDE Plasma : Is there a way to fire window menu actions like `Move To Screen …` or `Show in activities …` via a DBus call?

Well everything is pretty much in the title of the question. I run Kubuntu 20.04 (KDE Plasma 5.18.5) and I am looking for a way to programmatically fire window menu actions like Move To Screen … or ...
2
votes
1answer
337 views

Gnome 3 standard brightness control with external monitor

Gnome's built-in brightness control works well for my laptop monitor, but I would like it to also change the brightness on my external monitor. I've figured out how to use xrandr to control the ...
1
vote
0answers
268 views

Ubuntu 18.04: Maximum number of clients reached - related to dbus-daemon

From time to time I get this message, I cant start application when this happens. I've tried those links: Can't start applications due to “Maximum number of clients reached” error and How can I ...
2
votes
1answer
404 views

Adjust volume via dbus

I am using an application (VMWare Workstation) which hijacks the media keys on my keyboard, so I want to use another input device (Elgato Stream Deck) to send generic media commands like 'volume up' ...
0
votes
2answers
98 views

Not able to update Ubuntu 18.04 [duplicate]

I have Ubuntu 18.04 and python 3.7. uname -a Linux username-laptop 4.15.0-109-generic #110-Ubuntu SMP Tue Jun 23 02:39:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux When I run sudo apt-get update I get ...
0
votes
0answers
170 views

notifications-notify not work for emacs 27.1 on ubuntu 20.04

I upgrade ubuntu form 18.04 to 20.04 recently, and compile emacs27.1 from source. Every thing is fine, except notifications-notify not work, eval below code, there is only an id shows in minibuffer, ...
1
vote
0answers
125 views

How do I troubleshoot DBUS/MPRIS (media keys)? Not working after unity install on ubuntu 20.04

Volume control (up/down) worked fine. It behaves fine. Media keys (next/previous) isn't working. It seems like the actual keyboard shortcuts are registered, the media application don't receive ...
0
votes
1answer
153 views

Using dbus-send in Cron [duplicate]

I want to setup a cron job to lock my session every day at three PM. When I enter dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock in a ...
2
votes
0answers
143 views

Help to grab Gnome Settings Media Keys focus by “force”

I'm trying to create an application that listens for events sent by Gnome's gsd-media-keys,what I have already achieved, but other apps like VLC and Chrome are "stealing" my app’s focus when ...
0
votes
0answers
22 views

Problem starting Gnome terminal [duplicate]

_g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’ # Error constructing proxy for org.gnome.Terminal:/org/gnome /Terminal/Factory0: Error calling ...
4
votes
2answers
321 views

How to find what executable provides a dbus service?

I'm having problems with kdeconnect on Lubuntu and the only error I see when I execute the daemon with --replace is the inablility to launch kuiserver: Couldn't start kuiserver from org.kde.kuiserver....
0
votes
1answer
821 views

dbus-daemon is crashing

After Lubuntu 18.04 installation, the system didn't boot, so I started root shell in recovery mode. I've observed that all systemd commands (e.g. systemctl list-sockets) are very slow or time out. My ...
1
vote
0answers
412 views

Problems with GNOME, Dbus or Polkit in Ubuntu 20.04LTS

Bug description: After upgraded my Ubuntu from 19.10 version to 20.04LTS, I cannot install, update or remove any software inside "Ubuntu Software". I also realized that my credential window doesn'...
1
vote
1answer
1k views

How to correctly run graphical application in Docker container with Qt and D-Bus?

I was trying to get Audex running inside 16.04 LTS Docker container on the 20.04 LTS host. The below method works normally for Gtk-based applications, I have tested it. In current case I did the ...
2
votes
0answers
203 views

How to correctly run graphical application in schroot with Qt and D-Bus?

I was trying to get Audex running inside 16.04 LTS schroot on the 20.04 LTS host. The below method works normally for Gtk-based applications, I have tested it. In current case I did the following: ...
0
votes
0answers
279 views

Glib.MainLoop.quit() doesnt stop the loop

I'm using the following code: from gi.repository import GLib as glib import dbus from dbus.mainloop.glib import DBusGMainLoop import sys def print_notification(bus, message): keys = ["app_name", "...
0
votes
0answers
185 views

Python script to monitor notifications and return True if there is a notification

Im working on a project which requires another .py file to run when there is a notification. Is there a way to monitor notifications and return a True value if there is one?
0
votes
0answers
365 views

D-Bus >= 1.6 required

I am trying to make Bluez work for Kubuntu, and after reading some threads, it seems this command is supposed to make it all work: sudo apt install libdbus-1-dev libudev-dev libical-dev libreadline-...
0
votes
0answers
160 views

No system.config file

I've been having problems with the d-bus permissions and I believe is because I don't have a the /etc/dbus-1/system.config file. I'm using Ubuntu 19.10. How can I get this file? and why is it not ...
2
votes
1answer
637 views

NetworkManager via D-Bus: Add a network bridge

I'm trying to use the D-Bus interface of NetworkManager to add and enable a network bridge connection. Basically I'm trying to mimic this command: nmcli connection add type bridge ifname br0 stp no ...
0
votes
1answer
336 views

Is systemd-timesyncd.service accessible via a dbus api?

I have to read the status of systemd-timesyncd.service whether to see whetther it has synchronized with the ntp . The System clock synchronized flag is not helpful since it does not show appropriate ...
3
votes
1answer
842 views

Invoking GNOME “Show Applications” from command line

I'm trying to configure my touch-pad gestures in Ubuntu 19.10 and xdotools doesn't work properly when I switch between different keyboards layouts. I've found in this post how to launch Activities ...
0
votes
0answers
1k views

lightdm not able to authenticate: org.freedesktop.DBus.Error.AccessDenied

After upgrading from Ubuntu 16.04 to 18.04 I can't login using the lightdm Interface: I tried the suggestions here (check permissions and reinstall/restart lightdm) but no change. These are the ...
0
votes
0answers
182 views

sudo -u <current_user> -H gsettings set org.gnome.desktop.background picture-uri file:///path/to/file

I'm using Ubuntu 18.04. The above command (and other gsetting command when used with sudo -u <user_name> -H) is/are showing a weird behavior.. (I'm expecting it to set the gsetting of the ...
0
votes
0answers
58 views

Trouble with handling sudo

I have two scripts that needs to be executed in chain. (First script calls the second script). The problem is that the first script needs sudo to function as expected, and the second script needs to ...
2
votes
3answers
875 views

How to debug black screen after logging in with NVidia drivers that strangely fixes itself at random times?

I'd like to describe my Nvidia woes of the past few days here in hopes someone can help me diagnose a problem with the Nvidia drivers. background TL;DR I started having this issue on Ubuntu 17, ...
1
vote
1answer
277 views

How to make dbus commands persistent. GNOME

while studying/ Understanding GNOME, I have come across below two commands over the web. dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'...
2
votes
1answer
440 views

What happens in the OS when multimedia keys are pressed?

What commands are invoked when I press my media keys (play / pause, next, previous)? I had a look at simulate media keys in the terminal, and my requirement is the same, except I cannot use the ...
1
vote
0answers
1k views

Bluez on DBus: Connection is not allowed / Name already in use

I am writing a BLE library for JavaScript and after I restarted my computer Bluez stopped working When I write bluetoothd -n I get this: ➜ bluetoothd -n bluetoothd[2728]: Bluetooth daemon 5.48 D-...
2
votes
0answers
253 views

Got error dbus: Failed to determine seats of user “1000”: Too many open files - why and how to fix?

I'm running Ubuntu 16.04.6 LTS with all updates installed. Currently I see strange behavior: I can't start new GTK applications and Qt ones. For GTK-based applications I get: $ atril file.pdf ...
1
vote
1answer
249 views

terminal that logs to dbus

do you know of a terminal that logs file accesses and such to dbus? I am asking because I have been using the xterm more than any file explorers but xterm does not send anything to dbus. This has ...
0
votes
0answers
4k views

GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SettingsDaemon was not provided by any .service files

I'm on Ubuntu 16.04.6 with FVWM window manager. As far as I remember, I had gnome desktop (maybe I removed gnome) and I installed FVWM. I connect a display screen to my laptop VGA port. But the screen ...
0
votes
1answer
118 views

Why doesn't gdbus output work when invoked from ~/.profile?

If I open a terminal and run the below script, it works fine. The values from the gdbus call get written to the lockScreenTest.txt file. The values are true when the screen is locked and the values ...
2
votes
1answer
2k views

No module named '_dbus_bindings' -16.04

I've been trying to update python. And every since I can't seem to access "Updates&Software" I try to run software-properties-gtk this error shows: Traceback (most recent call last): ...
0
votes
0answers
781 views

Installing QtWebengineView on Ubuntu: “A suitable version of dbus could not be found. QtWebEngine will not be built.”

I am trying to install QtWebEngineView on ubuntu with the proprietary codecs. Running: ➜ qtwebengine git:(c3c37b4e) ✗ /usr/local/Qt-5.12.1/bin/qmake -r -Wall -- -proprietary-codecs -ffmpeg ...

1
2 3 4 5
7