Yep, I had it work once but then it started to do what you said. See my second method that abuses D-Bus - that worked more than once.