Le Sat, 21 Apr 2007 10:57:01 +0200,
Dominique Michel <[EMAIL PROTECTED]> a écrit :

> 
> > I am looking for a way to test if gnome-session is running.
> >
> 
> I have a first recipe that work well with and without gnome-session. I am
> using a new file: components/function/Session-manager that test if a
> session-manager is running and set a few variables accordingly. Those
> variables are used in the recipe to generate the correct placement for the
> different panels.
> 
> When beginning to modify a second recipe, It become clear at those new
> variables are depending not only of gnome-session, but also on the recipe in
> use. So I have to set those variables on a recipe basis.
> 
> In consequence, it will be only one variable assignment in
> components/function/Session-manager
> 
> Test (EnvIsSet SESSION_MANAGER) PipeRead 'echo SetEnv SesManDim 24'
> Test (!EnvIsSet SESSION_MANAGER) PipeRead 'echo SetEnv SesManDim 0'
> 

It will be more in that file:

# SaveDesktop function
DestroyFunc SaveDesktop
AddToFunc SaveDesktop
+ I Exec exec gnome-session-save --gui

> So, I don't know if I must keep this file or incorporate those 2 lines into
> the recipes. It will be less typing to do if I keep this file, so I will keep
> it if nobody show me a good reason to remove it.
> 
So I think at it is better to have it anyway.

> 
> > I also thing at it will be good to include a few words in the doc to say at
> > it is possible to make a symlink in the locale directory. As example:
> > 
> > ln -s de_DE.UTF8 de_CH
> > or
> > ln -s de_DE de_CH
> > 
> Just
> 
> ln -s de_DE.UTF8 de
> or
> ln -s de_DE de
> 
> will work too.
> 
> Dominique
> 
> 
> _______________________________________________
> fvwm-crystal-users mailing list
> fvwm-crystal-users@gna.org
> https://mail.gna.org/listinfo/fvwm-crystal-users


-- 
Dominique Michel

--
N.B.: Tous les emails que je reçois sont filtrés par spamassassin avant de me
parvenir.

_______________________________________________
fvwm-crystal-users mailing list
fvwm-crystal-users@gna.org
https://mail.gna.org/listinfo/fvwm-crystal-users

Reply via email to