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