[g-a-devel] AT-SPI in Upstart



I have created an application that get informations of firefox using AT-SPI and c++ and worked.
But it doesn't work while runs as upstart not an application despite the same source code.

The reason is atspi_init() returns error 2.

I wrote the conf file of upstart like this:

description "firefoxurl daemon"
start on runlevel [2345]
stop on  runlevel [!2345]
script
    exec /opt/GetCurrentUrlOfFirefox
end script

Can someone tell me how to use at-spi in Upstart?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]