lightum
lightum copied to clipboard
Not working in Trusty?
I see the ppa hasn't been updated yet, but I'm trying to compile from source and run this in Ubuntu 14.04 and even after installing xbacklight I'm seeing this issue on a MacBookAir4,2:
./lightum
Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.Solid.PowerManagement was not provided by any .service files
** (lightum:30357): WARNING **: GetCurrentSession failed: The name org.freedesktop.ConsoleKit was not provided by any .service files
(lightum:30357): GLib-CRITICAL **: g_variant_is_object_path: assertion 'string != NULL' failed
** (lightum:30357): CRITICAL **: dbus_g_proxy_new_for_name: assertion 'g_variant_is_object_path (path)' failed
** (lightum:30357): WARNING **: Could not get dbus session proxy
Hi, satmandu! I was getting the same error this morning and I was able to debug lightum. I just ran the program with the flag -U, which is used to ignore session, and it worked as usual.
Awesome thanks!
Wow. I have been frustrated for several weeks on trying to get this to run because it is an awesome application. Solution is so simple...
I did not had much time to actually identify the problem on the code. I will try, as soon as possible, to debug more deeply and look for a better solution that can be placed into the source code. Because, as bwh1969 said, this application is really awesome! : )
Please take a look at my branch as I've made changes for it to work with systemd while replacing dbus-glib with GDbus: https://github.com/esoleyman/lightum
With the newly merged branch, this is now fixed.