adding the line below, inside the script that is launched by cron,
solved my problem:

export $(xargs -n 1 -0 echo </proc/$(pidof x-session-manager)/environ |
grep -Z DBUS_SESSION_BUS_ADDRESS=)

-- 
gconftool-2 in Intrepid not working from cron
https://bugs.launchpad.net/bugs/285937
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to