systray-whitelist changes are only temporary (how do i make them permenant?)

Posted by Ed Sweeney on Ask Ubuntu See other posts from Ask Ubuntu or by Ed Sweeney
Published on 2012-08-31T15:23:29Z Indexed on 2012/08/31 15:53 UTC
Read the original article Hit count: 226

Filed under:
|

I am writing a Qt C++ app. The notifications from

trayIcon->showMessage(title, message)

show up fine after I run the following command and logout/login:

gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"

But after a few minutes the notifications don’t display any more and I have to repeat the gsettings logout/login.

How can I get unity to play my messages without this fooling around when my user installs my app?

Thanks for any help!

© Ask Ubuntu or respective owner

Related posts about qt

Related posts about gsettings