Hi Danilo,
On Sun, 2004-12-12 at 16:42 +0100, Alexander Larsson wrote:
> * They have to be set somewhere. This is would mean gnome-session for
> gnome. If you don't use that (say you run a gnome app under some other
> desktop or a plain wm) then things will break because the env vars
> don't exist.
Good point.
There's a simple solution for this, AFAIK. We would be shipping a script
(namely, gnome-paths), which would retrieve these variables through
gconf; here we go:
#!/bin/sh
export GNOME_DESKTOP_FOLDER=`gconftool-2 -g /desktop/gnome/...`
and any script which needs these would /source/ our script. Although it
looks a bit ugly, this is a non-issue. Technically, at least.
--
Enver ALTIN | http://skyblue.gen.tr/
Software developer @ Parkyeri | http://www.parkyeri.com/
Attachment:
signature.asc
Description: This is a digitally signed message part