Re: User menu problem

1999-07-06 Thread Tadeusz Bak

On Mon, 5 Jul 1999, G. Crimp wrote:

   If you ran update-menus as root user, it won't look in ~/.menu for

I ran it as a normal user.

 update-menus or somewhere under /usr/doc/menu.  Why not put the entry in
 /etc/menu and run as root ?

Because StarOffice is personalized for each user, so the entry should be
visible only for registered users. There is a couple of accounts on that
machine.

   Of course, after running update-menus, you have restart fvwm2 to see

I restarted X and still no luck.

-- 
 Tad



Re: User menu problem

1999-07-06 Thread ktb
G. Crimp wrote:
 
 On Mon, Jul 05, 1999 at 01:52:05PM -0500, ktb wrote:
 
  You could edit
  /etc/X11/fvwm2/menudefs.hook
  directly.
  kent
 
 
 Bad idea.  /etc/X11/fvwm2/menudefs.hook is an automatically
 generated file.  Next time the file is regenerated, any changes you made to
 it will be lost.  The Debian menu system has supplied specific mechanisms
 for menu customization.  Why side step what was specifically provided for
 this purpose ?
 
 G.
 

None of the changes I have made have been lost even after a reboot and
it is easy.  Thanks for correcting me though since it isn't the proper
way of doing things.
kent


User menu problem

1999-07-05 Thread Tadeusz Bak

Hi all,

I have just installed StarOffice 5.1 in my Debian 2.1 system. I tried to
put an entry into the menu system (I use fvwm2 as a window manager). So I
created a file .menu/soffice in my home directory with the contents:

?package(local.soffice):needs=x11 section=Apps/Editors title=StarOffice \
   command=~/Office51/bin/soffice

and then I run update-menus command. Unfortunately there is no new entry
in the menu. What did I wrong? Thank you for any suggestions.

-- 
  Tad



Re: User menu problem

1999-07-05 Thread E.L. Meijer \(Eric\)
 
 
 Hi all,
 
 I have just installed StarOffice 5.1 in my Debian 2.1 system. I tried to
 put an entry into the menu system (I use fvwm2 as a window manager). So I
 created a file .menu/soffice in my home directory with the contents:
 
 ?package(local.soffice):needs=x11 section=Apps/Editors title=StarOffice \
command=~/Office51/bin/soffice
 
 and then I run update-menus command. Unfortunately there is no new entry
 in the menu. What did I wrong? Thank you for any suggestions.

You also have to restart the window manager.

HTH,
Eric

-- 
 E.L. Meijer ([EMAIL PROTECTED])
 Eindhoven Univ. of Technology
 Lab. for Catalysis and Inorg. Chem. (SKA)


Re: User menu problem

1999-07-05 Thread G. Crimp
On Mon, Jul 05, 1999 at 10:04:28AM +1000, Tadeusz Bak wrote:
 
 Hi all,
 
 I have just installed StarOffice 5.1 in my Debian 2.1 system. I tried to
 put an entry into the menu system (I use fvwm2 as a window manager). So I
 created a file .menu/soffice in my home directory with the contents:
 
 ?package(local.soffice):needs=x11 section=Apps/Editors title=StarOffice \
command=~/Office51/bin/soffice
 
 and then I run update-menus command. Unfortunately there is no new entry
 in the menu. What did I wrong? Thank you for any suggestions.
 

Assuming Deb 2.1 is like Deb 2.0 

If you ran update-menus as root user, it won't look in ~/.menu for
packages to add to the system.  You have to run it as the user in question. 
However, there is some problem running it as an ordinary user.  Can't
remember what it is.  I think you'll find the explanation in either man
update-menus or somewhere under /usr/doc/menu.  Why not put the entry in
/etc/menu and run as root ?

Of course, after running update-menus, you have restart fvwm2 to see
the changes in the menu system.

Gerald


Re: User menu problem

1999-07-05 Thread Brad
On Mon, 5 Jul 1999, E.L. Meijer (Eric) wrote:

  I have just installed StarOffice 5.1 in my Debian 2.1 system. I tried to
  put an entry into the menu system (I use fvwm2 as a window manager). So I
  created a file .menu/soffice in my home directory with the contents:
  
  ?package(local.soffice):needs=x11 section=Apps/Editors title=StarOffice \
 command=~/Office51/bin/soffice
  
  and then I run update-menus command. Unfortunately there is no new entry
  in the menu. What did I wrong? Thank you for any suggestions.

Did you run update-menus as root or as your user? As root, it only reads
the system-wide files. To use the .menu directory, you have to run it as
your user.

Also, why use ~ instead of /home/whoever?

 You also have to restart the window manager.

Maybe this depends on the window manager, but WindowMaker detects when the
menu has been updated. You get the new menu right away, without
restarting.


Re: User menu problem

1999-07-05 Thread ktb

You could edit 
/etc/X11/fvwm2/menudefs.hook 
directly.
kent



Tadeusz Bak wrote:
 
 Hi all,
 
 I have just installed StarOffice 5.1 in my Debian 2.1 system. I tried to
 put an entry into the menu system (I use fvwm2 as a window manager). So I
 created a file .menu/soffice in my home directory with the contents:
 
 ?package(local.soffice):needs=x11 section=Apps/Editors title=StarOffice \
command=~/Office51/bin/soffice
 
 and then I run update-menus command. Unfortunately there is no new entry
 in the menu. What did I wrong? Thank you for any suggestions.
 
 --
   Tad
 
 --
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: User menu problem

1999-07-05 Thread G. Crimp
On Mon, Jul 05, 1999 at 01:52:05PM -0500, ktb wrote:
 
 You could edit 
 /etc/X11/fvwm2/menudefs.hook 
 directly.
 kent
 

Bad idea.  /etc/X11/fvwm2/menudefs.hook is an automatically
generated file.  Next time the file is regenerated, any changes you made to
it will be lost.  The Debian menu system has supplied specific mechanisms
for menu customization.  Why side step what was specifically provided for
this purpose ?

G.


 
 
 Tadeusz Bak wrote:
  
  Hi all,
  
  I have just installed StarOffice 5.1 in my Debian 2.1 system. I tried to
  put an entry into the menu system (I use fvwm2 as a window manager). So I
  created a file .menu/soffice in my home directory with the contents:
  
  ?package(local.soffice):needs=x11 section=Apps/Editors title=StarOffice \
 command=~/Office51/bin/soffice
  
  and then I run update-menus command. Unfortunately there is no new entry
  in the menu. What did I wrong? Thank you for any suggestions.
  
  --
Tad
  
  --
  Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 


Re: User menu problem

1999-07-05 Thread Tadeusz Bak


On Mon, 5 Jul 1999, E.L. Meijer (Eric) wrote:

 You also have to restart the window manager.

I did. I even logout and then login the user. And still no luck :-(.

-- 
  Tad