Hi, If you want to run a graphical program as root, I find prefixing the command with run-standalone.sh works for me.
Regards On Tue, Nov 25, 2008 at 11:46 PM, Caio Begotti <[EMAIL PROTECTED]> wrote: > Hello there, > > I'm writing my very first Python application using the PyQt4 packages > which another brazilian, Luciano Wolf, announced last september > (IIRC). I know the code linked below is pretty crappy but I've found a > weird problem while Hildonizing my app. > > Astmontray is a systray applet with a very simple menu layout that I > wrote following both Python and Qt4 documentation and seems to work > fine on my Macbook running Leopard, my Mandriva 2009.0 box and Maemo > Diablo. Despite its source everything seems to be running alright. > > However, on Diablo the context menu is not Hildonized (by that I mean > "it does not look like the rest of the environment, it has a raw Qt4 > appearance"). That happens every time I run the app after a "sudo > gainroot", but if I run the app as a regular user I get the following > message in terminal: > > Open loadopt file: Permission denied > > Even though I get this message every time I run it, it misteriously > works AND get properly Hildonized. How come? Any ideas? Is it known or > am I missing something obvious here? I wouldn't doubt that, btw. > > The current code is freely available at: > http://caio.ueberalles.net/svn/voip/asterisk/astmontray/ > > []s > > Caio Begotti > _______________________________________________ > maemo-developers mailing list > [email protected] > https://lists.maemo.org/mailman/listinfo/maemo-developers >
_______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
