New answers tagged dbus
The reason for these being created with root ownership in the first place is usually the way sudo preserves some user environment. ls: cannot access .gvfs: Permission denied That folder .dbus and .cache with all it contents is supposed to be owned by the user whom the home directory belongs to. It is usually safe to delete either, it will be recreated next ...
You need to install its missing dependencies first, which are, according to Linuxfromscratch.org: dbus-glib-0.104: D-Bus-1.8.6 GLib-2.42.2 D-Bus in Utopic (package dbus) is listed as version 1.8.8-1ubuntu2.1; GLib in Utopic (package glib2.0) is listed as version 2.42.1-1~ubuntu1; So you can update D-Bus via apt: sudo apt-get update && sudo ...
org.freedesktop.NetworkManager service file is provided by network-manager package. $ grep -rl NetworkManager /etc/dbus-1/ /usr/share/dbus-1/ /etc/dbus-1/system.d/nm-pptp-service.conf /etc/dbus-1/system.d/nm-strongswan-service.conf /etc/dbus-1/system.d/nm-vpnc-service.conf /etc/dbus-1/system.d/nm-openvpn-service.conf ...
refer pm-action man page: http://manpages.ubuntu.com/manpages/trusty/man8/pm-action.8.html, and refer the FILES section. Any executable script put in the directory /etc/pm/sleep.d/ will be invoked before the suspend happens. Putting a file here will require sudo.
Since you mention presentation slides, what about using OpenOffice or LibreOffice Impress? You can add Python scripting bindings to LibreOffice (in Ubuntu install the libreoffice-script-provider-python package) HOWEVER I don't know what LibreOffice can provide for calling it from "outside" processes. Presumably this might be even more "brittle," depending on ...
Installing libdbus-1-dev fixed it for me.
Top 50 recent answers are included