On Tue, Feb 20, 2007 at 07:04:41AM +0100, Werner LEMBERG wrote:
> 
> > >  2. Make a copy of the block beginning with
> > >     "GXditview.paned.viewport.dvi.translations",
> > >     change "GXditview.paned.viewport.dvi.translations" to
> > >     "GXditview.paned.translations", and edit the bindings
> > >     to your preferences (e.g., remove the <Btn1Down> entry
> > >     - you wouldn't want to pop up the menu while pressing a
> > >     mouse button in the scrollbar). Since the bindings are
> > >     hierarchical, you can even clean up the duplicates a bit.
> > >     Here's what I just changed mine to:
> > >
> > >       GXditview.paned.translations: #augment \
> > >               <Key>Next:      NextPage()\n\
> > >               <Key>n:         NextPage()\n\
> > >               <Key>space:     NextPage()\n\
> > >               <Key>Return:    NextPage()\n\
> > >               <Key>Prior:     PreviousPage()\n\
> > >               <Key>p:         PreviousPage()\n\
> > >               <Key>b:         PreviousPage()\n\
> > >               <Key>BackSpace: PreviousPage()\n\
> > >               <Key>Delete:    PreviousPage()\n\
> > >               <Key>g:         SelectPage()\n\
> > >               <Key>o:         OpenFile()\n\
> > >               <Key>r:         Rerasterize()\n\
> > >               <Key>q:         Quit()
> > >       GXditview.paned.viewport.dvi.translations: #augment \
> > >               <Btn1Down>:     XawPositionSimpleMenu(menu) MenuPopup(menu)
> > >       GXditview.paned.label.translations: #augment \
> > >               <Btn1Down>:     XawPositionSimpleMenu(menu) MenuPopup(menu)
> >
> > works perfect! (only I did not add this to .Xdefaults but rather
> > kept the whole stuff in a local copy `GXditview' of the defaults
> > file in my home dir which is honored by gxditview on startup).
> 
> Do you think I should add this by default to the `GXditview' file?
> 
> 
>     Werner

yes, definitely. 

joerg



Reply via email to