reassign 382517 fvwm
severity 382517 wishlist
quit

Hello Manoj,
as far as I understand this bug report (I am not the submitter):

fvwm knows about a environment variable FVWM_USERDIR which according to
the manpage:

FVWM_USERDIR
       Used to determine the user's  data  directory  for  reading  and
       sometimes  writing  personal  files.  If  this  variable  is not
       already set, it is set by fvwm  to  $HOME/.fvwm,  which  is  the
       default user's data directory.

So it seems a good idea to instruct fvwm's menu-method to generate
the menu in ${FVWM_USERDIR} instead of $HOME/.fvwm if this variable is set
(and update-menus is run by a user instead of root).

This can be achieved by editing /etc/menu-methods/fvwm to
say:

userprefix=shell("echo -n /${FVWM_USERDIR-.fvwm}")

Technical note: For historical reason, userprefix treat path starting
with 2 / as absolute and with 0 or one / as relative to $HOME. This
is why I added a / before the $

wmaker do someting similar.

Cheers,
Bill.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to