"Kalle Vahlman" <[EMAIL PROTECTED]> writes:
> On 2/28/06, Tomi Ollila <[EMAIL PROTECTED]> wrote:[snip lots of hacky effort
> producing:]> # TMPDIR=/var/tmp
> GTK2_RC_FILES=/home/user/.osso/current-gtk-theme DISPLAY=:0.0 ./my-gui-prog
> If you run stuff from the CLI, use the run-standalone.sh
> script. It'll setup the proper environment for it including dbus addresses
> and soon.
The problem occurred when launching script from maemo gui that
does `sudo /path/to/guiprog'. Now I added putenv("TMPDIR=/var/tmp")
to my main() function and it works.
I don't know how long it will work, but that doesn't matter just now.
But, I'll have to remember that run-standalone.sh when testing...
> --Kalle Vahlman, [EMAIL PROTECTED] by http://movial.fiInteresting stuff at
> http://syslog.movial.fi
Tomi
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers